Home
last modified time | relevance | path

Searched refs:oit (Results 1 – 2 of 2) sorted by relevance

/drivers/staging/lustre/lustre/llite/
Dxattr_cache.c268 struct lookup_intent *oit, in ll_xattr_find_get_lock() argument
276 .ei_mode = it_to_lock_mode(oit), in ll_xattr_find_get_lock()
292 oit->d.lustre.it_lock_handle = lockh.cookie; in ll_xattr_find_get_lock()
293 oit->d.lustre.it_lock_mode = mode; in ll_xattr_find_get_lock()
308 rc = md_enqueue(exp, &einfo, oit, op_data, &lockh, NULL, 0, NULL, 0); in ll_xattr_find_get_lock()
319 *req = (struct ptlrpc_request *)oit->d.lustre.it_data; in ll_xattr_find_get_lock()
338 static int ll_xattr_cache_refill(struct inode *inode, struct lookup_intent *oit) in ll_xattr_cache_refill() argument
348 rc = ll_xattr_find_get_lock(inode, oit, &req); in ll_xattr_cache_refill()
366 if (oit->d.lustre.it_status < 0) { in ll_xattr_cache_refill()
368 oit->d.lustre.it_status, PFID(ll_inode2fid(inode))); in ll_xattr_cache_refill()
[all …]
Dfile.c532 struct lookup_intent *it, oit = { .it_op = IT_OPEN, in ll_file_open() local
572 if ((oit.it_flags + 1) & O_ACCMODE) in ll_file_open()
573 oit.it_flags++; in ll_file_open()
575 oit.it_flags |= FMODE_WRITE; in ll_file_open()
581 if (oit.it_flags & (FMODE_WRITE | FMODE_READ)) in ll_file_open()
582 oit.it_flags |= MDS_OPEN_OWNEROVERRIDE; in ll_file_open()
586 oit.it_flags &= ~O_EXCL; in ll_file_open()
591 if (oit.it_flags & O_CREAT) in ll_file_open()
592 oit.it_op |= IT_CREAT; in ll_file_open()
594 it = &oit; in ll_file_open()
[all …]