• Home
  • Raw
  • Download

Lines Matching refs:deny

571 static __be32 nfs4_file_check_deny(struct nfs4_file *fp, u32 deny)  in nfs4_file_check_deny()  argument
574 if (deny) { in nfs4_file_check_deny()
576 if (deny & ~NFS4_SHARE_DENY_BOTH) in nfs4_file_check_deny()
579 if ((deny & NFS4_SHARE_DENY_READ) && in nfs4_file_check_deny()
583 if ((deny & NFS4_SHARE_DENY_WRITE) && in nfs4_file_check_deny()
1152 set_deny(u32 deny, struct nfs4_ol_stateid *stp) in set_deny() argument
1154 unsigned char mask = 1 << deny; in set_deny()
1156 WARN_ON_ONCE(deny > NFS4_SHARE_DENY_BOTH); in set_deny()
1162 clear_deny(u32 deny, struct nfs4_ol_stateid *stp) in clear_deny() argument
1164 unsigned char mask = 1 << deny; in clear_deny()
1166 WARN_ON_ONCE(deny > NFS4_SHARE_DENY_BOTH); in clear_deny()
1172 test_deny(u32 deny, struct nfs4_ol_stateid *stp) in test_deny() argument
1174 unsigned char mask = 1 << deny; in test_deny()
1210 reset_union_bmap_deny(u32 deny, struct nfs4_ol_stateid *stp) in reset_union_bmap_deny() argument
1216 if ((i & deny) != i) { in reset_union_bmap_deny()
2371 unsigned int access, deny; in nfs4_show_open() local
2383 deny = bmap_to_share_mode(ols->st_deny_bmap); in nfs4_show_open()
2389 deny & NFS4_SHARE_ACCESS_READ ? "r" : "-", in nfs4_show_open()
2390 deny & NFS4_SHARE_ACCESS_WRITE ? "w" : "-"); in nfs4_show_open()
6140 nfs4_set_lock_denied(struct file_lock *fl, struct nfsd4_lock_denied *deny) in nfs4_set_lock_denied() argument
6146 xdr_netobj_dup(&deny->ld_owner, &lo->lo_owner.so_owner, in nfs4_set_lock_denied()
6148 if (!deny->ld_owner.data) in nfs4_set_lock_denied()
6151 deny->ld_clientid = lo->lo_owner.so_client->cl_clientid; in nfs4_set_lock_denied()
6154 deny->ld_owner.len = 0; in nfs4_set_lock_denied()
6155 deny->ld_owner.data = NULL; in nfs4_set_lock_denied()
6156 deny->ld_clientid.cl_boot = 0; in nfs4_set_lock_denied()
6157 deny->ld_clientid.cl_id = 0; in nfs4_set_lock_denied()
6159 deny->ld_start = fl->fl_start; in nfs4_set_lock_denied()
6160 deny->ld_length = NFS4_MAX_UINT64; in nfs4_set_lock_denied()
6162 deny->ld_length = fl->fl_end - fl->fl_start + 1; in nfs4_set_lock_denied()
6163 deny->ld_type = NFS4_READ_LT; in nfs4_set_lock_denied()
6165 deny->ld_type = NFS4_WRITE_LT; in nfs4_set_lock_denied()