Searched refs:howmany (Results 1 – 10 of 10) sorted by relevance
| /xnu-10063.141.1/bsd/sys/ |
| H A D | param.h | 216 #ifndef howmany 217 #define howmany(x, y) ((((x) % (y)) == 0) ? ((x) / (y)) : (((x) / (y)) + 1)) macro
|
| H A D | types.h | 191 #define howmany(x, y) __DARWIN_howmany(x, y) /* # y's == x bits? */ macro
|
| /xnu-10063.141.1/osfmk/kern/ |
| H A D | ipc_kobject.c | 235 int howmany; in mig_init() local 254 for (pos = MIG_HASH(nentry) % MAX_MIG_ENTRIES, howmany = 1; in mig_init() 256 pos++, pos = pos % MAX_MIG_ENTRIES, howmany++) { in mig_init() 261 if (howmany == MAX_MIG_ENTRIES) { in mig_init() 286 if (mig_table_max_displ < howmany) { in mig_init() 287 mig_table_max_displ = howmany; in mig_init()
|
| /xnu-10063.141.1/bsd/net/ |
| H A D | bloom_filter.c | 46 uint32_t num_elements = howmany(num_bits, kNetBloomFilterBitsPerTableElement); in net_bloom_filter_get_size()
|
| H A D | if_headless.c | 453 pp_init.kbi_max_frags = howmany(max_mtu, if_headless_buflet_size); in headless_packet_pool_alloc()
|
| H A D | if_fake.c | 925 pp_init->kbi_max_frags = howmany(max_mtu, buflet_size); in feth_packet_pool_init_prepare()
|
| /xnu-10063.141.1/bsd/kern/ |
| H A D | sys_generic.c | 1297 nw = howmany(uap->nd, NFDBITS); in select_internal() 1475 uint32_t nw = howmany(uap->nd, NFDBITS); in selprocess() 1599 nw = howmany(nfd, NFDBITS); in selscan() 1951 nw = howmany(nfd, NFDBITS); in selcount() 2032 nw = howmany(nfd, NFDBITS); in seldrop_locked()
|
| /xnu-10063.141.1/tests/ |
| H A D | memorystatus_zone_test.c | 651 new_limit = (int)howmany(zone_target * 100, zone_tot); in run_test()
|
| /xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_dp.c | 1749 cnt = howmany(fe->fe_rx_pktq_bytes, PP_BUF_SIZE_DEF(dpp)); in dp_flow_rx_process() 1800 n_bufs = howmany(pkt->pkt_length, PP_BUF_SIZE_DEF(dpp)); in dp_flow_rx_process() 1806 cnt = howmany(fe->fe_rx_pktq_bytes, in dp_flow_rx_process()
|
| /xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_agg.c | 1719 bh_cnt_tmp = howmany(plen, agg_bufsize); in flow_rx_agg_channel()
|