Lines Matching refs:cfg
74 smb_kmod_setcfg(smb_kmod_cfg_t *cfg)
78 ioc.maxworkers = cfg->skc_maxworkers;
79 ioc.maxconnections = cfg->skc_maxconnections;
80 ioc.keepalive = cfg->skc_keepalive;
81 ioc.restrict_anon = cfg->skc_restrict_anon;
82 ioc.signing_enable = cfg->skc_signing_enable;
83 ioc.signing_required = cfg->skc_signing_required;
84 ioc.oplock_enable = cfg->skc_oplock_enable;
85 ioc.sync_enable = cfg->skc_sync_enable;
86 ioc.secmode = cfg->skc_secmode;
87 ioc.netbios_enable = cfg->skc_netbios_enable;
88 ioc.ipv6_enable = cfg->skc_ipv6_enable;
89 ioc.print_enable = cfg->skc_print_enable;
90 ioc.traverse_mounts = cfg->skc_traverse_mounts;
91 ioc.max_protocol = cfg->skc_max_protocol;
92 ioc.exec_flags = cfg->skc_execflags;
93 ioc.negtok_len = cfg->skc_negtok_len;
94 ioc.version = cfg->skc_version;
95 ioc.initial_credits = cfg->skc_initial_credits;
96 ioc.maximum_credits = cfg->skc_maximum_credits;
98 (void) memcpy(ioc.machine_uuid, cfg->skc_machine_uuid, sizeof (uuid_t));
99 (void) memcpy(ioc.negtok, cfg->skc_negtok, sizeof (ioc.negtok));
100 (void) memcpy(ioc.native_os, cfg->skc_native_os,
102 (void) memcpy(ioc.native_lm, cfg->skc_native_lm,
105 (void) strlcpy(ioc.nbdomain, cfg->skc_nbdomain, sizeof (ioc.nbdomain));
106 (void) strlcpy(ioc.fqdn, cfg->skc_fqdn, sizeof (ioc.fqdn));
107 (void) strlcpy(ioc.hostname, cfg->skc_hostname, sizeof (ioc.hostname));
108 (void) strlcpy(ioc.system_comment, cfg->skc_system_comment,