Searched refs:proto_options (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/libshare/autofs/ |
H A D | libshare_autofs.c | 121 } proto_options[] = { variable 153 #define AUTOFS_PROP_MAX (sizeof (proto_options) / sizeof (proto_options[0])) 161 for (i = 0; proto_options[i].tag != NULL; i++) { in add_defaults() 164 proto_options[i].name); in add_defaults() 167 switch (proto_options[i].type) { in add_defaults() 170 proto_options[i].defvalue.intval); in add_defaults() 171 prop = sa_create_property(proto_options[i].name, in add_defaults() 176 prop = sa_create_property(proto_options[i].name, in add_defaults() 177 proto_options[i].defvalue.intval ? in add_defaults() 183 prop = sa_create_property(proto_options[i].name, in add_defaults() [all …]
|
/illumos-gate/usr/src/lib/libshare/nfs/ |
H A D | libshare_nfs.c | 2446 } proto_options[] = { variable 2685 if (index >= ARRAY_SIZE(proto_options)) in range_check_validator_value() 2688 VERIFY3S(proto_options[index].index, ==, index); in range_check_validator_value() 2693 val = strtonumx(value, proto_options[index].minval, in range_check_validator_value() 2694 proto_options[index].maxval, &errstr, 0); in range_check_validator_value() 2697 "bad option value: %s: %s\n"), proto_options[index].name, in range_check_validator_value() 2728 po = &proto_options[index]; in nfs_get_vers_minmax() 2750 proto_options[index].defvalue.string); in nfs_get_vers_minmax() 2752 rval = proto_options[index].defvalue.intval; in nfs_get_vers_minmax() 2809 if (index >= ARRAY_SIZE(proto_options)) in range_check_validator_server() [all …]
|