Lines Matching defs:option
10 * (at your option) any later version.
1281 static int get_option_ul(substring_t args[], unsigned long *option)
1289 rc = kstrtoul(string, 0, option);
1505 unsigned long option;
1704 * or per-smb connection option in the protocol
1710 pr_warn("Mount option noac not supported. Instead set /proc/fs/cifs/LookupCacheEnabled to 0\n");
1714 cifs_dbg(VFS, "FS-Cache support needs CONFIG_CIFS_FSCACHE kernel config option set\n");
1821 if (get_option_ul(args, &option)) {
1826 vol->file_mode = option;
1829 if (get_option_ul(args, &option)) {
1834 vol->dir_mode = option;
1837 if (get_option_ul(args, &option) ||
1838 option > USHRT_MAX) {
1843 port = (unsigned short)option;
1846 if (get_option_ul(args, &option)) {
1850 vol->min_offload = option;
1853 if (get_option_ul(args, &option)) {
1864 if ((option < CIFS_MAX_MSGSIZE) ||
1865 (option > (4 * SMB3_DEFAULT_IOSIZE))) {
1870 vol->bsize = option;
1873 if (get_option_ul(args, &option)) {
1878 vol->rsize = option;
1881 if (get_option_ul(args, &option)) {
1886 vol->wsize = option;
1889 if (get_option_ul(args, &option)) {
1894 vol->actimeo = HZ * option;
1901 if (get_option_ul(args, &option)) {
1906 vol->handle_timeout = option;
1913 if (get_option_ul(args, &option)) {
1918 vol->echo_interval = option;
1921 if (get_option_ul(args, &option)) {
1926 vol->snapshot_time = option;
1929 if (get_option_ul(args, &option) || (option < 20) ||
1930 (option > 60000)) {
1935 vol->max_credits = option;
1938 if (get_option_ul(args, &option) || option < 1 ||
1939 option > CIFS_MAX_CHANNELS) {
1944 vol->max_channels = option;
2017 /* Reached the end of the mount option
2051 pr_err("bad ip= option (%s)\n", string);
2209 * An option we don't recognize. Save it off for later
2222 pr_err("Unknown mount option \"%s\"\n", invalid);
2253 /* No ip= option specified? Try to get it from UNC */
2269 pr_notice("ignoring forceuid mount option specified with no uid= option\n");
2274 pr_notice("ignoring forcegid mount option specified with no gid= option\n");
3284 "Use SMB2 or later for snapshot mount option\n");
3294 "Use SMB2.1 or later for handle timeout option\n");
3392 "SMB2 or later required for nolease option\n");
3912 cifs_dbg(VFS, "Negotiating Unix capabilities with the server failed. Consider mounting with the Unix Extensions disabled if problems are found by specifying the nounix mount option.\n");
4028 cifs_dbg(VFS, "mount option dynperm ignored if cifsacl mount option supported\n");