Home
last modified time | relevance | path

Searched refs:ret_buf (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dmpath.c117 ioc.ret_buf = NULL; in g_get_lun_str()
128 ioc.ret_buf = pi; in g_get_lun_str()
282 ioc->ret_buf = NULL; in get_pathlist()
310 ioc->ret_buf = (sv_path_info_t *) in get_pathlist()
313 if (ioc->ret_buf == NULL) { in get_pathlist()
323 ioc->ret_buf[i].ret_prop.buf_size = prop_buf_size; in get_pathlist()
324 if ((ioc->ret_buf[i].ret_prop.buf = in get_pathlist()
329 if ((ioc->ret_buf[i].ret_prop.ret_buf_size = in get_pathlist()
337 free(ioc->ret_buf[i].ret_prop.buf); in get_pathlist()
338 free(ioc->ret_buf[i].ret_prop.ret_buf_size); in get_pathlist()
[all …]
/illumos-gate/usr/src/uts/sparc/os/
H A Dbootdev.c85 i_promname_to_devname(char *prom_name, char *ret_buf) in i_promname_to_devname() argument
87 if (prom_name == NULL || ret_buf == NULL || in i_promname_to_devname()
91 if (i_ddi_prompath_to_devfspath(prom_name, ret_buf) != DDI_SUCCESS) in i_promname_to_devname()
214 i_devname_to_promname(char *dev_name, char *ret_buf, size_t len) in i_devname_to_promname() argument
226 if ((dev_name == NULL) || (ret_buf == NULL) || in i_devname_to_promname()
243 bzero(ret_buf, len); in i_devname_to_promname()
247 (void) snprintf(ret_buf, len, "%s", dev_name); in i_devname_to_promname()
266 rptr = ret_buf; in i_devname_to_promname()
383 ret_buf[len - 1] = '\0'; in i_devname_to_promname()
384 ret_buf[len - 2] = '\0'; in i_devname_to_promname()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dkeyname.sh75 goto ret_buf;
79 goto ret_buf;
91 goto ret_buf;
96 ret_buf:
/illumos-gate/usr/src/uts/intel/os/
H A Dbootdev.c64 i_promname_to_devname(char *prom_name, char *ret_buf) in i_promname_to_devname() argument
66 if (prom_name == NULL || ret_buf == NULL || in i_promname_to_devname()
70 if (i_ddi_prompath_to_devfspath(prom_name, ret_buf) != DDI_SUCCESS) in i_promname_to_devname()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsinfo.c114 static int prom_dev_to_alias(char *dev, uint_t options, char ***ret_buf);
115 static int alias_to_prom_dev(char *alias, char *ret_buf);
121 static int prom_srch_node(int fd, char *prop_name, char *ret_buf);
885 char ret_buf[MAXPATHLEN]; in process_bootdev() local
939 if (devfs_prom_to_dev_name(prom_path, ret_buf) < 0) { in process_bootdev()
944 if (process_minor_name(ret_buf, default_root) < 0) { in process_bootdev()
954 bootdev_array[i]->bootdev_trans[0] = strdup(ret_buf); in process_bootdev()
1626 prom_dev_to_alias(char *dev, uint_t options, char ***ret_buf) in prom_dev_to_alias() argument
1656 if (ret_buf == NULL) { in prom_dev_to_alias()
1692 if ((*ret_buf = (char **)malloc((count + 1) * sizeof (char *))) in prom_dev_to_alias()
[all …]
H A Ddevfsmap.c1373 if ((ioc.ret_buf = (sv_path_info_t *)calloc(npaths, in vhci_to_phci()
1401 if ((n = add_to_phci_list(phci_list, ioc.ret_buf, npaths, in vhci_to_phci()
1405 free(ioc.ret_buf); in vhci_to_phci()
1415 free(ioc.ret_buf); in vhci_to_phci()
/illumos-gate/usr/src/cmd/luxadm/
H A Dlux_util.c1408 ioc->ret_buf = NULL; in get_scsi_vhci_pathinfo()
1436 ioc->ret_buf = (sv_path_info_t *) in get_scsi_vhci_pathinfo()
1438 if (ioc->ret_buf == NULL) { in get_scsi_vhci_pathinfo()
1448 ioc->ret_buf[i].ret_prop.buf_size = prop_buf_size; in get_scsi_vhci_pathinfo()
1449 if ((ioc->ret_buf[i].ret_prop.buf = in get_scsi_vhci_pathinfo()
1454 if ((ioc->ret_buf[i].ret_prop.ret_buf_size = in get_scsi_vhci_pathinfo()
1462 free(ioc->ret_buf[i].ret_prop.buf); in get_scsi_vhci_pathinfo()
1463 free(ioc->ret_buf[i].ret_prop.ret_buf_size); in get_scsi_vhci_pathinfo()
1465 free(ioc->ret_buf); in get_scsi_vhci_pathinfo()
1473 free(ioc->ret_buf[i].ret_prop.buf); in get_scsi_vhci_pathinfo()
[all …]
H A Dfchba.c1405 if (strstr(devPath, ioc.ret_buf[i].device.ret_phci)) { in scsi_vhci_details()
1407 if (strstr(ioc.ret_buf[i].ret_addr, devaddr)) { in scsi_vhci_details()
1408 retval = nvlist_unpack(ioc.ret_buf[i].ret_prop.buf, in scsi_vhci_details()
1415 path_state[ioc.ret_buf[i].ret_state]); in scsi_vhci_details()
1416 lun->info.pathInfoState = ioc.ret_buf[i].ret_state; in scsi_vhci_details()
1418 ioc.ret_buf[i].ret_ext_state; in scsi_vhci_details()
1442 free(ioc.ret_buf[i].ret_prop.buf); in scsi_vhci_details()
1443 free(ioc.ret_buf[i].ret_prop.ret_buf_size); in scsi_vhci_details()
1445 free(ioc.ret_buf); in scsi_vhci_details()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_nvram.c406 u32_t *ret_buf, in lm_nvram_read() argument
450 lm_status = nvram_read_dword(pdev, offset, ret_buf, cmd_flags); in lm_nvram_read()
454 ret_buf++; in lm_nvram_read()
462 lm_status = nvram_read_dword(pdev, offset, ret_buf, cmd_flags); in lm_nvram_read()
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dbnx_hw_nvram.c1071 u32_t *ret_buf, in lm_nvram_read() argument
1120 lm_status = nvram_read_dword(pdev, offset, ret_buf, cmd_flags); in lm_nvram_read()
1126 lm_status = nvram_read_dword(pdev, offset, ret_buf, cmd_flags); in lm_nvram_read()
1132 ret_buf++; in lm_nvram_read()
1137 lm_status = nvram_read_dword(pdev, offset, ret_buf, cmd_flags); in lm_nvram_read()
1141 ret_buf++; in lm_nvram_read()
1148 lm_status = nvram_read_dword(pdev, offset, ret_buf, cmd_flags); in lm_nvram_read()
H A Dlm5706.h1052 u32_t *ret_buf,
/illumos-gate/usr/src/uts/common/sys/
H A Dddi_implfuncs.h136 extern int i_devname_to_promname(char *dev_name, char *ret_buf, size_t);
137 extern int i_promname_to_devname(char *prom_name, char *ret_buf);
/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c465 void *ret_buf; in memalign() local
525 ret_buf = alloc_buf; in memalign()
539 ret_buf = (void *)ret_addr; in memalign()
543 return (ret_buf); in memalign()
646 MEMALIGN_HEADER_ALLOC(ret_buf, shift, in memalign()
727 return (ret_buf); in memalign()
/illumos-gate/usr/src/cmd/stmsboot/
H A Dstmsboot_util.c1351 if ((ioc.ret_buf = calloc(npaths, sizeof (sv_path_info_t))) in vhci_to_phci()
1359 free(ioc.ret_buf); in vhci_to_phci()
1370 free(ioc.ret_buf); in vhci_to_phci()
1374 pi = (sv_path_info_t *)ioc.ret_buf; in vhci_to_phci()
1418 free(ioc.ret_buf); in vhci_to_phci()
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/
H A Dscsi_vhci.h764 caddr32_t ret_buf; /* addr of array of sv_path_info */ member
828 sv_path_info_t *ret_buf; /* array of sv_path_info */ member
/illumos-gate/usr/src/cmd/picl/picld/
H A Dpicld.c337 err = xptree_get_propval_with_cred(ptreeh, ret->ret_buf, vbufsize, in picld_get_attrval()
346 ret->nbytes = (uint32_t)strlen(ret->ret_buf) + 1; in picld_get_attrval()
404 in->req_attrvalbyname.propname, ret->ret_buf, vbufsize, in picld_get_attrval_by_name()
412 ret->nbytes = (uint32_t)strlen(ret->ret_buf) + 1; in picld_get_attrval_by_name()
/illumos-gate/usr/src/lib/libsasl/plugin/
H A Dplugin_common.c866 const char *ret_buf; local
913 ret_buf = (buf == NULL) ? s : buf;
915 return ret_buf;
/illumos-gate/usr/src/lib/libpicl/
H A Dpicl2door.h68 #define ret_buf u.str macro
H A Dpicl.c380 (void) memcpy(valbuf, ret->ret_attrval.ret_buf, in picl_get_propval()
420 (void) memcpy(valbuf, ret->ret_attrvalbyname.ret_buf, in picl_get_propval_by_name()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4rx.c2298 lm_tcp_gen_buf_t * curr_gen_buf, * ret_buf; in lm_tcp_rx_buffered_data_indicated() local
2342 ret_buf = curr_gen_buf; in lm_tcp_rx_buffered_data_indicated()
2344 d_list_push_tail(&return_to_pool_list, &ret_buf->link); in lm_tcp_rx_buffered_data_indicated()
2357 ret_buf = curr_gen_buf; in lm_tcp_rx_buffered_data_indicated()
2360 d_list_push_tail(&return_to_peninsula_list, &ret_buf->link); in lm_tcp_rx_buffered_data_indicated()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c5596 if (pioc->buf_elem == 0 || pioc->ret_buf == NULL || in vhci_ctl()
5678 if (pioc->buf_elem == 0 || pioc->ret_buf == NULL || in vhci_ctl()
6456 pioc->ret_buf = (sv_path_info_t *)(uintptr_t)ioc32.ret_buf; in vhci_get_iocdata()
6577 src = (sv_path_info32_t *)pioc->ret_buf; in vhci_ioc_alloc_pathinfo()
6596 if (ddi_copyin(pioc->ret_buf, *upibuf, in vhci_ioc_alloc_pathinfo()
6603 if (ddi_copyin(pioc->ret_buf, *upibuf, in vhci_ioc_alloc_pathinfo()
6711 upi_ptr = pioc->ret_buf; in vhci_ioc_send_pathinfo()
6771 upi32_ptr = (sv_path_info32_t *)pioc->ret_buf; in vhci_ioc_send_pathinfo()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_dbg_fw_funcs.c4430 u32 *ret_buf) in ecore_nvram_read() argument
4442 …NVM_LEN_SHIFT), &ret_mcp_resp, &ret_mcp_param, &ret_read_size, (u32*)((u8*)ret_buf + read_offset))) in ecore_nvram_read()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm5710.h3763 u32_t *ret_buf,