Home
last modified time | relevance | path

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

/titanic_50/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()
284 ioc->ret_buf = NULL; in get_pathlist()
312 ioc->ret_buf = (sv_path_info_t *) in get_pathlist()
315 if (ioc->ret_buf == NULL) { in get_pathlist()
325 ioc->ret_buf[i].ret_prop.buf_size = prop_buf_size; in get_pathlist()
326 if ((ioc->ret_buf[i].ret_prop.buf = in get_pathlist()
331 if ((ioc->ret_buf[i].ret_prop.ret_buf_size = in get_pathlist()
339 free(ioc->ret_buf[i].ret_prop.buf); in get_pathlist()
340 free(ioc->ret_buf[i].ret_prop.ret_buf_size); in get_pathlist()
[all …]
/titanic_50/usr/src/lib/libcurses/screen/
H A Dkeyname.sh75 goto ret_buf;
79 goto ret_buf;
91 goto ret_buf;
96 ret_buf:
/titanic_50/usr/src/uts/sparc/os/
H A Dbootdev.c81 i_promname_to_devname(char *prom_name, char *ret_buf) in i_promname_to_devname() argument
83 if (prom_name == NULL || ret_buf == NULL || in i_promname_to_devname()
87 if (i_ddi_prompath_to_devfspath(prom_name, ret_buf) != DDI_SUCCESS) in i_promname_to_devname()
210 i_devname_to_promname(char *dev_name, char *ret_buf, size_t len) in i_devname_to_promname() argument
223 if ((dev_name == NULL) || (ret_buf == NULL) || in i_devname_to_promname()
240 bzero(ret_buf, len); in i_devname_to_promname()
244 (void) snprintf(ret_buf, len, "%s", dev_name); in i_devname_to_promname()
263 rptr = ret_buf; in i_devname_to_promname()
380 ret_buf[len - 1] = '\0'; in i_devname_to_promname()
381 ret_buf[len - 2] = '\0'; in i_devname_to_promname()
/titanic_50/usr/src/uts/intel/ia32/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()
/titanic_50/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()
/titanic_50/usr/src/cmd/luxadm/
H A Dlux_util.c1411 ioc->ret_buf = NULL; in get_scsi_vhci_pathinfo()
1439 ioc->ret_buf = (sv_path_info_t *) in get_scsi_vhci_pathinfo()
1441 if (ioc->ret_buf == NULL) { in get_scsi_vhci_pathinfo()
1451 ioc->ret_buf[i].ret_prop.buf_size = prop_buf_size; in get_scsi_vhci_pathinfo()
1452 if ((ioc->ret_buf[i].ret_prop.buf = in get_scsi_vhci_pathinfo()
1457 if ((ioc->ret_buf[i].ret_prop.ret_buf_size = in get_scsi_vhci_pathinfo()
1465 free(ioc->ret_buf[i].ret_prop.buf); in get_scsi_vhci_pathinfo()
1466 free(ioc->ret_buf[i].ret_prop.ret_buf_size); in get_scsi_vhci_pathinfo()
1468 free(ioc->ret_buf); in get_scsi_vhci_pathinfo()
1476 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()
/titanic_50/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()
/titanic_50/usr/src/uts/common/sys/
H A Dddi_implfuncs.h184 i_devname_to_promname(char *dev_name, char *ret_buf, size_t);
187 i_promname_to_devname(char *prom_name, char *ret_buf);
/titanic_50/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()
/titanic_50/usr/src/cmd/stmsboot/
H A Dstmsboot_util.c1345 if ((ioc.ret_buf = calloc(npaths, sizeof (sv_path_info_t))) in vhci_to_phci()
1353 free(ioc.ret_buf); in vhci_to_phci()
1364 free(ioc.ret_buf); in vhci_to_phci()
1368 pi = (sv_path_info_t *)ioc.ret_buf; in vhci_to_phci()
1412 free(ioc.ret_buf); in vhci_to_phci()
/titanic_50/usr/src/uts/common/sys/scsi/adapters/
H A Dscsi_vhci.h761 caddr32_t ret_buf; /* addr of array of sv_path_info */ member
825 sv_path_info_t *ret_buf; /* array of sv_path_info */ member
/titanic_50/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()
/titanic_50/usr/src/lib/libsasl/plugin/
H A Dplugin_common.c867 const char *ret_buf; local
914 ret_buf = (buf == NULL) ? s : buf;
916 return ret_buf;
/titanic_50/usr/src/lib/libpicl/
H A Dpicl2door.h70 #define ret_buf u.str macro
H A Dpicl.c382 (void) memcpy(valbuf, ret->ret_attrval.ret_buf, in picl_get_propval()
422 (void) memcpy(valbuf, ret->ret_attrvalbyname.ret_buf, in picl_get_propval_by_name()
/titanic_50/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()
/titanic_50/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c5589 if (pioc->buf_elem == 0 || pioc->ret_buf == NULL || in vhci_ctl()
5671 if (pioc->buf_elem == 0 || pioc->ret_buf == NULL || in vhci_ctl()
6451 pioc->ret_buf = (sv_path_info_t *)(uintptr_t)ioc32.ret_buf; in vhci_get_iocdata()
6572 src = (sv_path_info32_t *)pioc->ret_buf; in vhci_ioc_alloc_pathinfo()
6591 if (ddi_copyin(pioc->ret_buf, *upibuf, in vhci_ioc_alloc_pathinfo()
6598 if (ddi_copyin(pioc->ret_buf, *upibuf, in vhci_ioc_alloc_pathinfo()
6706 upi_ptr = pioc->ret_buf; in vhci_ioc_send_pathinfo()
6766 upi32_ptr = (sv_path_info32_t *)pioc->ret_buf; in vhci_ioc_send_pathinfo()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm5710.h3763 u32_t *ret_buf,