Lines Matching refs:deny

420 set_deny(u32 deny, struct nfs4_ol_stateid *stp)  in set_deny()  argument
422 unsigned char mask = 1 << deny; in set_deny()
424 WARN_ON_ONCE(deny > NFS4_SHARE_DENY_BOTH); in set_deny()
430 clear_deny(u32 deny, struct nfs4_ol_stateid *stp) in clear_deny() argument
432 unsigned char mask = 1 << deny; in clear_deny()
434 WARN_ON_ONCE(deny > NFS4_SHARE_DENY_BOTH); in clear_deny()
440 test_deny(u32 deny, struct nfs4_ol_stateid *stp) in test_deny() argument
442 unsigned char mask = 1 << deny; in test_deny()
703 static __be32 nfs4_file_check_deny(struct nfs4_file *fp, u32 deny) in nfs4_file_check_deny() argument
706 if (deny) { in nfs4_file_check_deny()
708 if (deny & ~NFS4_SHARE_DENY_BOTH) in nfs4_file_check_deny()
711 if ((deny & NFS4_SHARE_DENY_READ) && in nfs4_file_check_deny()
715 if ((deny & NFS4_SHARE_DENY_WRITE) && in nfs4_file_check_deny()
1294 reset_union_bmap_deny(u32 deny, struct nfs4_ol_stateid *stp) in reset_union_bmap_deny() argument
1300 if ((i & deny) != i) { in reset_union_bmap_deny()
2495 unsigned int access, deny; in nfs4_show_open() local
2511 deny = bmap_to_share_mode(ols->st_deny_bmap); in nfs4_show_open()
2517 deny & NFS4_SHARE_ACCESS_READ ? "r" : "-", in nfs4_show_open()
2518 deny & NFS4_SHARE_ACCESS_WRITE ? "w" : "-"); in nfs4_show_open()
6554 nfs4_set_lock_denied(struct file_lock *fl, struct nfsd4_lock_denied *deny) in nfs4_set_lock_denied() argument
6560 xdr_netobj_dup(&deny->ld_owner, &lo->lo_owner.so_owner, in nfs4_set_lock_denied()
6562 if (!deny->ld_owner.data) in nfs4_set_lock_denied()
6565 deny->ld_clientid = lo->lo_owner.so_client->cl_clientid; in nfs4_set_lock_denied()
6568 deny->ld_owner.len = 0; in nfs4_set_lock_denied()
6569 deny->ld_owner.data = NULL; in nfs4_set_lock_denied()
6570 deny->ld_clientid.cl_boot = 0; in nfs4_set_lock_denied()
6571 deny->ld_clientid.cl_id = 0; in nfs4_set_lock_denied()
6573 deny->ld_start = fl->fl_start; in nfs4_set_lock_denied()
6574 deny->ld_length = NFS4_MAX_UINT64; in nfs4_set_lock_denied()
6576 deny->ld_length = fl->fl_end - fl->fl_start + 1; in nfs4_set_lock_denied()
6577 deny->ld_type = NFS4_READ_LT; in nfs4_set_lock_denied()
6579 deny->ld_type = NFS4_WRITE_LT; in nfs4_set_lock_denied()