Home
last modified time | relevance | path

Searched refs:och (Results 1 – 7 of 7) sorted by relevance

/drivers/staging/lustre/lustre/llite/
Dllite_close.c139 struct obd_client_handle **och, unsigned long flags) in ll_ioepoch_close() argument
147 LASSERT(*och != NULL); in ll_ioepoch_close()
152 lli->lli_pending_och = *och; in ll_ioepoch_close()
179 *och = lli->lli_pending_och; in ll_ioepoch_close()
265 struct obd_client_handle **och) in ll_prepare_done_writing() argument
267 ll_ioepoch_close(inode, op_data, och, LLIF_DONE_WRITING); in ll_prepare_done_writing()
269 if (*och == NULL) in ll_prepare_done_writing()
272 ll_pack_inode2opdata(inode, op_data, &(*och)->och_fh); in ll_prepare_done_writing()
280 struct obd_client_handle *och = NULL; in ll_done_writing() local
290 ll_prepare_done_writing(inode, op_data, &och); in ll_done_writing()
[all …]
Dfile.c56 static int ll_lease_close(struct obd_client_handle *och, struct inode *inode,
105 struct obd_client_handle *och) in ll_prepare_close() argument
111 if (!(och->och_flags & FMODE_WRITE)) in ll_prepare_close()
117 ll_ioepoch_close(inode, op_data, &och, 0); in ll_prepare_close()
120 ll_pack_inode2opdata(inode, op_data, &och->och_fh); in ll_prepare_close()
127 struct obd_client_handle *och, in ll_close_inode_openhandle() argument
155 ll_prepare_close(inode, op_data, och); in ll_close_inode_openhandle()
160 op_data->op_lease_handle = och->och_lease_handle; in ll_close_inode_openhandle()
164 rc = md_close(md_exp, op_data, och->och_mod, &req); in ll_close_inode_openhandle()
209 S_ISREG(inode->i_mode) && (och->och_flags & FMODE_WRITE)) { in ll_close_inode_openhandle()
[all …]
Dllite_internal.h720 struct obd_client_handle **och, unsigned long flags);
/drivers/staging/lustre/lustre/mdc/
Dmdc_internal.h114 struct obd_client_handle *och,
118 struct obd_client_handle *och);
Dmdc_request.c589 struct obd_client_handle *och; in mdc_replay_open() local
602 och = mod->mod_och; in mdc_replay_open()
603 if (och != NULL) { in mdc_replay_open()
606 LASSERT(och->och_magic == OBD_CLIENT_HANDLE_MAGIC); in mdc_replay_open()
608 file_fh = &och->och_fh; in mdc_replay_open()
624 if (och != NULL) in mdc_replay_open()
661 struct obd_client_handle *och, in mdc_set_open_replay_data() argument
681 if (och && imp->imp_replayable) { in mdc_set_open_replay_data()
699 och->och_mod = mod; in mdc_set_open_replay_data()
700 mod->mod_och = och; in mdc_set_open_replay_data()
[all …]
/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c2577 struct obd_client_handle *och, in lmv_set_open_replay_data() argument
2584 tgt = lmv_find_target(lmv, &och->och_fid); in lmv_set_open_replay_data()
2588 return md_set_open_replay_data(tgt->ltd_exp, och, it); in lmv_set_open_replay_data()
2592 struct obd_client_handle *och) in lmv_clear_open_replay_data() argument
2598 tgt = lmv_find_target(lmv, &och->och_fid); in lmv_clear_open_replay_data()
2602 return md_clear_open_replay_data(tgt->ltd_exp, och); in lmv_clear_open_replay_data()
/drivers/staging/lustre/lustre/include/
Dobd_class.h1633 struct obd_client_handle *och, in md_set_open_replay_data() argument
1638 return MDP(exp->exp_obd, set_open_replay_data)(exp, och, it); in md_set_open_replay_data()
1642 struct obd_client_handle *och) in md_clear_open_replay_data() argument
1646 return MDP(exp->exp_obd, clear_open_replay_data)(exp, och); in md_clear_open_replay_data()