Searched refs:max_cnt (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/uts/sun4u/lw8/io/ |
H A D | sgfru.c | 381 fru_cnt_t max_cnt; in sgfru_getchildlist() local 391 max_cnt = clist.fru_cnt; in sgfru_getchildlist() 392 if ((max_cnt <= 0) || (max_cnt > MAX_HANDLES)) { in sgfru_getchildlist() 397 size = (size_t)(FRU_INFO_SIZE + (max_cnt * NODE_SIZE)); in sgfru_getchildlist() 412 ssize = (size_t)(max_cnt * sizeof (node_t)); in sgfru_getchildlist() 416 if ((ret = sgfru_node_pad(datap, max_cnt, &clist.fru_info, clistp)) in sgfru_getchildlist() 452 fru_cnt_t max_cnt; in sgfru_getchildhandles() local 462 max_cnt = hdls.fru_cnt; in sgfru_getchildhandles() 463 if ((max_cnt <= 0) || (max_cnt > MAX_HANDLES)) { in sgfru_getchildhandles() 468 size = (size_t)(FRU_INFO_SIZE + (max_cnt * FRU_HDL_SIZE)); in sgfru_getchildhandles() [all …]
|
/illumos-gate/usr/src/uts/sun4u/lw8/sys/ |
H A D | sgfru_mbox.h | 331 static int sgfru_node_pad(const caddr_t datap, const int max_cnt, 333 static int sgfru_section_pad(const caddr_t datap, const int max_cnt, 335 static int sgfru_segment_pad(const caddr_t datap, const int max_cnt, 337 static int sgfru_packet_pad(const caddr_t datap, const int max_cnt,
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_lan_hmc.c | 129 full_obj->max_cnt = 0; in i40e_init_lan_hmc() 136 obj->max_cnt = rd32(hw, I40E_GLHMC_LANQMAX); in i40e_init_lan_hmc() 143 if (txq_num > obj->max_cnt) { in i40e_init_lan_hmc() 146 txq_num, obj->max_cnt, ret_code); in i40e_init_lan_hmc() 151 full_obj->max_cnt += obj->max_cnt; in i40e_init_lan_hmc() 156 obj->max_cnt = rd32(hw, I40E_GLHMC_LANQMAX); in i40e_init_lan_hmc() 166 if (rxq_num > obj->max_cnt) { in i40e_init_lan_hmc() 169 rxq_num, obj->max_cnt, ret_code); in i40e_init_lan_hmc() 174 full_obj->max_cnt += obj->max_cnt; in i40e_init_lan_hmc() 179 obj->max_cnt = rd32(hw, I40E_GLHMC_FCOEMAX); in i40e_init_lan_hmc() [all …]
|
H A D | i40e_hmc.h | 52 u32 max_cnt; /* max count available for this hmc func */ member
|
/illumos-gate/usr/src/uts/common/io/bnx/include/ |
H A D | listq.h | 922 unsigned long max_cnt; member 937 unsigned long max_cnt) in q_list_init() argument 939 q_list->max_cnt = max_cnt; in q_list_init() 941 q_list->last_entry_addr = q_list_arr + (max_cnt-1); in q_list_init() 966 if(q_list->cnt < q_list->max_cnt) in q_list_push_head() 1015 if(q_list->cnt < q_list->max_cnt) in q_list_push_tail() 1114 return q_list->cnt == q_list->max_cnt; in q_list_is_full() 1122 (_q_list)->max_cnt = (_max_cnt); \ 1137 if((_q_list)->cnt < (_q_list)->max_cnt) \ 1169 if((_q_list)->cnt < (_q_list)->max_cnt) \ [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/ |
H A D | listq.h | 914 unsigned long max_cnt; member 929 unsigned long max_cnt) in q_list_init() argument 931 q_list->max_cnt = max_cnt; in q_list_init() 933 q_list->last_entry_addr = q_list_arr + (max_cnt-1); in q_list_init() 958 if(q_list->cnt < q_list->max_cnt) in q_list_push_head() 1007 if(q_list->cnt < q_list->max_cnt) in q_list_push_tail() 1106 return q_list->cnt == q_list->max_cnt; in q_list_is_full() 1114 (_q_list)->max_cnt = (_max_cnt); \ 1129 if((_q_list)->cnt < (_q_list)->max_cnt) \ 1161 if((_q_list)->cnt < (_q_list)->max_cnt) \ [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_dr.c | 223 static int max_cnt; in acpidev_dr_max_cpu_units_per_cmp() local 225 if (max_cnt == 0) { in acpidev_dr_max_cpu_units_per_cmp() 227 max_cnt = cpuid_get_ncpu_per_chip(CPU); in acpidev_dr_max_cpu_units_per_cmp() 231 return (max_cnt); in acpidev_dr_max_cpu_units_per_cmp()
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | srvsvc_svc.c | 2059 DWORD max_cnt; in srvsvc_estimate_limit() local 2066 if ((max_cnt = (se->se_prefmaxlen / obj_size)) == 0) { in srvsvc_estimate_limit() 2071 if (se->se_ntotal > max_cnt) in srvsvc_estimate_limit() 2072 se->se_nlimit = max_cnt; in srvsvc_estimate_limit()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcp.c | 9776 uint32_t max_cnt, alloc_cnt; in fcp_handle_port_attach() local 10098 max_cnt = FCP_MAX_DEVICES; in fcp_handle_port_attach() 10101 &tmp_list, &max_cnt, FC_ULP_PLOGI_PRESERVE)) != in fcp_handle_port_attach() 10120 if (max_cnt > alloc_cnt) { in fcp_handle_port_attach() 10121 alloc_cnt = max_cnt; in fcp_handle_port_attach() 10135 max_cnt, pptr->port_id); in fcp_handle_port_attach() 12161 uint32_t max_cnt; in fcp_handle_port_resume() local 12240 max_cnt = alloc_cnt; in fcp_handle_port_resume() 12255 max_cnt = alloc_cnt; in fcp_handle_port_resume() 12257 &tmp_list, &max_cnt, FC_ULP_PLOGI_PRESERVE)) != in fcp_handle_port_resume() [all …]
|