| /osnet-11/usr/src/lib/libipmp/common/ |
| H A D | ipmp.c | 45 ipmp_state_t *statep; local 47 statep = malloc(sizeof (ipmp_state_t)); 48 if (statep == NULL) 51 statep->st_fd = -1; 52 statep->st_snap = NULL; 53 statep->st_magic = IPMP_MAGIC; 55 *handlep = statep; 65 ipmp_state_t *statep = handle; local 71 assert(statep->st_magic == IPMP_MAGIC); 76 assert(statep [all...] |
| H A D | ipmp_admin.c | 44 ipmp_state_t *statep = (ipmp_state_t *)handle; local 54 assert(statep->st_fd == -1); 55 retval = ipmp_connect(&statep->st_fd); 59 retval = ipmp_write(statep->st_fd, req, reqsize); 63 retval = ipmp_read(statep->st_fd, &result, sizeof (result), &end); 71 (void) close(statep->st_fd); 72 statep->st_fd = -1;
|
| H A D | ipmp_query.c | 58 * Using `statep', send a query request for `type' to in.mpathd, and if 63 * outstanding on a given `statep' at a time. 66 ipmp_sendquery(ipmp_state_t *statep, ipmp_infotype_t type, const char *name, argument 103 assert(statep->st_fd == -1); 104 retval = ipmp_connect(&statep->st_fd); 108 retval = ipmp_write(statep->st_fd, &query, sizeof (query)); 110 return (ipmp_querydone(statep, retval)); 112 retval = ipmp_read(statep->st_fd, &result, sizeof (result), endtp); 114 return (ipmp_querydone(statep, retval)); 117 return (ipmp_querydone(statep, resul 128 ipmp_readinfo(ipmp_state_t *statep, ipmp_infotype_t infotype, void **infop, const struct timeval *endtp) argument 153 ipmp_readgroupinfo_lists(ipmp_state_t *statep, ipmp_groupinfo_t *grinfop, const struct timeval *endtp) argument 181 ipmp_readifinfo_lists(ipmp_state_t *statep, ipmp_ifinfo_t *ifinfop, const struct timeval *endtp) argument 224 ipmp_querydone(ipmp_state_t *statep, int retval) argument 241 ipmp_state_t *statep = handle; local 276 ipmp_state_t *statep = handle; local 324 ipmp_state_t *statep = handle; local 373 ipmp_state_t *statep = handle; local 804 ipmp_state_t *statep = handle; local 1032 ipmp_snap_take(ipmp_state_t *statep, ipmp_snap_t **snapp) argument [all...] |
| /osnet-11/usr/src/lib/libuuid/common/ |
| H A D | etheraddr.c | 126 walker_arg_t *statep = arg; local 131 statep->wa_etheraddrlen = DLPI_PHYSADDR_MAX; 133 statep->wa_etheraddr, &(statep->wa_etheraddrlen)); 138 statep->wa_addrvalid = B_TRUE;
|
| /osnet-11/usr/src/lib/libcontract/common/ |
| H A D | device.c | 138 ct_dev_status_get_dev_state(ct_stathdl_t stathdl, uint_t *statep) argument 148 return (nvlist_lookup_uint32(info->nvl, CTDS_STATE, statep));
|
| /osnet-11/usr/src/lib/libshare_plugins/zfs/ |
| H A D | libshare_zfs.c | 603 boolean_t *notifyp, zfs_share_state_t *statep) 670 if (statep != NULL) 671 *statep = state; 602 sa_zfs_get_share_state(sa_notify_op_t notify_op, nvlist_t *protos, boolean_t *notifyp, zfs_share_state_t *statep) argument
|
| /osnet-11/usr/src/lib/cfgadm_plugins/fp/common/ |
| H A D | cfga_cvt.c | 202 uint_t statep; local 359 statep = di_path_state(path); 409 statep, pathp, l_errnop))) !=
|
| H A D | cfga_utils.c | 817 uint_t *statep, 828 if (statep != NULL) *statep = 0; 838 assert(statep != NULL); 848 assert(statep == NULL); 895 if (func != NULL && statep == NULL) { 898 } else if (state_func != NULL && statep != NULL) { 899 rv = state_func(hdl, statep); 814 devctl_cmd( const char *physpath, fpcfga_cmd_t cmd, uint_t *statep, int *l_errnop) argument
|
| /osnet-11/usr/src/lib/libnwam/common/ |
| H A D | libnwam_enm.c | 644 nwam_enm_get_state(nwam_enm_handle_t enmh, nwam_state_t *statep, argument 647 return (nwam_get_state(NULL, enmh, statep, auxp));
|
| H A D | libnwam_object.c | 527 nwam_get_state(const char *parent, struct nwam_handle *hp, nwam_state_t *statep, argument 530 assert(hp != NULL && statep != NULL && auxp != NULL); 533 statep, auxp));
|
| H A D | libnwam_util.c | 173 const char *parent, nwam_state_t *statep, nwam_aux_state_t *auxp) 178 assert(name != NULL && statep != NULL && auxp != NULL); 195 *statep = req.nwda_data.nwdad_object_state.nwdad_state; 172 nwam_request_state(nwam_object_type_t object_type, const char *name, const char *parent, nwam_state_t *statep, nwam_aux_state_t *auxp) argument
|
| H A D | libnwam_loc.c | 1314 nwam_loc_get_state(nwam_loc_handle_t loch, nwam_state_t *statep, argument 1317 return (nwam_get_state(NULL, loch, statep, auxp));
|
| H A D | libnwam_ncp.c | 3091 nwam_ncp_get_state(nwam_ncp_handle_t ncph, nwam_state_t *statep, argument 3096 return (nwam_get_state(ncph->nwh_name, ncph, statep, auxp)); 3100 nwam_ncu_get_state(nwam_ncu_handle_t ncuh, nwam_state_t *statep, argument 3122 statep, auxp);
|
| /osnet-11/usr/src/lib/librcm/ |
| H A D | librcm.c | 494 rcm_get_rsrcstate(rcm_handle_t *hd, char *rsrcname, int *statep) argument 502 if (statep == NULL) { 524 *statep = rcm_info_state(tuple);
|
| /osnet-11/usr/src/lib/libdladm/common/ |
| H A D | libdlaggr.c | 1653 i_walk_key_state_t *statep = (i_walk_key_state_t *)arg; local 1663 if ((status == DLADM_STATUS_OK) && (key == statep->key)) { 1664 statep->found = B_TRUE; 1665 statep->linkid = linkid;
|
| H A D | libdllink.c | 1046 i_walk_dev_state_t *statep = arg; local 1050 (strcmp(statep->devname, dpa.dp_dev) == 0)) { 1051 statep->found = B_TRUE; 1052 statep->linkid = linkid;
|
| H A D | libdlbridge.c | 1420 dladm_bridge_state(const char *instname, UID_STP_STATE_T *statep) argument 1422 size_t buflen = sizeof (*statep); 1425 DATALINK_INVALID_LINKID, (void **)&statep, 0, &buflen, B_FALSE));
|
| H A D | libdlwlan.c | 373 connect_state_t *statep = (connect_state_t *)arg; local 375 fattrp = statep->cs_attr; 422 nodep->an_next = statep->cs_list; 423 statep->cs_list = nodep; 424 statep->cs_count++;
|
| /osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/ |
| H A D | cfga_utils.c | 947 uint_t *statep, 958 if (statep != NULL) *statep = 0; 968 assert(statep != NULL); 978 assert(statep == NULL); 1025 if (func != NULL && statep == NULL) { 1028 } else if (state_func != NULL && statep != NULL) { 1029 rv = state_func(hdl, statep); 944 devctl_cmd( const char *physpath, scfga_cmd_t cmd, uint_t *statep, int *l_errnop) argument
|