Lines Matching refs:deny

6694     uint32_t access, uint32_t deny,
6751 * Calculate the new deny and access mode that this open is adding to
6754 open_d = (deny & ~sp->rs_open_deny);
6758 * Calculate the new share access and share deny modes that this open
6762 share_d = (deny & ~sp->rs_share_deny);
6768 * open owner on this file with the same share/deny modes.
6771 * check for conflicts in deny and access before checking for
6778 if ((err = rfs4_share(sp, access, deny)) != 0) {
6886 sp->rs_open_deny |= deny;
6892 fp->rf_share_deny |= deny;
7094 * check that the state access and deny modes are the same.
7421 * deny can be READ, WRITE, BOTH, or NONE.
7422 * bits not defined for access/deny are invalid.
7686 uint32_t deny = args->share_deny;
7774 * Check that the new access modes and deny modes are valid.
7778 (deny & ~(OPEN4_SHARE_DENY_READ | OPEN4_SHARE_DENY_WRITE))) {
7798 (deny & sp->rs_open_deny) != deny ||
7815 status = rfs4_share(sp, access, deny);
7827 * If the current mode has deny read and the new mode
7828 * does not, decrement the number of deny read mode bits
7829 * and if it goes to zero turn off the deny read bit
7833 (deny & OPEN4_SHARE_DENY_READ) == 0) {
7840 * If the current mode has deny write and the new mode
7841 * does not, decrement the number of deny write mode bits
7842 * and if it goes to zero turn off the deny write bit
7846 (deny & OPEN4_SHARE_DENY_WRITE) == 0) {
7887 /* now set the new open access and deny modes */
7889 sp->rs_open_deny = deny;
7893 * the open. it is possible that the downgrade was only for a deny
8448 * Decrement the count for each access and deny bit that this
9496 rfs4_share(rfs4_state_t *sp, uint32_t access, uint32_t deny)
9526 if (deny & OPEN4_SHARE_DENY_READ)
9528 if (deny & OPEN4_SHARE_DENY_WRITE)
9550 sp->rs_share_deny |= deny;