Home
last modified time | relevance | path

Searched refs:g_zalloc (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/storage/liba5k/common/
H A Dlhot.c411 if ((page_buf = (uchar_t *)g_zalloc(MAX_REC_DIAG_LENGTH)) == NULL) { in l_encl_status_page_funcs()
656 if ((*dev_path = g_zalloc(MAXPATHLEN)) == NULL) { in l_device_present()
676 if ((*dev_path = g_zalloc(MAXPATHLEN)) == NULL) { in l_device_present()
761 if ((dev_path = g_zalloc(MAXPATHLEN)) == NULL) { in l_offline_photon()
768 if ((dl = g_zalloc(sizeof (struct dlist))) == NULL) { in l_offline_photon()
805 if ((dev_path = g_zalloc(MAXPATHLEN)) == NULL) { in l_offline_photon()
812 if ((dl = g_zalloc(sizeof (struct dlist))) == NULL) { in l_offline_photon()
H A Dmon.c125 if ((*pg_buf = (uchar_t *)g_zalloc(size)) == NULL) { in l_get_mode_pg()
140 if ((*pg_buf = (uchar_t *)g_zalloc(size)) == NULL) { in l_get_mode_pg()
908 if ((dl = (struct dlist *)g_zalloc(sizeof (struct dlist))) == NULL) { in l_dev_pwr_up_down()
1061 g_zalloc(sizeof (struct dlist))) == NULL) { in l_pho_pwr_up_down()
1113 g_zalloc(sizeof (struct dlist))) == NULL) { in l_pho_pwr_up_down()
1496 if ((dev_name = (char *)g_zalloc(sizeof ("/dev/es"))) == NULL) { in l_get_box_list()
1576 g_zalloc(sizeof (struct box_list_struct))) in l_get_box_list()
1740 if ((p = g_zalloc(strlen( in l_get_conflict()
1747 if ((pp = g_zalloc(strlen( in l_get_conflict()
1875 if ((l_state = (L_state *)g_zalloc(sizeof (L_state))) == NULL) { in load_flds_if_enc_disk()
[all …]
H A Ddiag.c259 if ((all_objp = g_zalloc((nobj + 1) * sizeof (ses_object))) == NULL) { in l_bp_bypass_enable()
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dgenf.c158 ns = (char *)g_zalloc(1); in g_alloc_string()
160 ns = (char *)g_zalloc(strlen(s) + 1); in g_alloc_string()
486 dev_name = g_zalloc(sizeof ("/dev/rdsk")); in g_get_physical_name()
947 g_zalloc(int count) in g_zalloc() function
H A Dmapfile-vers120 g_zalloc;
H A Dhot.c503 g_zalloc(sizeof (struct loop_list))) == NULL) in g_forcelip_all()
H A Dmap.c799 g_zalloc((n+1) * sizeof (struct wwn_list_struct *)); in g_sort_wwn_list()
3473 g_zalloc(sizeof (struct al_rls))) == NULL) { in g_rdls()
3557 g_zalloc(sizeof (struct al_rls))) == NULL) { in g_rdls()
3675 g_zalloc(sizeof (struct al_rls))) == NULL) { in g_rdls()
4265 g_zalloc(sizeof (struct dlist))) == NULL) { in g_get_port_multipath()
4490 g_zalloc(sizeof (struct dlist))) == NULL) { in get_multipath()
/illumos-gate/usr/src/lib/storage/libg_fc/common/hdrs/
H A Dg_state.h167 extern void *g_zalloc(int);