Home
last modified time | relevance | path

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

/linux-4.1.27/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.h1015 if (it->it_op & IT_CREAT) in it_to_lock_mode()
1017 else if (it->it_op & (IT_READDIR | IT_GETATTR | IT_OPEN | IT_LOOKUP | in it_to_lock_mode()
1020 else if (it->it_op & IT_GETXATTR) in it_to_lock_mode()
1022 else if (it->it_op & IT_SETXATTR) in it_to_lock_mode()
1025 LASSERTF(0, "Invalid it_op: %d\n", it->it_op); in it_to_lock_mode()
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
Dmdc_locks.c310 if (it->it_op & IT_CREAT) in mdc_intent_open_pack()
348 lit->opc = (__u64)it->it_op; in mdc_intent_open_pack()
437 lit->opc = (__u64)it->it_op; in mdc_intent_unlink_pack()
482 lit->opc = (__u64)it->it_op; in mdc_intent_getattr_pack()
524 lit->opc = (__u64)it->it_op; in mdc_intent_layout_pack()
621 if (it->it_op & IT_OPEN && req->rq_replay && in mdc_finish_enqueue()
626 it->it_op, intent->it_disposition, intent->it_status); in mdc_finish_enqueue()
629 if (it->it_op & (IT_OPEN | IT_UNLINK | IT_LOOKUP | IT_GETATTR)) { in mdc_finish_enqueue()
677 if ((it->it_op & IT_OPEN) && req->rq_replay) { in mdc_finish_enqueue()
715 if (it->it_op & IT_OPEN) { in mdc_finish_enqueue()
[all …]
/linux-4.1.27/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.c1817 if (rc == 0 && it && it->it_op == IT_OPEN) { in lmv_enqueue()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Ddcache.c211 if (it->it_op && it->d.lustre.it_lock_mode) { in ll_intent_drop_lock()
301 if (it->it_op == IT_LOOKUP || it->it_op == IT_GETATTR) { in ll_lookup_finish_locks()
Dnamei.c466 .it_op = IT_GETATTR, in ll_lookup_it_finish()
482 struct lookup_intent lookup_it = { .it_op = IT_LOOKUP }; in ll_lookup_it()
500 if (it == NULL || it->it_op == IT_GETXATTR) in ll_lookup_it()
503 if (it->it_op == IT_GETATTR) { in ll_lookup_it()
514 if (it->it_op & IT_CREAT) in ll_lookup_it()
545 if ((it->it_op & IT_OPEN) && inode && in ll_lookup_it()
560 if (it->it_op == IT_GETATTR && (retval == NULL || retval == dentry)) in ll_lookup_it()
568 struct lookup_intent *itp, it = { .it_op = IT_GETATTR }; in ll_lookup_nd()
613 it->it_op = IT_OPEN; in ll_atomic_open()
615 it->it_op |= IT_CREAT; in ll_atomic_open()
Dxattr_cache.c494 struct lookup_intent oit = { .it_op = IT_GETXATTR }; in ll_xattr_cache_get()
Dfile.c534 struct lookup_intent *it, oit = { .it_op = IT_OPEN, in ll_file_open()
594 oit.it_op |= IT_CREAT; in ll_file_open()
748 struct lookup_intent it = { .it_op = IT_OPEN }; in ll_lease_open()
1349 struct lookup_intent oit = {.it_op = IT_OPEN, .it_flags = flags}; in ll_lov_setstripe_ea_info()
2915 struct lookup_intent oit = { .it_op = IT_GETATTR }; in __ll_inode_revalidate()
2919 oit.it_op = IT_LOOKUP; in __ll_inode_revalidate()
3568 it.it_op = IT_LAYOUT; in ll_layout_refresh()
Dstatahead.c831 minfo->mi_it.it_op = IT_GETATTR; in sa_args_init()
884 struct lookup_intent it = { .it_op = IT_GETATTR, in do_sa_revalidate()
1599 struct lookup_intent it = { .it_op = IT_GETATTR, in do_statahead_enter()
Dllite_internal.h70 #define LL_IT2STR(it) ((it) ? ldlm_it2str((it)->it_op) : "0")
Ddir.c364 struct lookup_intent it = { .it_op = IT_READDIR }; in ll_get_dir_page()