Home
last modified time | relevance | path

Searched refs:rc_num (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Dfruraw.c627 int rc_num; in frt_for_each_packet() local
638 rc_num = fru_get_num_packets(node, NULL); in frt_for_each_packet()
639 if (rc_num == -1) { in frt_for_each_packet()
641 } else if (rc_num == 0) { in frt_for_each_packet()
661 packets = malloc(sizeof (*packets) * (rc_num)); in frt_for_each_packet()
666 if (fru_get_packets(node, packets, rc_num, NULL) == -1) { in frt_for_each_packet()
672 for (i = 0; i < rc_num; i++) { in frt_for_each_packet()
/illumos-gate/usr/src/lib/libnsl/ipsec/
H A Dalgs.c196 int rc_num = 0, key_increment; in build_list() local
265 rc_num++; in build_list()
267 sizeof (ipsec_proto_t) * rc_num); in build_list()
271 new_proto += (rc_num - 1); in build_list()
569 *num = rc_num; in build_list()
580 _clean_trash(rc, rc_num); in build_list()
/illumos-gate/usr/src/lib/libfru/libfrupicl/
H A Dfrupicl.c738 unsigned int rc_num = 0; in fpt_get_tag_list() local
755 *number = rc_num; in fpt_get_tag_list()
774 if (rc_num >= total_tags) { in fpt_get_tag_list()
780 (void *)&(rc_tags[rc_num++]), in fpt_get_tag_list()
791 *number = rc_num; in fpt_get_tag_list()
/illumos-gate/usr/src/lib/libfru/libfrupicltree/
H A Dfrupicltree.c750 unsigned int rc_num = 0; in fpt_get_tag_list() local
767 *number = rc_num; in fpt_get_tag_list()
786 if (rc_num >= total_tags) { in fpt_get_tag_list()
792 (void *)&(rc_tags[rc_num++]), in fpt_get_tag_list()
803 *number = rc_num; in fpt_get_tag_list()