Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/latencytop/common/
H A Ddisplay.c489 if (i != list_len) { in print_taskbar_thread()
599 if (*list_index >= *list_len) { in get_plist()
619 if (*list_index >= *list_len) { in get_plist()
625 *list_index < *list_len && in get_plist()
631 if (*list_index >= *list_len) { in get_plist()
795 int list_len = 0; in lt_display_loop() local
813 if (list_len != 0) { in lt_display_loop()
820 list_len, list_index); in lt_display_loop()
924 if (list_index >= list_len) { in lt_display_loop()
925 list_index = list_len - 1; in lt_display_loop()
[all …]
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_ancil.c121 add_in_maplist(char *mapname, char ***list, int *list_len) { in add_in_maplist() argument
132 *list_len = 0; in add_in_maplist()
146 if (*list_len == -1) { in add_in_maplist()
147 *list_len = i; in add_in_maplist()
151 if (i+1 >= *list_len) { in add_in_maplist()
153 (*list_len + ARRAY_CHUNK) * in add_in_maplist()
159 *list_len += ARRAY_CHUNK; in add_in_maplist()
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Ddisk_discovery.c146 int list_len, count; in device_get_disk_cfga_info() local
155 &list_len, NULL, NULL, NULL, CFGA_FLAG_LIST_ALL); in device_get_disk_cfga_info()
158 if (cfga_err != CFGA_OK || list_len == 0) { in device_get_disk_cfga_info()
163 if (list_len > 1) { in device_get_disk_cfga_info()
164 for (count = 1; count < list_len; count++) { in device_get_disk_cfga_info()
/illumos-gate/usr/src/cmd/fs.d/ufs/roll_log/
H A Droll_log.c260 static size_t list_len = sizeof (tmp_dir_list) / in make_mp() local
274 for (i = 0; i < list_len; i++) { in make_mp()
319 for (i = 0; i < list_len; i++) { in make_mp()
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dacpi_enum.c800 int list_len, i; in create_compatible_property() local
804 list_len = 0; in create_compatible_property()
807 list_len++; in create_compatible_property()
811 strs = kmem_zalloc(list_len * sizeof (char *), KM_SLEEP); in create_compatible_property()
823 "compatible", strs, list_len); in create_compatible_property()
827 for (i = 0; i < list_len; i++) in create_compatible_property()
830 kmem_free(strs, list_len * sizeof (char *)); in create_compatible_property()
/illumos-gate/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])
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dmpapi_impl.c561 int list_len = mpioc->mp_olen / sizeof (uint64_t); in vhci_get_dev_prod_list() local
579 if (count < list_len) { in vhci_get_dev_prod_list()
654 int list_len = mpioc->mp_olen / sizeof (uint64_t); in vhci_get_lu_list() local
666 if (count < list_len) { in vhci_get_lu_list()
737 if (count < list_len) { in vhci_get_lu_list_from_tpg()
809 if (count < list_len) { in vhci_get_tpg_list_for_lu()
944 if (count < list_len) { in vhci_get_path_list_for_mp_lu()
1047 if (count < list_len) { in vhci_get_path_list_for_init_port()
1132 if (count < list_len) { in vhci_get_path_list_for_target_port()
1241 if (count < list_len) { in vhci_get_init_port_list()
[all …]
H A Dscsi_vhci.c4538 int config_list_len = 0, list_len = 0; in vhci_parse_mpxio_lb_options() local
4547 list_len = config_list_len; in vhci_parse_mpxio_lb_options()
4614 if (list_len > 0) { in vhci_parse_mpxio_lb_options()
4615 kmem_free(config_list, list_len); in vhci_parse_mpxio_lb_options()
4627 caddr_t datanameptr, int list_len) in vhci_parse_mpxio_options() argument
4637 while (len < list_len && in vhci_parse_mpxio_options()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/
H A Dsmartpqi_init.c1653 uint32_t list_len = 0; in report_luns_by_cmd() local
1663 list_len = new_list_len; in report_luns_by_cmd()
1670 } while (new_list_len > list_len); in report_luns_by_cmd()
1702 size_t list_len; in get_device_list() local
1714 list_len = ntohl(log_data->header.list_length); in get_device_list()
1718 list_len = 0; in get_device_list()
1721 data_len = sizeof (header) + list_len; in get_device_list()
1728 internal_log->header.list_length = htonl(list_len + in get_device_list()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_client.c3038 int list_len = 1; in nfs_add_locking_id() local
3085 ++list_len; in nfs_add_locking_id()
3091 if (list_len > nfs_len_add_locking_id) { in nfs_add_locking_id()
3092 nfs_len_add_locking_id = list_len; in nfs_add_locking_id()
3094 if (list_len > nfs_lmpl_high_water) { in nfs_add_locking_id()
3096 "vp=%p is %d", (void *)vp, list_len); in nfs_add_locking_id()
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb.cc782 answer->list.list_len = count; in get_log_entries_since()
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac.c7303 int list_len = 0; in aac_config_tgt() local
7352 list_len = data; in aac_config_tgt()
7353 if (buf_len < list_len + AAC_SCSI_RPTLUNS_HEAD_SIZE) { in aac_config_tgt()
7356 buf_len = list_len + AAC_SCSI_RPTLUNS_HEAD_SIZE; in aac_config_tgt()
7364 for (i = 0; i < (list_len / AAC_SCSI_RPTLUNS_ADDR_SIZE); i++) { in aac_config_tgt()
/illumos-gate/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.c804 int list_len, char *dataname_ptr);
4063 int list_len, char *dataname_ptr) in sd_chk_vers1_data() argument
4104 if (list_len < (index + 2)) { in sd_chk_vers1_data()
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_ci.c2523 void *ibtl_reserved, uint_t list_len, ibt_reg_req_t *reg_req, in tavor_ci_map_mem_area() argument