Lines Matching refs:iargp

375 sgfru_getchildlist(const sgfru_init_arg_t *iargp)  in sgfru_getchildlist()  argument
386 if (sgfru_copyin_frup(iargp, &clist) != 0) { in sgfru_getchildlist()
405 if ((ret = sgfru_mbox(iargp->cmd, datap, size, &clist.fru_info)) in sgfru_getchildlist()
426 if (sgfru_copyout_fru(iargp, &clist.fru_info) != 0) { in sgfru_getchildlist()
431 if (sgfru_copyout_nodes(iargp, &clist, clistp) != 0) { in sgfru_getchildlist()
445 sgfru_getchildhandles(const sgfru_init_arg_t *iargp) in sgfru_getchildhandles() argument
456 if (sgfru_copyin_frup(iargp, &hdls) != 0) { in sgfru_getchildhandles()
472 ret = sgfru_mbox(iargp->cmd, datap, size, &hdls.fru_info); in sgfru_getchildhandles()
482 if (sgfru_copyout_fru(iargp, &hinfo) != 0) { in sgfru_getchildhandles()
489 if (sgfru_copyout_handles(iargp, &hdls, (fru_hdl_t *)tdatap) != 0) { in sgfru_getchildhandles()
504 sgfru_getnodeinfo(const sgfru_init_arg_t *iargp) in sgfru_getnodeinfo() argument
514 if (sgfru_copyin_frup(iargp, &nodeinfo) != 0) { in sgfru_getnodeinfo()
524 ret = sgfru_mbox(iargp->cmd, datap, size, &nodeinfo.fru_info); in sgfru_getnodeinfo()
541 if (sgfru_copyout_nodes(iargp, &nodeinfo, &node) != 0) { in sgfru_getnodeinfo()
554 sgfru_getsections(const sgfru_init_arg_t *iargp) in sgfru_getsections() argument
564 if (sgfru_copyin_frup(iargp, &sects) != 0) { in sgfru_getsections()
578 if ((ret = sgfru_mbox(iargp->cmd, datap, size, &sects.fru_info)) in sgfru_getsections()
599 if (sgfru_copyout_fru(iargp, &sects.fru_info) != 0) { in sgfru_getsections()
604 if (sgfru_copyout_sections(iargp, &sects, sectp) != 0) { in sgfru_getsections()
618 sgfru_getsegments(const sgfru_init_arg_t *iargp) in sgfru_getsegments() argument
628 if (sgfru_copyin_frup(iargp, &segs) != 0) { in sgfru_getsegments()
642 if ((ret = sgfru_mbox(iargp->cmd, datap, size, &segs.fru_info)) != 0) { in sgfru_getsegments()
662 if (sgfru_copyout_fru(iargp, &segs.fru_info) != 0) { in sgfru_getsegments()
667 if (sgfru_copyout_segments(iargp, &segs, segp) != 0) { in sgfru_getsegments()
678 sgfru_addsegment(const sgfru_init_arg_t *iargp) in sgfru_addsegment() argument
689 if (sgfru_copyin_frup(iargp, &seg) != 0) { in sgfru_addsegment()
693 if (sgfru_copyin_segment(iargp, &seg, &segment) != 0) { in sgfru_addsegment()
709 ret = sgfru_mbox(iargp->cmd, datap, size, &seg.fru_info); in sgfru_addsegment()
717 if (sgfru_copyout_handle(iargp, (void *)iargp->argp, hdlp) != 0) { in sgfru_addsegment()
722 if (sgfru_copyout_handle(iargp, seg.frus, --hdlp) != 0) { in sgfru_addsegment()
736 sgfru_readsegment(const sgfru_init_arg_t *iargp) in sgfru_readsegment() argument
747 if (sgfru_copyin_frup(iargp, &segs) != 0) { in sgfru_readsegment()
763 if ((ret = sgfru_mbox(iargp->cmd, datap, size, &segs.fru_info)) != 0) { in sgfru_readsegment()
774 if (sgfru_copyout_fru(iargp, &sinfo) != 0) { in sgfru_readsegment()
779 if (sgfru_copyout_buffer(iargp, &segs, tdatap) != 0) { in sgfru_readsegment()
793 sgfru_writesegment(const sgfru_init_arg_t *iargp) in sgfru_writesegment() argument
803 if (sgfru_copyin_frup(iargp, &segs) != 0) { in sgfru_writesegment()
822 if (sgfru_copyin_buffer(iargp, segs.frus, max_cnt, tdatap) != 0) { in sgfru_writesegment()
828 if ((ret = sgfru_mbox(iargp->cmd, datap, size, &segs.fru_info)) != 0) { in sgfru_writesegment()
838 if (sgfru_copyout_fru(iargp, &segs.fru_info) != 0) { in sgfru_writesegment()
849 sgfru_getpackets(const sgfru_init_arg_t *iargp) in sgfru_getpackets() argument
859 if (sgfru_copyin_frup(iargp, &packs) != 0) { in sgfru_getpackets()
873 if ((ret = sgfru_mbox(iargp->cmd, datap, size, &packs.fru_info)) in sgfru_getpackets()
894 if (sgfru_copyout_fru(iargp, &packs.fru_info) != 0) { in sgfru_getpackets()
899 if (sgfru_copyout_packets(iargp, &packs, packp) != 0) { in sgfru_getpackets()
913 sgfru_appendpacket(const sgfru_init_arg_t *iargp) in sgfru_appendpacket() argument
924 if (sgfru_copyin_append(iargp, &append) != 0) { in sgfru_appendpacket()
941 if (sgfru_copyin_buffer(iargp, append.payload_data, append.payload_cnt, in sgfru_appendpacket()
948 if ((ret = sgfru_mbox(iargp->cmd, datap, size, in sgfru_appendpacket()
956 if (sgfru_copyout_handle(iargp, (void *)iargp->argp, hdlp) != 0) { in sgfru_appendpacket()
961 addr = (caddr_t)(iargp->argp + sizeof (packet_t)); in sgfru_appendpacket()
962 if (sgfru_copyout_handle(iargp, addr, ++hdlp) != 0) { in sgfru_appendpacket()
977 sgfru_getpayload(const sgfru_init_arg_t *iargp) in sgfru_getpayload() argument
988 if (sgfru_copyin_frup(iargp, &payld) != 0) { in sgfru_getpayload()
1005 if ((ret = sgfru_mbox(iargp->cmd, datap, size, &payld.fru_info)) in sgfru_getpayload()
1017 if (sgfru_copyout_fru(iargp, &pinfo) != 0) { in sgfru_getpayload()
1022 if (sgfru_copyout_buffer(iargp, &payld, tdatap) != 0) { in sgfru_getpayload()
1037 sgfru_updatepayload(const sgfru_init_arg_t *iargp) in sgfru_updatepayload() argument
1047 if (sgfru_copyin_frup(iargp, &payld) != 0) { in sgfru_updatepayload()
1064 if (sgfru_copyin_buffer(iargp, payld.frus, max_cnt, tdatap) != 0) { in sgfru_updatepayload()
1072 if ((ret = sgfru_mbox(iargp->cmd, datap, size, &payld.fru_info)) in sgfru_updatepayload()
1082 if (sgfru_copyout_fru(iargp, &payld.fru_info) != 0) { in sgfru_updatepayload()
1095 sgfru_getnum(const sgfru_init_arg_t *iargp) in sgfru_getnum() argument
1103 if (sgfru_copyin_fru(iargp, &fru_info) != 0) { in sgfru_getnum()
1109 if ((ret = sgfru_mbox(iargp->cmd, datap, size, &fru_info)) != 0) { in sgfru_getnum()
1114 if (sgfru_copyout_fru(iargp, &fru_info) != 0) { in sgfru_getnum()
1124 sgfru_delete(const sgfru_init_arg_t *iargp) in sgfru_delete() argument
1133 if (sgfru_copyin_fru(iargp, &fru_info) != 0) { in sgfru_delete()
1140 if ((ret = sgfru_mbox(iargp->cmd, datap, size, &fru_info)) != 0) { in sgfru_delete()
1146 if (sgfru_copyout_fru(iargp, &fru_info) != 0) { in sgfru_delete()