Searched refs:num_protos (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | algs.c | 184 write_new_algfile(ipsec_proto_t *protos, int num_protos) in write_new_algfile() argument 220 for (i = 0; i < num_protos; i++) { in write_new_algfile() 247 for (i = 0; i < num_protos; i++) { in write_new_algfile() 332 _clean_trash(protos, num_protos); in write_new_algfile() 342 proto_setup(ipsec_proto_t **protos, int *num_protos, int proto_num, in proto_setup() argument 348 _build_internal_algs(protos, num_protos); in proto_setup() 353 for (i = 0; i < *num_protos; i++) { in proto_setup() 363 _clean_trash(*protos, *num_protos); in proto_setup() 488 int num_protos, i; in addipsecalg() local 493 if ((current_proto = proto_setup(&protos, &num_protos, in addipsecalg() [all …]
|
/illumos-gate/usr/src/lib/libreparse/common/ |
H A D | fs_reparse_lib.c | 312 int num_protos = 0; in rp_plugin_init() local 371 num_protos++; in rp_plugin_init() 378 if ((num_protos == 0) && (ret == 0)) in rp_plugin_init() 388 rp_proto_handle.rp_ops = (rp_plugin_ops_t **)calloc(num_protos, in rp_plugin_init() 397 for (tmp = rp_proto_list; rp_hdl->rp_num_proto < num_protos && in rp_plugin_init()
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | plugin.c | 89 int num_protos = 0; in proto_plugin_init() local 151 num_protos++; in proto_plugin_init() 158 if (num_protos != 0) { in proto_plugin_init() 160 (char **)calloc(num_protos, sizeof (char *)); in proto_plugin_init() 162 (struct sa_plugin_ops **)calloc(num_protos, in proto_plugin_init() 170 i < num_protos && tmp != NULL; in proto_plugin_init()
|
/illumos-gate/usr/src/lib/libnsl/ipsec/ |
H A D | algs.c | 46 static int num_protos; variable 639 trash_num = num_protos; in _build_internal_algs() 641 num_protos = rc; in _build_internal_algs() 762 for (i = 0; i < num_protos; i++) { in findprotobynum() 778 for (i = 0; i < num_protos; i++) { in findprotobyname() 798 *nentries = num_protos; in _real_getipsecprotos() 803 rc = malloc((num_protos == 0) ? 1 : num_protos * sizeof (int)); in _real_getipsecprotos() 805 for (i = 0; i < num_protos; i++) in _real_getipsecprotos()
|