Home
last modified time | relevance | path

Searched refs:num_entries (Results 1 – 25 of 47) sorted by relevance

12

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_nat.c131 int32_t i, num_entries; in ilbadm_show_info() local
144 num_entries = -1; in ilbadm_show_info()
148 num_entries = atoi(argv[1]); in ilbadm_show_info()
149 if (num_entries < 1) { in ilbadm_show_info()
164 if ((buf.buf = malloc((num_entries > 0 ? num_entries : NUM_ENTRIES) * in ilbadm_show_info()
175 num = num_entries > 0 ? num_entries : NUM_ENTRIES; in ilbadm_show_info()
192 if (num_entries > 0) { in ilbadm_show_info()
193 num_entries -= num; in ilbadm_show_info()
194 if (num_entries <= 0) in ilbadm_show_info()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dstage2.c237 run_menu (char *menu_entries, char *config_entries, int num_entries, in run_menu() argument
311 print_entries_raw (num_entries, first_entry, menu_entries); in run_menu()
448 && first_entry + entryno + 1 < num_entries) in run_menu()
466 else if (num_entries > MENU_ROWS + first_entry) in run_menu()
490 if (first_entry + entryno + 1 >= num_entries) in run_menu()
492 first_entry = num_entries - MENU_ROWS; in run_menu()
495 entryno = num_entries - first_entry - 1; in run_menu()
543 num_entries++; in run_menu()
545 else if (num_entries > 0) in run_menu()
555 num_entries--; in run_menu()
[all …]
H A Dfsys_reiserfs.c1134 int num_entries; in reiserfs_dir() local
1152 num_entries = INFO->current_ih->u.ih_entry_count; in reiserfs_dir()
1153 while (num_entries > 0) in reiserfs_dir()
1190 num_entries--; in reiserfs_dir()
H A Dbuiltins.c162 int num_entries = 0; in blocklist_func() local
185 grub_printf ("%s%d+%d", num_entries ? "," : "", in blocklist_func()
188 grub_printf ("%s%d+%d,%d[0-%d]", num_entries ? "," : "", in blocklist_func()
193 grub_printf ("%s%d[0-%d]", num_entries ? "," : "", in blocklist_func()
195 num_entries++; in blocklist_func()
202 grub_printf("%s%u[%d-%d]", num_entries ? "," : "", in blocklist_func()
204 num_entries++; in blocklist_func()
239 grub_printf ("%s%d+%d", num_entries ? "," : "", in blocklist_func()
/titanic_41/usr/src/cmd/lms/tools/
H A DATVersion.cpp116 int num_entries; in IsAppRunning() local
149 num_entries = scandir("/proc", &namelist, 0, alphasort); in IsAppRunning()
150 if (num_entries < 0) { in IsAppRunning()
159 while (num_entries--) { in IsAppRunning()
160 char *pidstr = namelist[num_entries]->d_name; in IsAppRunning()
178 free(namelist[num_entries]); in IsAppRunning()
/titanic_41/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_hash.c66 unsigned long num_entries; member
232 p_table->num_entries++; in dapli_hash_add()
252 p_table->num_entries++; in dapli_hash_add()
266 p_table->hash_tbl_total += p_table->num_entries; in dapli_hash_add()
268 if (p_table->num_entries > p_table->hash_tbl_max) { in dapli_hash_add()
269 p_table->hash_tbl_max = p_table->num_entries; in dapli_hash_add()
428 *p_size = p_table->num_entries; in dapls_hash_size()
517 if (p_table->num_entries == 0) { in dapls_hash_remove()
528 p_table->num_entries--; in dapls_hash_remove()
559 if (p_table->num_entries == 0) { in dapls_hash_iterate()
/titanic_41/usr/src/cmd/tnf/tnfdump/
H A Dtable.c49 table_grow(int num_entries) in table_grow() argument
54 table_size = num_entries; in table_grow()
60 table_size += num_entries; in table_grow()
/titanic_41/usr/src/uts/sun4u/io/
H A Drmclomv.c607 ptr->num_entries = num; in create_cache_section()
724 for (i = 0; i < section->num_entries; i++) { in get_sensor_by_name()
749 for (i = 0; i < next->num_entries; i++) { in rmclomv_hdl_to_envhdl()
1306 for (i = index; i < section->num_entries; i++) { in validate_section_entry()
1336 section->num_entries--; in validate_section_entry()
1338 for (i = index; i < section->num_entries; i++) { in validate_section_entry()
1366 for (index = 0; index < section->num_entries; index++) { in add_names_to_section()
1382 for (index = 0; index < section->num_entries; index++) { in add_names_to_section()
1389 section->num_entries, section->sensor_type); in add_names_to_section()
1415 RMCLOMV_MAX_VI_PER_PSU * psu_section->num_entries); in make_psu_subsections()
[all …]
/titanic_41/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_error.c107 uint_t num_entries; member
210 if (entry >= sbdp_error_matrix[index].num_entries) { in sbdp_passthru_inject_error()
290 if (entry >= sbdp_error_matrix[index].num_entries) { in sbdp_inject_error()
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dreplay.c53 static int num_entries = 0; variable
155 num_entries++; in kdc_insert_lookaside()
/titanic_41/usr/src/uts/sun4u/cpu/
H A Dus3_cheetahplus.c1134 uint8_t num_entries, tlb_data_words; in cpu_payload_add_tlb() local
1146 num_entries = (uint8_t)(PN_ITLB_NWAYS * PN_NUM_512_ITLBS); in cpu_payload_add_tlb()
1148 num_entries; in cpu_payload_add_tlb()
1157 DATA_TYPE_UINT8, num_entries, NULL); in cpu_payload_add_tlb()
1164 num_entries = (uint8_t)(PN_DTLB_NWAYS * PN_NUM_512_DTLBS); in cpu_payload_add_tlb()
1166 num_entries; in cpu_payload_add_tlb()
1178 DATA_TYPE_UINT8, num_entries, NULL); in cpu_payload_add_tlb()
/titanic_41/usr/src/uts/sun4u/sys/
H A Drmclomv_impl.h109 uint16_t num_entries; member
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/
H A Dlm_vf.c2058 u8_t num_entries, idx_entries; in lm_vf_pf_set_q_filters() local
2085 num_entries = resp->resc.num_mac_filters; in lm_vf_pf_set_q_filters()
2088 num_entries = min((u32_t)num_entries, buf_len/ETHERNET_ADDRESS_SIZE); in lm_vf_pf_set_q_filters()
2090 mess->n_mac_vlan_filters = num_entries; in lm_vf_pf_set_q_filters()
2091 for (idx_entries = 0; idx_entries < num_entries; idx_entries++) { in lm_vf_pf_set_q_filters()
2113 num_entries = resp->resc.num_mc_filters; in lm_vf_pf_set_q_filters()
2115 num_entries = min((u32_t)num_entries, buf_len/ETHERNET_ADDRESS_SIZE); in lm_vf_pf_set_q_filters()
2117 DbgMessage(pdev, FATAL, "Q_FILTER_MC: %d entries\n", num_entries); in lm_vf_pf_set_q_filters()
2118 mess->n_multicast = num_entries; in lm_vf_pf_set_q_filters()
2119 for (idx_entries = 0; idx_entries < num_entries; idx_entries++) { in lm_vf_pf_set_q_filters()
[all …]
/titanic_41/usr/src/uts/common/io/hxge/
H A Dhxge_hw.c719 uint32_t num_entries; in hxge_rtrace_ioctl() local
735 num_entries = rtp->last_idx; in hxge_rtrace_ioctl()
739 HXGE_DEBUG_MSG((hxgep, STR_CTL, "num_entries = %d\n", num_entries)); in hxge_rtrace_ioctl()
745 for (i = 0, j = base_entry; i < num_entries; i++, j++) { in hxge_rtrace_ioctl()
/titanic_41/usr/src/lib/libadutils/common/
H A Dadutils_impl.h92 uint_t num_entries; member
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_menlo.h831 uint16_t num_entries; member
840 uint16_t num_entries; member
906 uint16_t num_entries; /* Number of entries in data array */ member
916 uint16_t num_entries; /* Number of entries in data array */ member
/titanic_41/usr/src/lib/libnwam/common/
H A Dlibnwam_object.c526 struct nwam_prop_table_entry *end = cur + table.num_entries; in nwam_get_prop_table_entry()
722 struct nwam_prop_table_entry *end = cur + table.num_entries; in nwam_get_default_proplist()
729 list = calloc(table.num_entries, sizeof (char *)); in nwam_get_default_proplist()
H A Dlibnwam_impl.h129 uint_t num_entries; member
/titanic_41/usr/src/cmd/mdb/sun4v/modules/ldc/
H A Dldc.c384 addr, mtbl.num_entries, mtbl.num_avail, mtbl.table); in ldcmtbl()
399 for (i = 0; i < mtbl.num_entries; i++) { in ldcmtbl()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_flash.c564 qlge->flt.num_entries = (uint16_t)(qlge->flt.header.length / in ql_flash_flt()
570 __func__, qlge->instance, qlge->flt.num_entries)); in ql_flash_flt()
580 for (cnt = 0; cnt < qlge->flt.num_entries; cnt++) { in ql_flash_flt()
591 for (cnt = 0; cnt < qlge->flt.num_entries; cnt++) { in ql_flash_flt()
617 for (cnt = 0; cnt < qlge->flt.num_entries; cnt++) { in ql_flash_flt()
/titanic_41/usr/src/uts/common/sys/
H A Ddnlc.h287 dcret_t dnlc_dir_start(dcanchor_t *dcap, uint_t num_entries);
/titanic_41/usr/src/cmd/hal/hald/
H A Ddevice_info.c1491 int num_entries; in scan_fdi_files() local
1499 num_entries = scandir (dir, &name_list, 0, my_alphasort); in scan_fdi_files()
1500 if (num_entries == -1) { in scan_fdi_files()
1504 for (i = num_entries - 1; i >= 0; i--) { in scan_fdi_files()
/titanic_41/usr/src/uts/common/xen/public/
H A Dplatform.h283 uint64_t num_entries; member
/titanic_41/usr/src/uts/common/io/nxge/
H A Dnxge_hw.c1253 uint32_t num_entries; in nxge_rtrace_ioctl() local
1268 num_entries = rtp->last_idx; in nxge_rtrace_ioctl()
1272 NXGE_DEBUG_MSG((nxgep, STR_CTL, "num_entries = %d\n", num_entries)); in nxge_rtrace_ioctl()
1278 for (i = 0, j = base_entry; i < num_entries; i++, j++) { in nxge_rtrace_ioctl()
/titanic_41/usr/src/uts/sun4v/io/
H A Dldc_shm.c401 mtbl->num_entries = mtbl->num_avail = ldc_maptable_entries; in i_ldc_mem_bind_handle()
415 mtbl->num_entries = mtbl->num_avail = in i_ldc_mem_bind_handle()
419 "to %lx entries\n", ldcp->id, mtbl->num_entries); in i_ldc_mem_bind_handle()
430 va_to_pa(mtbl->table), mtbl->num_entries); in i_ldc_mem_bind_handle()
549 index = (index + 1) % mtbl->num_entries; in i_ldc_mem_bind_handle()
632 index = (index + 1) % mtbl->num_entries; in i_ldc_mem_bind_handle()

12