Home
last modified time | relevance | path

Searched refs:lu_fid (Results 1 – 47 of 47) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_fid.h167 extern const struct lu_fid LUSTRE_BFL_FID;
168 extern const struct lu_fid LU_OBF_FID;
169 extern const struct lu_fid LU_DOT_LUSTRE_FID;
238 static inline void lu_local_obj_fid(struct lu_fid *fid, __u32 oid) in lu_local_obj_fid()
245 static inline void lu_local_name_obj_fid(struct lu_fid *fid, __u32 oid) in lu_local_name_obj_fid()
255 static inline int fid_is_root(const struct lu_fid *fid) in fid_is_root()
261 static inline int fid_is_dot_lustre(const struct lu_fid *fid) in fid_is_dot_lustre()
267 static inline int fid_is_obf(const struct lu_fid *fid) in fid_is_obf()
273 static inline int fid_is_otable_it(const struct lu_fid *fid) in fid_is_otable_it()
279 static inline int fid_is_acct(const struct lu_fid *fid) in fid_is_acct()
[all …]
Dobd.h1030 struct lu_fid op_fid1; /* operation fid1 (usually parent) */
1031 struct lu_fid op_fid2; /* operation fid2 (usually child) */
1032 struct lu_fid op_fid3; /* 2 extra fids to find conflicting */
1033 struct lu_fid op_fid4; /* to the operation locks. */
1145 int (*o_fid_alloc)(struct obd_export *exp, struct lu_fid *fid,
1268 int (*m_getstatus)(struct obd_export *, struct lu_fid *,
1270 int (*m_null_inode)(struct obd_export *, const struct lu_fid *);
1271 int (*m_find_cbdata)(struct obd_export *, const struct lu_fid *,
1297 int (*m_is_subdir)(struct obd_export *, const struct lu_fid *,
1298 const struct lu_fid *,
[all …]
Dlu_object.h521 struct lu_fid loh_fid;
641 lu_site_bkt_from_fid(struct lu_site *site, struct lu_fid *fid) in lu_site_bkt_from_fid()
722 struct lu_device *dev, const struct lu_fid *f,
726 const struct lu_fid *f,
730 const struct lu_fid *f,
759 static inline const struct lu_fid *lu_object_fid(const struct lu_object *o) in lu_object_fid()
1324 const struct lu_fid *fid);
Ddt_object.h148 struct dt_device *dev, struct lu_fid *f);
819 const char *path, struct lu_fid *fid);
825 struct lu_fid *fid);
829 const struct lu_fid *fid,
835 const struct lu_fid *fid,
839 const struct lu_fid *fid) in dt_locate()
846 const struct lu_fid *first_fid,
852 struct lu_fid *fid);
870 const struct lu_fid *fid,
883 const struct lu_fid *fid,
[all …]
Dobd_class.h1022 struct lu_fid *fid, in obd_fid_alloc()
1472 struct lu_fid *fid, struct obd_capa **pc) in md_getstatus()
1494 const struct lu_fid *fid) in md_null_inode()
1505 const struct lu_fid *fid, in md_find_cbdata()
1626 const struct lu_fid *pfid, in md_is_subdir()
1627 const struct lu_fid *cfid, in md_is_subdir()
1652 static inline int md_sync(struct obd_export *exp, const struct lu_fid *fid, in md_sync()
1706 const struct lu_fid *fid, struct obd_capa *oc, in md_setxattr()
1720 const struct lu_fid *fid, struct obd_capa *oc, in md_getxattr()
1759 const struct lu_fid *fid, in md_cancel_unused()
[all …]
Dlclient.h384 __u64 cl_fid_build_ino(const struct lu_fid *fid, int api32);
385 __u32 cl_fid_build_gen(const struct lu_fid *fid);
Dlustre_log.h84 static inline void logid_to_fid(struct llog_logid *id, struct lu_fid *fid) in logid_to_fid()
98 static inline void fid_to_logid(struct lu_fid *fid, struct llog_logid *id) in fid_to_logid()
Dlustre_capa.h101 static inline struct lu_fid *capa_fid(struct lustre_capa *capa) in capa_fid()
Dlustre_lib.h94 struct lu_fid och_fid;
Dcl_object.h2359 struct lu_fid *fi_fid;
2736 const struct lu_fid *fid,
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
Dmdc_internal.h52 void mdc_pack_body(struct ptlrpc_request *req, const struct lu_fid *fid,
58 void mdc_is_subdir_pack(struct ptlrpc_request *req, const struct lu_fid *pfid,
59 const struct lu_fid *cfid, int flags);
63 const struct lu_fid *fid, struct obd_capa *oc);
87 int mdc_null_inode(struct obd_export *exp, const struct lu_fid *fid);
89 int mdc_find_cbdata(struct obd_export *exp, const struct lu_fid *fid,
104 int mdc_resource_get_unused(struct obd_export *exp, const struct lu_fid *fid,
108 int mdc_fid_alloc(struct obd_export *exp, struct lu_fid *fid,
146 int mdc_cancel_unused(struct obd_export *exp, const struct lu_fid *fid,
162 struct lu_fid *fid, __u64 *bits);
[all …]
Dmdc_lib.c73 void mdc_is_subdir_pack(struct ptlrpc_request *req, const struct lu_fid *pfid, in mdc_is_subdir_pack()
74 const struct lu_fid *cfid, int flags) in mdc_is_subdir_pack()
104 const struct lu_fid *fid, struct obd_capa *oc, in mdc_pack_body()
122 __u32 size, const struct lu_fid *fid, struct obd_capa *oc) in mdc_readdir_pack()
Dmdc_locks.c155 const struct lu_fid *fid, ldlm_type_t type, in mdc_lock_match()
171 const struct lu_fid *fid, in mdc_cancel_unused()
188 const struct lu_fid *fid) in mdc_null_inode()
215 const struct lu_fid *fid, in mdc_find_cbdata()
221 fid_build_reg_res_name((struct lu_fid *)fid, &res_id); in mdc_find_cbdata()
1068 struct lu_fid *fid, __u64 *bits) in mdc_revalidate_lock()
Dmdc_request.c105 static int send_getstatus(struct obd_import *imp, struct lu_fid *rootfid, in send_getstatus()
150 static int mdc_getstatus(struct obd_export *exp, struct lu_fid *rootfid, in mdc_getstatus()
308 const struct lu_fid *pfid, in mdc_is_subdir()
309 const struct lu_fid *cfid, in mdc_is_subdir()
335 const struct lu_fid *fid, in mdc_xattr_common()
444 static int mdc_setxattr(struct obd_export *exp, const struct lu_fid *fid, in mdc_setxattr()
455 static int mdc_getxattr(struct obd_export *exp, const struct lu_fid *fid, in mdc_getxattr()
2269 static int mdc_sync(struct obd_export *exp, const struct lu_fid *fid, in mdc_sync()
2353 int mdc_fid_alloc(struct obd_export *exp, struct lu_fid *fid, in mdc_fid_alloc()
2556 static int mdc_get_remote_perm(struct obd_export *exp, const struct lu_fid *fid, in mdc_get_remote_perm()
Dmdc_reint.c69 int mdc_resource_get_unused(struct obd_export *exp, const struct lu_fid *fid, in mdc_resource_get_unused()
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h340 static inline __u64 fid_seq(const struct lu_fid *fid) in fid_seq()
346 static inline __u32 fid_oid(const struct lu_fid *fid) in fid_oid()
352 static inline __u32 fid_ver(const struct lu_fid *fid) in fid_ver()
357 static inline void fid_zero(struct lu_fid *fid) in fid_zero()
362 static inline __u64 fid_ver_oid(const struct lu_fid *fid) in fid_ver_oid()
441 static inline int fid_is_echo(const struct lu_fid *fid) in fid_is_echo()
451 static inline int fid_is_llog(const struct lu_fid *fid) in fid_is_llog()
488 static inline int fid_is_mdt0(const struct lu_fid *fid) in fid_is_mdt0()
493 static inline void lu_root_fid(struct lu_fid *fid) in lu_root_fid()
510 static inline int fid_is_igif(const struct lu_fid *fid) in fid_is_igif()
[all …]
Dlustre_user.h107 struct lu_fid { struct
126 struct lu_fid ff_parent; /* ff_parent.f_ver == file stripe number */ argument
131 struct lu_fid ff_parent;
139 typedef struct lu_fid lustre_fid;
159 struct lu_fid lma_self_fid;
178 struct lu_fid oi_fid;
206 #define LL_IOC_RECREATE_FID _IOW ('f', 157, struct lu_fid)
222 #define LL_IOC_LLOOP_INFO _IOWR('f', 171, struct lu_fid)
379 struct lu_fid lum_fid;
920 struct lu_fid hssi_fid;
/linux-4.1.27/drivers/staging/lustre/lustre/lmv/
Dlmv_internal.h73 int lmv_fld_lookup(struct lmv_obd *lmv, const struct lu_fid *fid, u32 *mds);
74 int __lmv_fid_alloc(struct lmv_obd *lmv, struct lu_fid *fid, u32 mds);
75 int lmv_fid_alloc(struct obd_export *exp, struct lu_fid *fid,
108 sizeof(struct lu_fid); in lmv_get_easize()
129 lmv_find_target(struct lmv_obd *lmv, const struct lu_fid *fid) in lmv_find_target()
145 struct lu_fid *fid);
Dlmv_fld.c55 const struct lu_fid *fid, in lmv_fld_lookup()
Dlmv_obd.c537 lmv->desc.ld_tgt_count * sizeof(struct lu_fid); in lmv_add_target()
1250 int __lmv_fid_alloc(struct lmv_obd *lmv, struct lu_fid *fid, u32 mds) in __lmv_fid_alloc()
1284 int lmv_fid_alloc(struct obd_export *exp, struct lu_fid *fid, in lmv_fid_alloc()
1481 struct lu_fid *fid, in lmv_getstatus()
1496 static int lmv_getxattr(struct obd_export *exp, const struct lu_fid *fid, in lmv_getxattr()
1520 static int lmv_setxattr(struct obd_export *exp, const struct lu_fid *fid, in lmv_setxattr()
1572 static int lmv_null_inode(struct obd_export *exp, const struct lu_fid *fid) in lmv_null_inode()
1599 static int lmv_find_cbdata(struct obd_export *exp, const struct lu_fid *fid, in lmv_find_cbdata()
1653 struct lu_fid *fid) in lmv_locate_mds()
1740 struct lu_fid fid1; in lmv_enqueue_remote()
[all …]
Dlmv_intent.c56 const struct lu_fid *parent_fid, int flags, in lmv_intent_remote()
/linux-4.1.27/drivers/staging/lustre/lustre/fid/
Dfid_lib.c80 const struct lu_fid LUSTRE_BFL_FID = { .f_seq = FID_SEQ_SPECIAL,
86 const struct lu_fid LU_DOT_LUSTRE_FID = { .f_seq = FID_SEQ_DOT_LUSTRE,
92 const struct lu_fid LU_OBF_FID = { .f_seq = FID_SEQ_DOT_LUSTRE,
Dfid_request.c303 struct lu_client_seq *seq, struct lu_fid *fid) in seq_client_alloc_fid()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dllite_nfs.c82 (struct lu_fid *)opaque); in ll_nfs_test_inode()
86 const struct lu_fid *fid) in search_inode_for_lustre()
134 struct lu_fid lnf_child;
135 struct lu_fid lnf_parent;
139 ll_iget_for_nfs(struct super_block *sb, struct lu_fid *fid, struct lu_fid *parent) in ll_iget_for_nfs()
219 struct lu_fid fid; in ll_nfs_get_name_filldir()
Dllite_rmtacl.c182 static struct eacl_entry *ee_alloc(pid_t key, struct lu_fid *fid, int type, in ee_alloc()
212 struct lu_fid *fid, int type) in __et_search_del()
231 struct lu_fid *fid, int type) in et_search_del()
254 int ee_add(struct eacl_table *et, pid_t key, struct lu_fid *fid, int type, in ee_add()
Dllite_internal.h91 struct lu_fid lgd_fid; /* target fid we are looking for */
137 struct lu_fid lli_fid;
140 struct lu_fid lli_pfid;
475 struct lu_fid ll_root_fid; /* root object fid */
838 const struct lu_fid *fid);
1052 static inline struct lu_fid *ll_inode2fid(struct inode *inode) in ll_inode2fid()
1054 struct lu_fid *fid; in ll_inode2fid()
1123 struct lu_fid ee_fid;
1136 int ee_add(struct eacl_table *et, pid_t key, struct lu_fid *fid, int type,
1139 struct lu_fid *fid, int type);
Dlloop.c621 struct lu_fid fid; in lo_ioctl()
634 if (copy_to_user((struct lu_fid *)arg, &fid, sizeof(fid))) in lo_ioctl()
Ddir.c514 struct lu_fid fid; in ll_dir_read()
1433 sizeof(struct lu_fid)); in ll_dir_ioctl()
1761 sizeof(struct lu_fid))) in ll_dir_ioctl()
1809 const struct lu_fid *fid; in ll_dir_ioctl()
Dfile.c1330 struct lu_fid fid; in ll_lov_recreate_fid()
1337 if (copy_from_user(&fid, (struct lu_fid *)arg, sizeof(fid))) in ll_lov_recreate_fid()
2303 sizeof(struct lu_fid))) in ll_file_ioctl()
2826 struct lu_fid *fid; in ll_have_md_lock()
2865 struct lu_fid *fid; in ll_take_md_lock()
Dnamei.c863 static inline void ll_get_child_fid(struct dentry *child, struct lu_fid *fid) in ll_get_child_fid()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Ddt_object.c206 const char *name, struct lu_fid *fid) in dt_lookup_dir()
218 struct dt_device *dev, const struct lu_fid *fid, in dt_locate_at()
244 struct lu_fid *fid = dfh->dfh_fid; in dt_find_entry()
290 const char *path, struct lu_fid *fid) in dt_store_resolve()
327 struct lu_fid *fid) in dt_reg_open()
350 struct lu_fid *fid) in dt_store_open()
369 const struct lu_fid *fid, in dt_find_or_create()
567 .dif_keysize_min = sizeof(struct lu_fid),
568 .dif_keysize_max = sizeof(struct lu_fid),
Dlu_object.c75 const struct lu_fid *fid; in lu_object_put()
197 const struct lu_fid *f, in lu_object_alloc()
538 const struct lu_fid *f, in htable_lookup()
587 struct lu_device *dev, const struct lu_fid *f, in lu_object_find()
596 const struct lu_fid *f, in lu_object_new()
622 const struct lu_fid *f, in lu_object_find_try()
700 const struct lu_fid *f, in lu_object_find_at()
727 const struct lu_fid *f, in lu_object_find_slice()
887 struct lu_fid *fid = (struct lu_fid *)key; in lu_obj_hop_hash()
921 return lu_fid_eq(&h->loh_fid, (struct lu_fid *)key); in lu_obj_hop_keycmp()
[all …]
Dllog_internal.h55 struct lu_fid lgi_fid;
Dcapa.c136 static inline int capa_hashfn(struct lu_fid *fid) in capa_hashfn()
Dllog_swab.c62 void lustre_swab_lu_fid(struct lu_fid *fid) in lustre_swab_lu_fid()
Dobdo.c48 void obdo_set_parent_fid(struct obdo *dst, const struct lu_fid *parent) in obdo_set_parent_fid()
Dcl_object.c119 struct cl_device *cd, const struct lu_fid *fid, in cl_object_find()
Dcl_io.c239 static inline const struct lu_fid *
Dcl_lock.c2198 const struct lu_fid *fid; in cl_lock_descr_print()
/linux-4.1.27/drivers/staging/lustre/lustre/lclient/
Dglimpse.c91 const struct lu_fid *fid = lu_object_fid(&clob->co_lu); in cl_glimpse_lock()
Dlcommon_cl.c1095 struct lu_fid *fid; in cl_file_inode_init()
1247 __u64 cl_fid_build_ino(const struct lu_fid *fid, int api32) in cl_fid_build_ino()
1258 __u32 cl_fid_build_gen(const struct lu_fid *fid) in cl_fid_build_gen()
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_cl_internal.h444 struct lu_fid lti_fid;
Dlov_object.c114 const struct lu_fid *fid, in lov_sub_find()
207 struct lu_fid *ofid = &lti->lti_fid; in lov_init_raid0()
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c181 struct lu_fid eti_fid;
182 struct lu_fid eti_fid2;
941 struct lu_fid *fid; in cl_echo_object_find()
1866 struct lu_fid fid; in echo_client_iocontrol()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_resource.c410 struct lu_fid fid; in ldlm_res_hop_fid_hash()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dlayout.c1091 sizeof(struct lu_fid), lustre_swab_lu_fid, NULL);
Dpack_generic.c2248 lustre_swab_lu_fid((struct lu_fid *)&b->qb_id); in lustre_swab_quota_body()