Home
last modified time | relevance | path

Searched refs:max_num (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_nat.c83 uint32_t max_num; in ilbd_show_nat() local
119 max_num = tmp_rbufsz / sizeof (ilb_nat_info_t); in ilbd_show_nat()
124 max_num = min(req_si->sn_num, min(NUM_ENTRIES, max_num)); in ilbd_show_nat()
126 kbufsz = max_num * sizeof (ilb_nat_entry_t) + in ilbd_show_nat()
136 kcmd->num_nat = max_num; in ilbd_show_nat()
204 uint32_t max_num; in ilbd_show_sticky() local
240 max_num = tmp_rbufsz / sizeof (ilb_persist_info_t); in ilbd_show_sticky()
245 max_num = min(req_si->sn_num, min(NUM_ENTRIES, max_num)); in ilbd_show_sticky()
247 kbufsz = max_num * sizeof (ilb_sticky_entry_t) + in ilbd_show_sticky()
257 kcmd->num_sticky = max_num; in ilbd_show_sticky()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/
H A Dlm_vf.c22 u8_t max_num = pf_dev->params.base_fw_ndsb + MAX_RSS_CHAINS / pf_dev->params.vnics_per_port; in lm_vf_get_free_sbs() local
23 …vf_get_free_resource(pf_dev->pf_resources.free_sbs, pf_dev->params.base_fw_ndsb, max_num, num_rss); in lm_vf_get_free_sbs()
25 …age3(pf_dev,FATAL,"lm_vf_get_free_sbs(%d-%d): %d\n",pf_dev->params.base_fw_ndsb, max_num, free_sb); in lm_vf_get_free_sbs()
27 …pf_dev,FATAL,"lm_vf_get_free_sbs(%d-%d): No more free SBs\n",pf_dev->params.base_fw_ndsb, max_num); in lm_vf_get_free_sbs()
35 … u8_t max_num = pf_dev->params.base_fw_client_id + MAX_RSS_CHAINS / pf_dev->params.vnics_per_port; in lm_vf_get_free_clients() local
36 …ee_resource(pf_dev->pf_resources.free_clients, pf_dev->params.base_fw_client_id, max_num, num_rss); in lm_vf_get_free_clients()
38 …v,FATAL,"lm_vf_get_free_clients(%d-%d): %d\n",pf_dev->params.base_fw_client_id, max_num, free_cli); in lm_vf_get_free_clients()
40 …"lm_vf_get_free_clients(%d-%d): No more free clients\n",pf_dev->params.base_fw_client_id, max_num); in lm_vf_get_free_clients()
49 …u8_t max_num = min_num + (MAX_NUM_OF_STATS - pf_dev->params.vnics_per_port) / pf_dev->params.vnics… in lm_vf_get_free_stats() local
50 free_st_id = lm_vf_get_free_resource(pf_dev->pf_resources.free_stats, min_num, max_num, 1); in lm_vf_get_free_stats()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/common/
H A Dlm_vf_common.h340 u8_t lm_vf_get_free_resource(u32_t * resource, u8_t min_num, u8_t max_num, u8_t num);
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_pf.c500 u8_t lm_vf_get_free_resource(u32_t * resource, u8_t min_num, u8_t max_num, u8_t num) in lm_vf_get_free_resource() argument
505 for (i = min_num; i <= (max_num - num); i++) { in lm_vf_get_free_resource()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_cmds.c215 uint64_t max_num = 1ULL << (size * NBBY); in write_var_uint() local
217 if (val >= max_num) { in write_var_uint()