Home
last modified time | relevance | path

Searched refs:list_len (Results 1 – 16 of 16) sorted by relevance

/titanic_41/usr/src/cmd/latencytop/common/
H A Ddisplay.c412 print_taskbar_thread(pid_t *pidlist, id_t *tidlist, int list_len, in print_taskbar_thread() argument
439 while (xpos + ITEM_WIDTH <= screen_width && i < list_len) { in print_taskbar_thread()
489 if (i != list_len) { in print_taskbar_thread()
588 get_plist(pid_t **plist, id_t **tlist, int *list_len, int *list_index) in get_plist() argument
592 *list_len = lt_stat_proc_list_create(plist, NULL); in get_plist()
594 for (*list_index = 0; *list_index < *list_len && in get_plist()
599 if (*list_index >= *list_len) { in get_plist()
608 *list_len = lt_stat_proc_list_create(plist, tlist); in get_plist()
611 for (*list_index = 0; *list_index < *list_len; in get_plist()
619 if (*list_index >= *list_len) { in get_plist()
[all …]
/titanic_41/usr/src/lib/libnisdb/yptol/
H A Dshim_ancil.c126 add_in_maplist(char *mapname, char ***list, int *list_len) { in add_in_maplist() argument
137 *list_len = 0; in add_in_maplist()
151 if (*list_len == -1) { in add_in_maplist()
152 *list_len = i; in add_in_maplist()
156 if (i+1 >= *list_len) { in add_in_maplist()
158 (*list_len + ARRAY_CHUNK) * in add_in_maplist()
164 *list_len += ARRAY_CHUNK; in add_in_maplist()
/titanic_41/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Ddisk_discovery.c148 int list_len, count; in device_get_disk_cfga_info() local
157 &list_len, NULL, NULL, NULL, CFGA_FLAG_LIST_ALL); in device_get_disk_cfga_info()
160 if (cfga_err != CFGA_OK || list_len == 0) { in device_get_disk_cfga_info()
165 if (list_len > 1) { in device_get_disk_cfga_info()
166 for (count = 1; count < list_len; count++) { in device_get_disk_cfga_info()
/titanic_41/usr/src/lib/fm/libldom/sparc/
H A Dldmsvcs_utils.c111 int list_len; member
239 for (i = 0; i < pollbase.list_len; i++) { in poller_handle_data()
256 if (i < pollbase.list_len) { in poller_handle_data()
352 for (i = 0; i < pollbase.list_len; i++) { in poller_add_pending()
373 ASSERT(pollbase.list_len < pollbase.nclients + 1); in poller_add_pending()
375 newlen = pollbase.list_len + 5; in poller_add_pending()
379 for (i = 0; i < pollbase.list_len; i++) in poller_add_pending()
384 ldom_free(oldlist, pollbase.list_len * in poller_add_pending()
387 for (i = pollbase.list_len; i < newlen; i++) { in poller_add_pending()
393 pollbase.list_len = newlen; in poller_add_pending()
[all …]
/titanic_41/usr/src/cmd/fs.d/ufs/roll_log/
H A Droll_log.c262 static size_t list_len = sizeof (tmp_dir_list) / in make_mp() local
276 for (i = 0; i < list_len; i++) { in make_mp()
321 for (i = 0; i < list_len; i++) { in make_mp()
/titanic_41/usr/src/uts/intel/io/acpica/
H A Dacpi_enum.c741 int list_len, i; in create_compatible_property() local
745 list_len = 0; in create_compatible_property()
748 list_len++; in create_compatible_property()
753 strs = (char **)kmem_zalloc(list_len * sizeof (char *), KM_SLEEP); in create_compatible_property()
765 "compatible", strs, list_len); in create_compatible_property()
769 for (i = 0; i < list_len; i++) in create_compatible_property()
772 kmem_free(strs, list_len * sizeof (char *)); in create_compatible_property()
/titanic_41/usr/src/lib/libsasl/lib/
H A Dclient.c744 size_t list_len; local
793 list_len = strlen(mechlist);
795 while (pos<list_len)
798 while ((pos<list_len) && (isalnum((unsigned char)mechlist[pos])
806 while(pos<list_len && (isalnum((unsigned char)mechlist[pos])
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dmpapi_impl.c575 int list_len = mpioc->mp_olen/sizeof (uint64_t); in vhci_get_dev_prod_list() local
593 if (count < list_len) { in vhci_get_dev_prod_list()
668 int list_len = mpioc->mp_olen/sizeof (uint64_t); in vhci_get_lu_list() local
680 if (count < list_len) { in vhci_get_lu_list()
718 int list_len = mpioc->mp_olen/sizeof (uint64_t); in vhci_get_lu_list_from_tpg() local
751 if (count < list_len) { in vhci_get_lu_list_from_tpg()
791 int list_len = mpioc->mp_olen/sizeof (uint64_t); in vhci_get_tpg_list_for_lu() local
823 if (count < list_len) { in vhci_get_tpg_list_for_lu()
910 int list_len = mpioc->mp_olen/sizeof (uint64_t); in vhci_get_path_list_for_mp_lu() local
958 if (count < list_len) { in vhci_get_path_list_for_mp_lu()
[all …]
H A Dscsi_vhci.c4531 int config_list_len = 0, list_len = 0; in vhci_parse_mpxio_lb_options() local
4540 list_len = config_list_len; in vhci_parse_mpxio_lb_options()
4607 if (list_len > 0) { in vhci_parse_mpxio_lb_options()
4608 kmem_free(config_list, list_len); in vhci_parse_mpxio_lb_options()
4620 caddr_t datanameptr, int list_len) in vhci_parse_mpxio_options() argument
4630 while (len < list_len && in vhci_parse_mpxio_options()
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_ci.c2057 uint_t list_len, ibt_pmr_attr_t *pmr, ibc_ma_hdl_t *ma_hdl_p) in hermon_map_mem_area_fmr() argument
2113 ma_hdl->h_ma_real_len = list_len * sizeof (ibt_phys_addr_t); in hermon_map_mem_area_fmr()
2130 if (i >= list_len) { in hermon_map_mem_area_fmr()
2191 void *ibtl_reserved, uint_t list_len, ibt_reg_req_t *reg_req, in hermon_ci_map_mem_area() argument
2211 return (hermon_map_mem_area_fmr(hca, va_attrs, list_len, in hermon_ci_map_mem_area()
2261 status = ddi_dma_mem_alloc(ma_hdl->h_ma_list_hdl, (list_len + 1 + in hermon_ci_map_mem_area()
2262 list_len / (HERMON_PAGESIZE / sizeof (ibt_phys_addr_t))) * in hermon_ci_map_mem_area()
2314 if (i >= list_len) { in hermon_ci_map_mem_area()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_client.c3027 int list_len = 1; in nfs_add_locking_id() local
3074 ++list_len; in nfs_add_locking_id()
3080 if (list_len > nfs_len_add_locking_id) { in nfs_add_locking_id()
3081 nfs_len_add_locking_id = list_len; in nfs_add_locking_id()
3083 if (list_len > nfs_lmpl_high_water) { in nfs_add_locking_id()
3085 "vp=%p is %d", (void *)vp, list_len); in nfs_add_locking_id()
/titanic_41/usr/src/lib/libnisdb/
H A Ddb.cc784 answer->list.list_len = count; in get_log_entries_since()
/titanic_41/usr/src/uts/common/io/aac/
H A Daac.c7297 int list_len = 0; in aac_config_tgt() local
7346 list_len = data; in aac_config_tgt()
7347 if (buf_len < list_len + AAC_SCSI_RPTLUNS_HEAD_SIZE) { in aac_config_tgt()
7350 buf_len = list_len + AAC_SCSI_RPTLUNS_HEAD_SIZE; in aac_config_tgt()
7358 for (i = 0; i < (list_len / AAC_SCSI_RPTLUNS_ADDR_SIZE); i++) { in aac_config_tgt()
/titanic_41/usr/src/uts/common/io/scsi/targets/
H A Dst.c1984 st_validate_conf_data(struct scsi_tape *un, int *list, int list_len, in st_validate_conf_data() argument
1997 "Checking %d entrys total with %d densities\n", list_len, list[4]); in st_validate_conf_data()
1999 count = list_len; in st_validate_conf_data()
2034 if ((type == 1) && (list_len - ndens) != 6) { in st_validate_conf_data()
2038 conf_name, ndens, list_len, 6 + ndens); in st_validate_conf_data()
2039 } else if ((type == 2) && (list_len - ndens) != 13) { in st_validate_conf_data()
2043 conf_name, ndens, list_len, 13 + ndens); in st_validate_conf_data()
H A Dsd.c1244 int list_len, char *dataname_ptr);
4595 int list_len, char *dataname_ptr) in sd_chk_vers1_data() argument
4636 if (list_len < (index + 2)) { in sd_chk_vers1_data()
/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_ci.c3054 void *ibtl_reserved, uint_t list_len, ibt_reg_req_t *reg_req, in tavor_ci_map_mem_area() argument