Lines Matching refs:deny

474 set_deny(u32 deny, struct nfs4_ol_stateid *stp)  in set_deny()  argument
476 unsigned char mask = 1 << deny; in set_deny()
478 WARN_ON_ONCE(deny > NFS4_SHARE_DENY_BOTH); in set_deny()
484 clear_deny(u32 deny, struct nfs4_ol_stateid *stp) in clear_deny() argument
486 unsigned char mask = 1 << deny; in clear_deny()
488 WARN_ON_ONCE(deny > NFS4_SHARE_DENY_BOTH); in clear_deny()
494 test_deny(u32 deny, struct nfs4_ol_stateid *stp) in test_deny() argument
496 unsigned char mask = 1 << deny; in test_deny()
800 static __be32 nfs4_file_check_deny(struct nfs4_file *fp, u32 deny) in nfs4_file_check_deny() argument
803 if (deny) { in nfs4_file_check_deny()
805 if (deny & ~NFS4_SHARE_DENY_BOTH) in nfs4_file_check_deny()
808 if ((deny & NFS4_SHARE_DENY_READ) && in nfs4_file_check_deny()
812 if ((deny & NFS4_SHARE_DENY_WRITE) && in nfs4_file_check_deny()
1442 reset_union_bmap_deny(u32 deny, struct nfs4_ol_stateid *stp) in reset_union_bmap_deny() argument
1448 if ((i & deny) != i) { in reset_union_bmap_deny()
2798 unsigned int access, deny; in nfs4_show_open() local
2809 deny = bmap_to_share_mode(ols->st_deny_bmap); in nfs4_show_open()
2815 deny & NFS4_SHARE_ACCESS_READ ? "r" : "-", in nfs4_show_open()
2816 deny & NFS4_SHARE_ACCESS_WRITE ? "w" : "-"); in nfs4_show_open()
7644 nfs4_set_lock_denied(struct file_lock *fl, struct nfsd4_lock_denied *deny) in nfs4_set_lock_denied() argument
7650 xdr_netobj_dup(&deny->ld_owner, &lo->lo_owner.so_owner, in nfs4_set_lock_denied()
7652 if (!deny->ld_owner.data) in nfs4_set_lock_denied()
7655 deny->ld_clientid = lo->lo_owner.so_client->cl_clientid; in nfs4_set_lock_denied()
7658 deny->ld_owner.len = 0; in nfs4_set_lock_denied()
7659 deny->ld_owner.data = NULL; in nfs4_set_lock_denied()
7660 deny->ld_clientid.cl_boot = 0; in nfs4_set_lock_denied()
7661 deny->ld_clientid.cl_id = 0; in nfs4_set_lock_denied()
7663 deny->ld_start = fl->fl_start; in nfs4_set_lock_denied()
7664 deny->ld_length = NFS4_MAX_UINT64; in nfs4_set_lock_denied()
7666 deny->ld_length = fl->fl_end - fl->fl_start + 1; in nfs4_set_lock_denied()
7667 deny->ld_type = NFS4_READ_LT; in nfs4_set_lock_denied()
7669 deny->ld_type = NFS4_WRITE_LT; in nfs4_set_lock_denied()
8155 struct nfsd4_lock_denied *deny = &lock->lk_denied; in nfsd4_lock_release() local
8157 kfree(deny->ld_owner.data); in nfsd4_lock_release()
8268 struct nfsd4_lock_denied *deny = &lockt->lt_denied; in nfsd4_lockt_release() local
8270 kfree(deny->ld_owner.data); in nfsd4_lockt_release()