/illumos-gate/usr/src/cmd/latencytop/ |
H A D | display.c | 412 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 …]
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | shim_ancil.c | 121 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 D | disk_discovery.c | 146 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/uts/intel/io/acpica/ |
H A D | acpi_enum.c | 800 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/cmd/fs.d/ufs/roll_log/ |
H A D | roll_log.c | 260 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/lib/libsasl/lib/ |
H A D | client.c | 744 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 D | mpapi_impl.c | 561 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() 704 int list_len = mpioc->mp_olen / sizeof (uint64_t); in vhci_get_lu_list_from_tpg() local 737 if (count < list_len) { in vhci_get_lu_list_from_tpg() 777 int list_len = mpioc->mp_olen / sizeof (uint64_t); in vhci_get_tpg_list_for_lu() local 809 if (count < list_len) { in vhci_get_tpg_list_for_lu() 896 int list_len = mpioc->mp_olen / sizeof (uint64_t); in vhci_get_path_list_for_mp_lu() local 944 if (count < list_len) { in vhci_get_path_list_for_mp_lu() [all …]
|
H A D | scsi_vhci.c | 4538 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/scsi/adapters/smartpqi/ |
H A D | smartpqi_init.c | 1653 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/io/ib/adapters/hermon/ |
H A D | hermon_ci.c | 2057 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/fs/nfs/ |
H A D | nfs_client.c | 3038 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 D | db.cc | 782 answer->list.list_len = count; in get_log_entries_since()
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac.c | 7303 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 D | st.c | 1984 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 D | sd.c | 804 int list_len, char *dataname_ptr); 4062 int list_len, char *dataname_ptr) in sd_chk_vers1_data() argument 4103 if (list_len < (index + 2)) { in sd_chk_vers1_data()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_ci.c | 2523 void *ibtl_reserved, uint_t list_len, ibt_reg_req_t *reg_req, in tavor_ci_map_mem_area() argument
|