Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_log.c152 xlog_assign_grant_head(&head->grant, 1, 0); in xlog_grant_head_init()
262 } while (xlog_space_left(log, &head->grant) < need_bytes); in xlog_grant_head_wait()
307 free_bytes = xlog_space_left(log, &head->grant); in xlog_grant_head_check()
410 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes); in xfs_log_regrant()
469 xlog_grant_add_space(log, &log->l_reserve_head.grant, need_bytes); in xfs_log_reserve()
470 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes); in xfs_log_reserve()
1121 free_bytes = xlog_space_left(log, &log->l_write_head.grant); in xfs_log_space_wake()
1130 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xfs_log_space_wake()
1668 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xlog_grant_push_threshold()
2010 xlog_grant_add_space(log, &log->l_reserve_head.grant, roundoff); in xlog_sync()
[all …]
Dxfs_sysfs.c358 xlog_crack_grant_head(&log->l_reserve_head.grant, &cycle, &bytes); in reserve_grant_head_show()
372 xlog_crack_grant_head(&log->l_write_head.grant, &cycle, &bytes); in write_grant_head_show()
Dxfs_log_priv.h386 atomic64_t grant; member
Dxfs_log_recover.c1223 xlog_assign_grant_head(&log->l_reserve_head.grant, log->l_curr_cycle, in xlog_set_state()
1225 xlog_assign_grant_head(&log->l_write_head.grant, log->l_curr_cycle, in xlog_set_state()
Dxfs_trace.h1246 xlog_crack_grant_head(&log->l_reserve_head.grant,
1249 xlog_crack_grant_head(&log->l_write_head.grant,
/fs/ceph/
Dcaps.c3291 struct ceph_mds_caps *grant, in handle_cap_grant() argument
3298 int seq = le32_to_cpu(grant->seq); in handle_cap_grant()
3299 int newcaps = le32_to_cpu(grant->caps); in handle_cap_grant()
3301 u64 size = le64_to_cpu(grant->size); in handle_cap_grant()
3302 u64 max_size = le64_to_cpu(grant->max_size); in handle_cap_grant()
3350 WARN_ON(cap->cap_id != le64_to_cpu(grant->cap_id)); in handle_cap_grant()
3365 umode_t mode = le32_to_cpu(grant->mode); in handle_cap_grant()
3372 inode->i_uid = make_kuid(&init_user_ns, le32_to_cpu(grant->uid)); in handle_cap_grant()
3373 inode->i_gid = make_kgid(&init_user_ns, le32_to_cpu(grant->gid)); in handle_cap_grant()
3382 set_nlink(inode, le32_to_cpu(grant->nlink)); in handle_cap_grant()
[all …]
/fs/ocfs2/dlm/
Ddlmconvert.c166 goto grant; in __dlmconvert_master()
187 grant: in __dlmconvert_master()