Whamcloud - gitweb
merge b_devel into HEAD, which will become 0.7.3
[fs/lustre-release.git] / lustre / lov / lov_internal.h
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  *
4  * Copyright (C) 2003 Cluster File Systems, Inc.
5  *
6  * This code is issued under the GNU General Public License.
7  * See the file COPYING in this distribution
8  */
9
10 /* lov_obd.c */
11 int lov_get_stripecnt(struct lov_obd *lov, int stripe_count);
12 int lov_alloc_memmd(struct lov_stripe_md **lsmp, int stripe_count);
13 void lov_free_memmd(struct lov_stripe_md **lsmp);
14
15 /* lov_pack.c */
16 int lov_packmd(struct lustre_handle *conn, struct lov_mds_md **lmm,
17                struct lov_stripe_md *lsm);
18 int lov_unpackmd(struct lustre_handle *conn, struct lov_stripe_md **lsm,
19                  struct lov_mds_md *lmm, int lmmsize);
20 int lov_setstripe(struct lustre_handle *conn,
21                   struct lov_stripe_md **lsmp, struct lov_mds_md *lmmu);
22 int lov_getstripe(struct lustre_handle *conn,
23                   struct lov_stripe_md *lsm, struct lov_mds_md *lmmu);
24
25 /* lproc_lov.c */
26 extern struct file_operations lov_proc_target_fops;