Home
last modified time | relevance | path

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

/fs/ceph/
Dcaps.c2304 static void handle_cap_grant(struct inode *inode, struct ceph_mds_caps *grant, in handle_cap_grant() argument
2312 int seq = le32_to_cpu(grant->seq); in handle_cap_grant()
2313 int newcaps = le32_to_cpu(grant->caps); in handle_cap_grant()
2315 u64 size = le64_to_cpu(grant->size); in handle_cap_grant()
2316 u64 max_size = le64_to_cpu(grant->max_size); in handle_cap_grant()
2359 inode->i_mode = le32_to_cpu(grant->mode); in handle_cap_grant()
2360 inode->i_uid = le32_to_cpu(grant->uid); in handle_cap_grant()
2361 inode->i_gid = le32_to_cpu(grant->gid); in handle_cap_grant()
2367 set_nlink(inode, le32_to_cpu(grant->nlink)); in handle_cap_grant()
2369 if ((issued & CEPH_CAP_XATTR_EXCL) == 0 && grant->xattr_len) { in handle_cap_grant()
[all …]
/fs/xfs/
Dxfs_log.c152 xlog_assign_grant_head(&head->grant, 1, 0); in xlog_grant_head_init()
234 } while (xlog_space_left(log, &head->grant) < need_bytes); in xlog_grant_head_wait()
279 free_bytes = xlog_space_left(log, &head->grant); in xlog_grant_head_check()
361 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes); in xfs_log_regrant()
425 xlog_grant_add_space(log, &log->l_reserve_head.grant, need_bytes); in xfs_log_reserve()
426 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes); in xfs_log_reserve()
854 free_bytes = xlog_space_left(log, &log->l_write_head.grant); in xfs_log_space_wake()
863 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xfs_log_space_wake()
1318 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xlog_grant_push_ail()
1450 xlog_grant_add_space(log, &log->l_reserve_head.grant, roundoff); in xlog_sync()
[all …]
Dxfs_log_priv.h479 atomic64_t grant; member
Dxfs_trace.h797 xlog_crack_grant_head(&log->l_reserve_head.grant,
800 xlog_crack_grant_head(&log->l_write_head.grant,
Dxfs_log_recover.c968 xlog_assign_grant_head(&log->l_reserve_head.grant, log->l_curr_cycle, in xlog_find_tail()
970 xlog_assign_grant_head(&log->l_write_head.grant, log->l_curr_cycle, in xlog_find_tail()
/fs/ocfs2/dlm/
Ddlmconvert.c184 goto grant; in __dlmconvert_master()
207 grant: in __dlmconvert_master()
/fs/cifs/
DREADME566 could grant fcntl leases if no other local processes are using