| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | multilist.c | 80 multilist_t *ml = kmem_alloc(sizeof (*ml), KM_SLEEP); in multilist_create_impl() local 81 ml->ml_offset = offset; in multilist_create_impl() 82 ml->ml_num_sublists = num; in multilist_create_impl() 83 ml->ml_index_func = index_func; in multilist_create_impl() 95 return (ml); in multilist_create_impl() 139 kmem_free(ml->ml_sublists, in multilist_destroy() 142 ml->ml_num_sublists = 0; in multilist_destroy() 143 ml->ml_offset = 0; in multilist_destroy() 159 unsigned int sublist_idx = ml->ml_index_func(ml, obj); in multilist_insert() 204 unsigned int sublist_idx = ml->ml_index_func(ml, obj); in multilist_remove() [all …]
|
| H A D | dmu_objset.c | 399 dnode_multilist_index_func(multilist_t *ml, void *obj) in dnode_multilist_index_func() argument 403 multilist_get_num_sublists(ml)); in dnode_multilist_index_func() 1616 multilist_t *ml; in dmu_objset_sync() local 1702 ml = os->os_dirty_dnodes[txgoff]; in dmu_objset_sync() 1703 num_sublists = multilist_get_num_sublists(ml); in dmu_objset_sync() 1705 if (multilist_sublist_is_empty_idx(ml, i)) in dmu_objset_sync() 1708 sda->sda_list = ml; in dmu_objset_sync()
|
| H A D | arc.c | 4079 mls = multilist_sublist_lock(ml, idx); in arc_evict_state_impl() 4208 multilist_t *ml = state->arcs_list[type]; in arc_evict_state() local 4236 mls = multilist_sublist_lock(ml, i); in arc_evict_state() 7332 multilist_get_num_sublists(ml)); in arc_state_multilist_index_func() 8619 multilist_t *ml = NULL; in l2arc_sublist_lock() local 8626 ml = arc_mfu->arcs_list[ARC_BUFC_METADATA]; in l2arc_sublist_lock() 8629 ml = arc_mru->arcs_list[ARC_BUFC_METADATA]; in l2arc_sublist_lock() 8632 ml = arc_mfu->arcs_list[ARC_BUFC_DATA]; in l2arc_sublist_lock() 8635 ml = arc_mru->arcs_list[ARC_BUFC_DATA]; in l2arc_sublist_lock() 8647 idx = multilist_get_random_index(ml); in l2arc_sublist_lock() [all …]
|
| H A D | metaslab.c | 636 multilist_t *ml = mc->mc_metaslab_txg_list; in metaslab_class_evict_old() local 637 for (int i = 0; i < multilist_get_num_sublists(ml); i++) { in metaslab_class_evict_old() 638 multilist_sublist_t *mls = multilist_sublist_lock(ml, i); in metaslab_class_evict_old() 655 mls = multilist_sublist_lock(ml, i); in metaslab_class_evict_old() 1850 metaslab_idx_func(multilist_t *ml, void *arg) in metaslab_idx_func() argument 1853 return (msp->ms_id % multilist_get_num_sublists(ml)); in metaslab_idx_func()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
| H A D | blamka-round-avx2.h | 15 ml = _mm256_add_epi64(ml, ml); \ 20 ml = _mm256_mul_epu32(C0, D0); \ 21 ml = _mm256_add_epi64(ml, ml); \ 27 ml = _mm256_mul_epu32(A1, B1); \ 28 ml = _mm256_add_epi64(ml, ml); \ 33 ml = _mm256_mul_epu32(C1, D1); \ 34 ml = _mm256_add_epi64(ml, ml); \ 44 ml = _mm256_add_epi64(ml, ml); \ 50 ml = _mm256_add_epi64(ml, ml); \ 56 ml = _mm256_add_epi64(ml, ml); \ [all …]
|
| /f-stack/dpdk/lib/librte_ipsec/ |
| H A D | esp_inb.c | 154 ms = ml->next; in move_icv() 155 n = ml->data_len - ofs; in move_icv() 164 ml->data_len -= n; in move_icv() 224 struct rte_mbuf *ml; in inb_prepare() local 239 ml = mbuf_get_seg_ofs(mb, &icv_ofs); in inb_prepare() 247 ml = move_icv(ml, icv_ofs); in inb_prepare() 248 if (ml == NULL) in inb_prepare() 277 ml->data_len += sa->sqh_len; in inb_prepare() 362 ml[0] = mbuf_get_seg_ofs(mb, &ofs); in process_step1() 522 struct rte_mbuf *ml[num]; in tun_process() local [all …]
|
| H A D | esp_outb.c | 113 struct rte_mbuf *ml; in outb_tun_pkt_prepare() local 135 ml = rte_pktmbuf_lastseg(mb); in outb_tun_pkt_prepare() 145 pdofs = ml->data_len; in outb_tun_pkt_prepare() 146 ml->data_len += tlen; in outb_tun_pkt_prepare() 281 struct rte_mbuf *ml; in outb_trs_pkt_prepare() local 306 ml = rte_pktmbuf_lastseg(mb); in outb_trs_pkt_prepare() 316 pdofs = ml->data_len; in outb_trs_pkt_prepare() 317 ml->data_len += tlen; in outb_trs_pkt_prepare() 537 struct rte_mbuf *ml; in esp_outb_sqh_process() local 551 ml->data_len -= sa->sqh_len; in esp_outb_sqh_process() [all …]
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | trace_multilist.h | 47 TP_PROTO(multilist_t *ml, unsigned sublist_idx, void *obj), 48 TP_ARGS(ml, sublist_idx, obj), 56 __entry->ml_offset = ml->ml_offset; 57 __entry->ml_num_sublists = ml->ml_num_sublists; 69 TP_PROTO(multilist_t *ml, unsigned int sublist_idx, void *obj), \ 70 TP_ARGS(ml, sublist_idx, obj))
|
| /f-stack/freebsd/security/mac_lomac/ |
| H A D | mac_lomac.c | 140 struct mac_lomac *ml; in lomac_alloc() local 142 ml = malloc(sizeof(*ml), M_LOMAC, M_ZERO | flag); in lomac_alloc() 144 return (ml); in lomac_alloc() 151 if (ml != NULL) in lomac_free() 152 free(ml, M_LOMAC); in lomac_free() 161 if ((ml->ml_flags & flags) != ml->ml_flags) in lomac_atmostflags() 709 ml = SLOT(label); in lomac_externalize_label() 805 bzero(ml, sizeof(*ml)); in lomac_parse() 853 ml = SLOT(label); in lomac_internalize_label() 854 *ml = ml_temp; in lomac_internalize_label() [all …]
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_thread.c | 1223 union table_rule_match_low_level *ml, 2206 union table_rule_match_low_level *ml, in match_convert() argument 2209 memset(ml, 0, sizeof(*ml)); in match_convert() 2215 ml->acl_add.field_value[0].value.u8 = in match_convert() 2240 ml->acl_add.priority = in match_convert() 2288 ml->acl_add.field_value[0].value.u8 = in match_convert() 2337 ml->acl_add.priority = in match_convert() 2409 ml->array.pos = mh->match.array.pos; in match_convert() 2413 memcpy(ml->hash, mh->match.hash.key, sizeof(ml->hash)); in match_convert() 2418 ml->lpm_ipv4.ip = mh->match.lpm.ipv4; in match_convert() [all …]
|
| H A D | rte_eth_softnic_meter.c | 206 struct softnic_mtr_list *ml = &p->mtr.mtrs; in softnic_mtr_find() local 209 TAILQ_FOREACH(m, ml, node) in softnic_mtr_find() 268 struct softnic_mtr_list *ml = &p->mtr.mtrs; in pmd_mtr_create() local 301 TAILQ_INSERT_TAIL(ml, m, node); in pmd_mtr_create() 316 struct softnic_mtr_list *ml = &p->mtr.mtrs; in pmd_mtr_destroy() local 350 TAILQ_REMOVE(ml, m, node); in pmd_mtr_destroy()
|
| H A D | rte_eth_softnic_flow.c | 1954 struct softnic_mtr_list *ml = &softnic->mtr.mtrs; in flow_meter_owner_reset() local 1957 TAILQ_FOREACH(m, ml, node) in flow_meter_owner_reset()
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | thread.c | 1195 union table_rule_match_low_level *ml, 2352 union table_rule_match_low_level *ml, in match_convert() argument 2355 memset(ml, 0, sizeof(*ml)); in match_convert() 2361 ml->acl_add.field_value[0].value.u8 = in match_convert() 2386 ml->acl_add.priority = in match_convert() 2435 ml->acl_add.field_value[0].value.u8 = in match_convert() 2484 ml->acl_add.priority = in match_convert() 2558 ml->array.pos = mh->match.array.pos; in match_convert() 2562 memcpy(ml->hash, mh->match.hash.key, sizeof(ml->hash)); in match_convert() 2567 ml->lpm_ipv4.ip = mh->match.lpm.ipv4; in match_convert() [all …]
|
| /f-stack/freebsd/mips/mips/ |
| H A D | elf_machdep.c | 176 static struct mips_tmp_reloc *ml = NULL; variable 194 r->next = ml; in mips_tmp_reloc_add() 195 ml = r; in mips_tmp_reloc_add() 212 r = ml; in mips_tmp_reloc_flush() 213 ml = NULL; in mips_tmp_reloc_flush() 229 r = ml; in mips_tmp_reloc_get() 232 ml = ml->next; in mips_tmp_reloc_get()
|
| /f-stack/app/redis-5.0.5/deps/linenoise/ |
| H A D | linenoise.h | 66 void linenoiseSetMultiLine(int ml);
|
| H A D | linenoise.c | 201 void linenoiseSetMultiLine(int ml) { in linenoiseSetMultiLine() argument 202 mlmode = ml; in linenoiseSetMultiLine()
|
| /f-stack/freebsd/contrib/zstd/lib/compress/ |
| H A D | zstd_lazy.c | 620 size_t ml=4-1; in ZSTD_HcFindBestMatch_generic() local 643 if (match[ml] == ip[ml]) /* potentially better */ in ZSTD_HcFindBestMatch_generic() 653 if (currentMl > ml) { in ZSTD_HcFindBestMatch_generic() 654 ml = currentMl; in ZSTD_HcFindBestMatch_generic() 691 return ml; in ZSTD_HcFindBestMatch_generic() 704 if (currentMl > ml) { in ZSTD_HcFindBestMatch_generic() 705 ml = currentMl; in ZSTD_HcFindBestMatch_generic() 709 return ml; in ZSTD_HcFindBestMatch_generic() 769 if (currentMl > ml) { in ZSTD_HcFindBestMatch_generic() 770 ml = currentMl; in ZSTD_HcFindBestMatch_generic() [all …]
|
| H A D | zstd_opt.c | 147 { unsigned ml; in ZSTD_rescaleFreqs() local 151 for (ml=0; ml<=MaxML; ml++) { in ZSTD_rescaleFreqs() 153 U32 const bitCost = FSE_getMaxNbBits(mlstate.symbolTT, ml); in ZSTD_rescaleFreqs() 155 … optPtr->matchLengthFreq[ml] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs() 156 optPtr->matchLengthSum += optPtr->matchLengthFreq[ml]; in ZSTD_rescaleFreqs() 186 { unsigned ml; in ZSTD_rescaleFreqs() local 187 for (ml=0; ml<=MaxML; ml++) in ZSTD_rescaleFreqs() 188 optPtr->matchLengthFreq[ml] = 1; in ZSTD_rescaleFreqs()
|
| /f-stack/app/nginx-1.16.1/src/stream/ |
| H A D | ngx_stream_access_module.c | 216 size_t cl, ml, al; in ngx_stream_access_inet6() local 222 ml = ngx_inet6_ntop(rule6[i].mask.s6_addr, mt, NGX_INET6_ADDRSTRLEN); in ngx_stream_access_inet6() 226 "access: %*s %*s %*s", cl, ct, ml, mt, al, at); in ngx_stream_access_inet6()
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_access_module.c | 220 size_t cl, ml, al; in ngx_http_access_inet6() local 226 ml = ngx_inet6_ntop(rule6[i].mask.s6_addr, mt, NGX_INET6_ADDRSTRLEN); in ngx_http_access_inet6() 230 "access: %*s %*s %*s", cl, ct, ml, mt, al, at); in ngx_http_access_inet6()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_linker.c | 638 modlist_t ml, nextml; in linker_file_unload() local 711 TAILQ_FOREACH_SAFE(ml, &found_modules, link, nextml) { in linker_file_unload() 712 if (ml->container == file) { in linker_file_unload() 713 TAILQ_REMOVE(&found_modules, ml, link); in linker_file_unload() 714 free(ml, M_LINKER); in linker_file_unload()
|
| /f-stack/tools/ipfw/ |
| H A D | ipfw2.c | 3483 long ml = strtol(ptr, &ap, 10); in get_mac_addr_mask() local 3484 if (*ap != 0 || ml > ETHER_ADDR_LEN * 8 || ml < 0) in get_mac_addr_mask() 3486 for (i = 0; ml > 0 && i < ETHER_ADDR_LEN; ml -= 8, i++) in get_mac_addr_mask() 3487 mask[i] = (ml >= 8) ? 0xff: (~0) << (8 - ml); in get_mac_addr_mask()
|
| /f-stack/freebsd/contrib/openzfs/module/zstd/lib/ |
| H A D | zstd.c | 18889 size_t ml=4-1; in ZSTD_HcFindBestMatch_generic() local 18899 if (match[ml] == ip[ml]) /* potentially better */ in ZSTD_HcFindBestMatch_generic() 18909 if (currentMl > ml) { in ZSTD_HcFindBestMatch_generic() 18910 ml = currentMl; in ZSTD_HcFindBestMatch_generic() 18941 if (currentMl > ml) { in ZSTD_HcFindBestMatch_generic() 18942 ml = currentMl; in ZSTD_HcFindBestMatch_generic() 18952 return ml; in ZSTD_HcFindBestMatch_generic() 20293 { unsigned ml; in ZSTD_rescaleFreqs() local 20297 for (ml=0; ml<=MaxML; ml++) { in ZSTD_rescaleFreqs() 20332 { unsigned ml; in ZSTD_rescaleFreqs() local [all …]
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-pci-defs.h | 1394 uint32_t ml : 8; /**< Maximum Latency */ member 1402 uint32_t ml : 8;
|
| H A D | cvmx-pcieepx-defs.h | 2200 uint32_t ml : 8; /**< Maximum Latency (Hardwired to 0) */ member 2213 uint32_t ml : 8;
|