Lines Matching defs:mode
55 /* S-1-5-88 MS NFS and Apple style UID/GID/mode */
67 /* S-1-5-88-3 Unix mode */
555 change posix mode to reflect permissions
556 pmode is the existing mode (we only want to overwrite part of this
606 cifs_dbg(NOISY, "access flags 0x%x mode now %04o\n", flags, *pmode);
611 Generate access flags to reflect permissions mode is the existing mode.
616 static void mode_to_access_flags(umode_t mode, umode_t bits_to_use,
623 mode &= bits_to_use;
628 if (mode & S_IRUGO)
630 if (mode & S_IWUGO)
632 if (mode & S_IXUGO)
635 cifs_dbg(NOISY, "mode: %04o, access flags now 0x%x\n",
636 mode, *pace_flags);
828 * Fill in the special SID based on the mode. See
1001 /* Convert permission bits from mode to equivalent CIFS ACL */
1236 /* Translate the CIFS ACL (similar to NTFS ACL) for a file into mode bits */
1248 cifs_dbg(NOISY, "converting ACL to mode for %s\n", path);
1271 /* get approximated mode from ACL */
1283 /* Convert mode bits to an ACL so we can update the ACL on the server */
1303 cifs_dbg(NOISY, "set ACL from mode for %s\n", path);