Searched refs:proto_array (Results 1 – 1 of 1) sorted by relevance
65 static struct sysctl_netisr_proto *proto_array; variable128 if (proto_array[i].snp_proto == proto) in netisr_proto2name()129 return (proto_array[i].snp_name); in netisr_proto2name()140 if (proto_array[i].snp_proto == proto) in netisr_protoispresent()232 proto_array = calloc(protocount, sizeof(*proto_array)); in netisr_load_kvm_proto()233 if (proto_array == NULL) in netisr_load_kvm_proto()240 snpp = &proto_array[protocount]; in netisr_load_kvm_proto()267 if (len % sizeof(*proto_array) != 0) in netisr_load_sysctl_proto()269 proto_array = malloc(len); in netisr_load_sysctl_proto()270 if (proto_array == NULL) in netisr_load_sysctl_proto()[all …]