Home
last modified time | relevance | path

Searched refs:fid1 (Results 1 – 15 of 15) sorted by relevance

/drivers/staging/lustre/lustre/include/
Dlustre_fid.h717 static inline int lu_fid_diff(struct lu_fid *fid1, struct lu_fid *fid2) in lu_fid_diff() argument
719 LASSERTF(fid_seq(fid1) == fid_seq(fid2), "fid1:"DFID", fid2:"DFID"\n", in lu_fid_diff()
720 PFID(fid1), PFID(fid2)); in lu_fid_diff()
722 if (fid_is_idif(fid1) && fid_is_idif(fid2)) in lu_fid_diff()
723 return fid_idif_id(fid1->f_seq, fid1->f_oid, fid1->f_ver) - in lu_fid_diff()
726 return fid_oid(fid1) - fid_oid(fid2); in lu_fid_diff()
/drivers/staging/lustre/lustre/lmv/
Dlmv_intent.c94 LASSERT(fid_is_sane(&body->fid1)); in lmv_intent_remote()
96 tgt = lmv_find_target(lmv, &body->fid1); in lmv_intent_remote()
108 op_data->op_fid1 = body->fid1; in lmv_intent_remote()
118 op_data->op_fid3 = body->fid1; in lmv_intent_remote()
123 PFID(&body->fid1), tgt->ltd_idx); in lmv_intent_remote()
Dlmv_obd.c1744 struct lu_fid fid1; in lmv_enqueue_remote() local
1756 LL_IT2STR(it), PFID(&op_data->op_fid1), PFID(&body->fid1)); in lmv_enqueue_remote()
1766 fid1 = body->fid1; in lmv_enqueue_remote()
1770 tgt = lmv_find_target(lmv, &fid1); in lmv_enqueue_remote()
1782 rdata->op_fid1 = fid1; in lmv_enqueue_remote()
1860 struct lu_fid rid = body->fid1; in lmv_getattr_name()
2282 exp->exp_obd->obd_name, PFID(&body->fid1)); in lmv_unlink()
2303 op_data->op_fid2 = body->fid1; in lmv_unlink()
/drivers/staging/lustre/lustre/mdc/
Dmdc_lib.c80 b->fid1 = *pfid; in mdc_is_subdir_pack()
95 b->fid1 = op_data->op_fid1; in mdc_swap_layouts_pack()
115 b->fid1 = *fid; in mdc_pack_body()
126 b->fid1 = *fid; in mdc_readdir_pack()
485 b->fid1 = op_data->op_fid1; in mdc_getattr_pack()
Dmdc_locks.c995 if ((!lu_fid_eq(&op_data->op_fid2, &mdt_body->fid1)) && in mdc_finish_intent_lock()
996 (!lu_fid_eq(&op_data->op_fid3, &mdt_body->fid1))) { in mdc_finish_intent_lock()
999 PFID(&op_data->op_fid2), PFID(&mdt_body->fid1)); in mdc_finish_intent_lock()
1045 LASSERTF(fid_res_name_eq(&mdt_body->fid1, in mdc_finish_intent_lock()
1048 PLDLMRES(lock->l_resource), PFID(&mdt_body->fid1)); in mdc_finish_intent_lock()
Dmdc_request.c139 *rootfid = body->fid1; in send_getstatus()
788 rec->cr_fid2 = body->fid1; in mdc_set_open_replay_data()
792 if (!fid_is_sane(&body->fid1)) { in mdc_set_open_replay_data()
/drivers/staging/lustre/lustre/llite/
Dllite_nfs.c319 PFID(ll_inode2fid(dir)), PFID(&body->fid1)); in ll_get_parent()
321 result = ll_iget_for_nfs(dir->i_sb, &body->fid1, NULL); in ll_get_parent()
Dllite_lib.c1708 inode->i_ino = cl_fid_build_ino(&body->fid1, in ll_update_inode()
1710 inode->i_generation = cl_fid_build_gen(&body->fid1); in ll_update_inode()
1755 LASSERTF(lu_fid_eq(&lli->lli_fid, &body->fid1), in ll_update_inode()
1758 PFID(&lli->lli_fid), PFID(&body->fid1), in ll_update_inode()
1761 lli->lli_fid = body->fid1; in ll_update_inode()
2106 LASSERT(fid_is_sane(&md.body->fid1)); in ll_prep_inode()
2108 *inode = ll_iget(sb, cl_fid_build_ino(&md.body->fid1, in ll_prep_inode()
Dnamei.c89 if (!lu_fid_eq(&lli->lli_fid, &md->body->fid1)) in ll_test_inode()
105 lli->lli_fid = body->fid1; in ll_set_inode()
159 inode, PFID(&md->body->fid1)); in ll_iget()
Dstatahead.c663 if (unlikely(!lu_fid_eq(&minfo->mi_data.op_fid2, &body->fid1))){ in ll_post_statahead()
Dfile.c493 och->och_fid = body->fid1; in ll_och_fill()
/drivers/media/platform/ti-vpe/
Dvpdma_priv.h585 static inline u32 ctd_set_fid_ctl(int fid0, int fid1, int fid2) in ctd_set_fid_ctl() argument
587 return (fid2 << CTD_FID2_SHFT) | (fid1 << CTD_FID1_SHFT) | fid0; in ctd_set_fid_ctl()
/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c1844 LASSERTF((int)offsetof(struct mdt_body, fid1) == 0, "found %lld\n", in lustre_assert_wire_constants()
1845 (long long)(int)offsetof(struct mdt_body, fid1)); in lustre_assert_wire_constants()
1846 LASSERTF((int)sizeof(((struct mdt_body *)0)->fid1) == 16, "found %lld\n", in lustre_assert_wire_constants()
1847 (long long)(int)sizeof(((struct mdt_body *)0)->fid1)); in lustre_assert_wire_constants()
Dpack_generic.c1859 lustre_swab_lu_fid(&b->fid1); in lustre_swab_mdt_body()
/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h2190 struct lu_fid fid1; member