Lines Matching defs:mode
48 /* S-1-5-88 MS NFS and Apple style UID/GID/mode */
60 /* S-1-5-88-3 Unix mode */
559 change posix mode to reflect permissions
560 pmode is the existing mode (we only want to overwrite part of this
635 cifs_dbg(NOISY, "access flags 0x%x mode now %04o\n", flags, *pmode);
640 Generate access flags to reflect permissions mode is the existing mode.
645 static void mode_to_access_flags(umode_t mode, umode_t bits_to_use,
652 mode &= bits_to_use;
657 if (mode & S_IRUGO)
659 if (mode & S_IWUGO)
661 if (mode & S_IXUGO)
664 cifs_dbg(NOISY, "mode: %04o, access flags now 0x%x\n",
665 mode, *pace_flags);
885 * Fill in the special SID based on the mode. See
964 * We'll try to keep the mode as requested by the user.
966 * into ACL, return back the updated mode, so that it is
1251 /* Convert permission bits from mode to equivalent CIFS ACL */
1525 /* Translate the CIFS ACL (similar to NTFS ACL) for a file into mode bits */
1538 cifs_dbg(NOISY, "converting ACL to mode for %s\n", path);
1561 /* get approximated mode from ACL */
1573 /* Convert mode bits to an ACL so we can update the ACL on the server */
1597 cifs_dbg(NOISY, "set ACL from mode for %s\n", path);