Searched refs:orangefs_inode (Results 1 – 5 of 5) sorted by relevance
/fs/orangefs/ |
D | orangefs-utils.c | 142 struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); in copy_attributes_from_inode() local 144 if (orangefs_inode->attr_valid & ATTR_UID) { in copy_attributes_from_inode() 149 if (orangefs_inode->attr_valid & ATTR_GID) { in copy_attributes_from_inode() 155 if (orangefs_inode->attr_valid & ATTR_ATIME) { in copy_attributes_from_inode() 157 if (orangefs_inode->attr_valid & ATTR_ATIME_SET) { in copy_attributes_from_inode() 162 if (orangefs_inode->attr_valid & ATTR_MTIME) { in copy_attributes_from_inode() 164 if (orangefs_inode->attr_valid & ATTR_MTIME_SET) { in copy_attributes_from_inode() 169 if (orangefs_inode->attr_valid & ATTR_CTIME) in copy_attributes_from_inode() 178 if (orangefs_inode->attr_valid & ATTR_MODE) { in copy_attributes_from_inode() 218 struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); in orangefs_inode_is_stale() local [all …]
|
D | xattr.c | 65 struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); in find_cached_xattr() local 69 h = &orangefs_inode->xattr_cache[xattr_key(key)]; in find_cached_xattr() 96 struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); in orangefs_inode_getxattr() local 125 down_read(&orangefs_inode->xattr_sem); in orangefs_inode_getxattr() 152 new_op->upcall.req.getxattr.refn = orangefs_inode->refn; in orangefs_inode_getxattr() 178 hash_add(orangefs_inode->xattr_cache, &cx->node, in orangefs_inode_getxattr() 232 hash_add(orangefs_inode->xattr_cache, &cx->node, in orangefs_inode_getxattr() 240 up_read(&orangefs_inode->xattr_sem); in orangefs_inode_getxattr() 247 struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); in orangefs_inode_removexattr() local 257 down_write(&orangefs_inode->xattr_sem); in orangefs_inode_removexattr() [all …]
|
D | super.c | 99 struct orangefs_inode_s *orangefs_inode = req; in orangefs_inode_cache_ctor() local 101 inode_init_once(&orangefs_inode->vfs_inode); in orangefs_inode_cache_ctor() 102 init_rwsem(&orangefs_inode->xattr_sem); in orangefs_inode_cache_ctor() 107 struct orangefs_inode_s *orangefs_inode; in orangefs_alloc_inode() local 109 orangefs_inode = kmem_cache_alloc(orangefs_inode_cache, GFP_KERNEL); in orangefs_alloc_inode() 110 if (!orangefs_inode) in orangefs_alloc_inode() 117 memset(&orangefs_inode->refn.khandle, 0, 16); in orangefs_alloc_inode() 118 orangefs_inode->refn.fs_id = ORANGEFS_FS_ID_NULL; in orangefs_alloc_inode() 119 orangefs_inode->last_failed_block_index_read = 0; in orangefs_alloc_inode() 120 memset(orangefs_inode->link_target, 0, sizeof(orangefs_inode->link_target)); in orangefs_alloc_inode() [all …]
|
D | file.c | 21 struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); in flush_racache() local 27 get_khandle_from_ino(inode), &orangefs_inode->refn.khandle, in flush_racache() 28 orangefs_inode->refn.fs_id); in flush_racache() 33 new_op->upcall.req.ra_cache_flush.refn = orangefs_inode->refn; in flush_racache() 52 struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); in wait_for_direct_io() local 53 struct orangefs_khandle *handle = &orangefs_inode->refn.khandle; in wait_for_direct_io() 66 new_op->upcall.req.io.refn = orangefs_inode->refn; in wait_for_direct_io() 271 struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); in orangefs_revalidate_mapping() local 273 unsigned long *bitlock = &orangefs_inode->bitlock; in orangefs_revalidate_mapping() 285 if (!time_before(jiffies, orangefs_inode->mapping_time)) in orangefs_revalidate_mapping() [all …]
|
D | inode.c | 578 struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); in orangefs_direct_IO() local 579 struct orangefs_khandle *handle = &orangefs_inode->refn.khandle; in orangefs_direct_IO() 696 struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); in orangefs_page_mkwrite() local 697 unsigned long *bitlock = &orangefs_inode->bitlock; in orangefs_page_mkwrite() 770 struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); in orangefs_setattr_size() local 779 &orangefs_inode->refn.khandle, in orangefs_setattr_size() 780 orangefs_inode->refn.fs_id, in orangefs_setattr_size() 804 new_op->upcall.req.truncate.refn = orangefs_inode->refn; in orangefs_setattr_size() 1045 struct orangefs_inode_s *orangefs_inode = NULL; in orangefs_test_inode() local 1047 orangefs_inode = ORANGEFS_I(inode); in orangefs_test_inode() [all …]
|