Home
last modified time | relevance | path

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

/drivers/staging/lustre/lustre/mdc/
Dmdc_locks.c310 if (it->it_op & IT_CREAT) in mdc_intent_open_pack()
342 lit->opc = (__u64)it->it_op; in mdc_intent_open_pack()
426 lit->opc = (__u64)it->it_op; in mdc_intent_unlink_pack()
470 lit->opc = (__u64)it->it_op; in mdc_intent_getattr_pack()
512 lit->opc = (__u64)it->it_op; in mdc_intent_layout_pack()
609 if (it->it_op & IT_OPEN && req->rq_replay && in mdc_finish_enqueue()
614 it->it_op, intent->it_disposition, intent->it_status); in mdc_finish_enqueue()
617 if (it->it_op & (IT_OPEN | IT_UNLINK | IT_LOOKUP | IT_GETATTR)) { in mdc_finish_enqueue()
665 if ((it->it_op & IT_OPEN) && req->rq_replay) { in mdc_finish_enqueue()
696 } else if (it->it_op & IT_LAYOUT) { in mdc_finish_enqueue()
[all …]
/drivers/staging/lustre/lustre/include/
Dlustre_mdc.h84 if (it != NULL && (it->it_op == IT_GETATTR || it->it_op == IT_LOOKUP || in mdc_get_rpc_lock()
85 it->it_op == IT_LAYOUT)) in mdc_get_rpc_lock()
122 if (it != NULL && (it->it_op == IT_GETATTR || it->it_op == IT_LOOKUP || in mdc_put_rpc_lock()
123 it->it_op == IT_LAYOUT)) in mdc_put_rpc_lock()
Dlustre_intent.h54 int it_op; member
Dobd.h882 if (it->it_op & IT_CREAT) in it_to_lock_mode()
884 else if (it->it_op & (IT_READDIR | IT_GETATTR | IT_OPEN | IT_LOOKUP | in it_to_lock_mode()
887 else if (it->it_op & IT_GETXATTR) in it_to_lock_mode()
889 else if (it->it_op & IT_SETXATTR) in it_to_lock_mode()
892 LASSERTF(0, "Invalid it_op: %d\n", it->it_op); in it_to_lock_mode()
/drivers/staging/lustre/lustre/lmv/
Dlmv_intent.c81 if (it->it_op & IT_LOOKUP) in lmv_intent_remote()
82 it->it_op = IT_GETATTR; in lmv_intent_remote()
114 LASSERT(it->it_op & IT_OPEN); in lmv_intent_remote()
177 if ((it->it_op & IT_CREAT) && in lmv_intent_open()
312 if (it->it_op & (IT_LOOKUP | IT_GETATTR | IT_LAYOUT)) in lmv_intent_lock()
316 else if (it->it_op & IT_OPEN) in lmv_intent_lock()
Dlmv_internal.h49 ((it) ? ldlm_it2str((it)->it_op) : "0")
Dlmv_obd.c1775 if (rc == 0 && it && it->it_op == IT_OPEN) { in lmv_enqueue()
/drivers/staging/lustre/lustre/llite/
Dnamei.c465 .it_op = IT_GETATTR, in ll_lookup_it_finish()
476 if (rc != 0 && it->it_op & IT_OPEN) in ll_lookup_it_finish()
485 struct lookup_intent lookup_it = { .it_op = IT_LOOKUP }; in ll_lookup_it()
503 if (it == NULL || it->it_op == IT_GETXATTR) in ll_lookup_it()
506 if (it->it_op == IT_GETATTR) { in ll_lookup_it()
517 if (it->it_op & IT_CREAT) in ll_lookup_it()
548 if ((it->it_op & IT_OPEN) && inode && in ll_lookup_it()
563 if (it->it_op == IT_GETATTR && (retval == NULL || retval == dentry)) in ll_lookup_it()
571 struct lookup_intent *itp, it = { .it_op = IT_GETATTR }; in ll_lookup_nd()
616 it->it_op = IT_OPEN; in ll_atomic_open()
[all …]
Ddcache.c211 if (it->it_op && it->d.lustre.it_lock_mode) { in ll_intent_drop_lock()
300 if (it->it_op == IT_LOOKUP || it->it_op == IT_GETATTR) { in ll_lookup_finish_locks()
Dxattr_cache.c478 struct lookup_intent oit = { .it_op = IT_GETXATTR }; in ll_xattr_cache_get()
Dfile.c532 struct lookup_intent *it, oit = { .it_op = IT_OPEN, in ll_file_open()
592 oit.it_op |= IT_CREAT; in ll_file_open()
743 struct lookup_intent it = { .it_op = IT_OPEN }; in ll_lease_open()
1340 struct lookup_intent oit = {.it_op = IT_OPEN, .it_flags = flags}; in ll_lov_setstripe_ea_info()
2880 struct lookup_intent oit = { .it_op = IT_GETATTR }; in __ll_inode_revalidate()
2884 oit.it_op = IT_LOOKUP; in __ll_inode_revalidate()
3523 it.it_op = IT_LAYOUT; in ll_layout_refresh()
Dstatahead.c822 minfo->mi_it.it_op = IT_GETATTR; in sa_args_init()
868 struct lookup_intent it = { .it_op = IT_GETATTR, in do_sa_revalidate()
1579 struct lookup_intent it = { .it_op = IT_GETATTR, in do_statahead_enter()
Dllite_internal.h64 #define LL_IT2STR(it) ((it) ? ldlm_it2str((it)->it_op) : "0")
Ddir.c360 struct lookup_intent it = { .it_op = IT_READDIR }; in ll_get_dir_page()
Dllite_lib.c2016 if (rc != 0 && it && it->it_op & IT_OPEN) in ll_prep_inode()