Home
last modified time | relevance | path

Searched refs:blk (Results 1 – 25 of 49) sorted by relevance

12

/f-stack/dpdk/drivers/net/ice/base/
H A Dice_flex_pipe.c2266 fv_ext = hw->blk[blk].es.t + (prof * hw->blk[blk].es.fvw); in ice_find_prot_off()
2770 &hw->blk[blk].xlt2.vsis[vsi]; in ice_vsig_add_mv_vsi()
2772 hw->blk[blk].xlt2.t[vsi] = vsig; in ice_vsig_add_mv_vsi()
2799 for (i = hw->blk[blk].masks.first; i < hw->blk[blk].masks.first + in ice_prof_has_mask_idx()
3133 i < hw->blk[blk].masks.first + hw->blk[blk].masks.count; i++) in ice_init_prof_masks()
3170 i < hw->blk[blk].masks.first + hw->blk[blk].masks.count; i++) in ice_alloc_prof_mask()
3230 mask_idx < hw->blk[blk].masks.first + hw->blk[blk].masks.count)) in ice_free_prof_mask()
3296 i < hw->blk[blk].masks.first + hw->blk[blk].masks.count; i++) { in ice_shutdown_prof_masks()
3384 ice_memset(&hw->blk[blk].es.t[off], 0, hw->blk[blk].es.fvw * in ice_write_es()
3388 ice_memcpy(&hw->blk[blk].es.t[off], fv, hw->blk[blk].es.fvw * in ice_write_es()
[all …]
H A Dice_flex_pipe.h28 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx,
53 ice_vsig_find_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 *vsig);
55 ice_add_prof(struct ice_hw *hw, enum ice_block blk, u64 id, u8 ptypes[],
61 ice_search_prof_id(struct ice_hw *hw, enum ice_block blk, u64 id);
63 ice_add_vsi_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig);
65 ice_add_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl);
67 ice_rem_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl);
77 ice_rem_prof(struct ice_hw *hw, enum ice_block blk, u64 id);
H A Dice_flow.c1017 u8 fv_words = hw->blk[params->blk].es.fvw; in ice_flow_xtract_pkt_flags()
1027 if (hw->blk[params->blk].es.reverse) in ice_flow_xtract_pkt_flags()
1057 u8 fv_words = hw->blk[params->blk].es.fvw; in ice_flow_xtract_fld()
1236 if (hw->blk[params->blk].es.reverse) in ice_flow_xtract_fld()
1279 fv_words = hw->blk[params->blk].es.fvw; in ice_flow_xtract_raws()
1309 if (params->es_cnt >= hw->blk[params->blk].es.count || in ice_flow_xtract_raws()
1314 if (hw->blk[params->blk].es.reverse) in ice_flow_xtract_raws()
1659 ice_acquire_lock(&hw->blk[blk].es.prof_map_lock); in ice_flow_get_hw_prof()
1665 ice_release_lock(&hw->blk[blk].es.prof_map_lock); in ice_flow_get_hw_prof()
1870 params->blk = blk; in ice_flow_add_prof_sync()
[all …]
H A Dice_flow.h508 ice_flow_find_prof(struct ice_hw *hw, enum ice_block blk, enum ice_flow_dir dir,
511 ice_flow_add_prof(struct ice_hw *hw, enum ice_block blk, enum ice_flow_dir dir,
516 ice_flow_rem_prof(struct ice_hw *hw, enum ice_block blk, u64 prof_id);
518 ice_flow_assoc_prof(struct ice_hw *hw, enum ice_block blk,
521 ice_flow_assoc_vsig_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi_handle,
524 ice_flow_get_hw_prof(struct ice_hw *hw, enum ice_block blk, u64 prof_id,
527 u64 ice_flow_find_entry(struct ice_hw *hw, enum ice_block blk, u64 entry_id);
529 ice_flow_add_entry(struct ice_hw *hw, enum ice_block blk, u64 prof_id,
534 ice_flow_rem_entry(struct ice_hw *hw, enum ice_block blk, u64 entry_h);
/f-stack/freebsd/crypto/aesni/
H A Daesni_wrap.c89 blks->blk[2], blks->blk[3], blks->blk[4], blks->blk[5], in aesni_decrypt_cbc()
124 blks->blk[2], blks->blk[3], blks->blk[4], blks->blk[5], in aesni_encrypt_ecb()
125 blks->blk[6], blks->blk[7], tout); in aesni_encrypt_ecb()
163 blks->blk[2], blks->blk[3], blks->blk[4], blks->blk[5], in aesni_decrypt_ecb()
164 blks->blk[6], blks->blk[7], tout); in aesni_decrypt_ecb()
249 top->blk[0] = blks->blk[0] ^ tout[0]; in aesni_encrypt_icm()
250 top->blk[1] = blks->blk[1] ^ tout[1]; in aesni_encrypt_icm()
251 top->blk[2] = blks->blk[2] ^ tout[2]; in aesni_encrypt_icm()
252 top->blk[3] = blks->blk[3] ^ tout[3]; in aesni_encrypt_icm()
253 top->blk[4] = blks->blk[4] ^ tout[4]; in aesni_encrypt_icm()
[all …]
/f-stack/freebsd/kern/
H A Dsubr_blist.c309 return (blk); in blist_alloc()
613 daddr_t blk; in blst_next_leaf_alloc() local
617 for (blk = start; blk - start < maxcount; blk += BLIST_RADIX) { in blst_next_leaf_alloc()
735 blk -= blk & BLIST_MASK; in blst_leaf_alloc()
823 cursor = blk; in blst_meta_alloc()
843 cursor = blk; in blst_meta_alloc()
912 if (blk != 0) in blst_meta_free()
920 blk += radix; in blst_meta_free()
973 blk += radix; in blst_copy()
1027 if (blk != 0) in blst_meta_fill()
[all …]
/f-stack/freebsd/opencrypto/
H A Dcryptosoft.c183 inblk = blk; in swcr_encdec()
186 outblk = blk; in swcr_encdec()
263 inblk = blk; in swcr_encdec()
267 outblk = blk; in swcr_encdec()
280 explicit_bzero(blk, sizeof(blk)); in swcr_encdec()
426 inblk = blk; in swcr_gmac()
576 exf->encrypt_last(swe->sw_kschedule, blk, blk, resid); in swcr_gcm()
631 exf->decrypt_last(swe->sw_kschedule, blk, blk, resid); in swcr_gcm()
804 exf->encrypt_last(swe->sw_kschedule, blk, blk, resid); in swcr_ccm()
807 exf->decrypt_last(swe->sw_kschedule, blk, blk, resid); in swcr_ccm()
[all …]
H A Dxform_sha1.c102 SHA1Final_int(uint8_t *blk, void *ctx) in SHA1Final_int() argument
104 SHA1Final(blk, ctx); in SHA1Final_int()
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_rxtx_vec_common.h109 unsigned int blk = 0; in bnxt_tx_cmp_vec_fast() local
116 free[blk++] = tx_buf->mbuf; in bnxt_tx_cmp_vec_fast()
119 if (blk) in bnxt_tx_cmp_vec_fast()
120 rte_mempool_put_bulk(free[0]->pool, (void **)free, blk); in bnxt_tx_cmp_vec_fast()
131 unsigned int blk = 0; in bnxt_tx_cmp_vec() local
145 if (blk && mbuf->pool != free[0]->pool) { in bnxt_tx_cmp_vec()
146 rte_mempool_put_bulk(free[0]->pool, (void **)free, blk); in bnxt_tx_cmp_vec()
147 blk = 0; in bnxt_tx_cmp_vec()
149 free[blk++] = mbuf; in bnxt_tx_cmp_vec()
151 if (blk) in bnxt_tx_cmp_vec()
[all …]
H A Dbnxt_txr.c349 unsigned int blk = 0; in bnxt_tx_cmp_fast() local
361 free[blk++] = tx_buf->mbuf; in bnxt_tx_cmp_fast()
368 if (blk) in bnxt_tx_cmp_fast()
369 rte_mempool_put_bulk(free[0]->pool, (void *)free, blk); in bnxt_tx_cmp_fast()
380 unsigned int blk = 0; in bnxt_tx_cmp() local
404 free[blk++] = mbuf; in bnxt_tx_cmp()
413 blk); in bnxt_tx_cmp()
418 blk = 1; in bnxt_tx_cmp()
422 if (blk) in bnxt_tx_cmp()
423 rte_mempool_put_bulk(pool, (void *)free, blk); in bnxt_tx_cmp()
/f-stack/freebsd/contrib/zstd/zlibWrapper/examples/
H A Dfitblk_original.c132 unsigned char *blk; /* intermediate and final stream */ in main() local
147 blk = malloc(size + EXCESS); in main()
152 if (ret != Z_OK || blk == NULL) in main()
157 def.next_out = blk; in main()
166 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout)) in main()
172 free(blk); in main()
194 inf.next_in = blk; in main()
211 def.next_out = blk; in main()
219 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout)) in main()
228 free(blk); in main()
H A Dfitblk.c144 unsigned char *blk; /* intermediate and final stream */ in main() local
162 blk = (unsigned char*)malloc(size + EXCESS); in main()
167 if (ret != Z_OK || blk == NULL) in main()
172 def.next_out = blk; in main()
189 free(blk); in main()
211 inf.next_in = blk; in main()
230 def.next_out = blk; in main()
249 free(blk); in main()
/f-stack/freebsd/contrib/openzfs/module/icp/algs/sha1/
H A Dsha1.c387 w_15 = LOAD_BIG_32(blk + 60);
389 w_14 = LOAD_BIG_32(blk + 56);
391 w_13 = LOAD_BIG_32(blk + 52);
393 w_12 = LOAD_BIG_32(blk + 48);
395 w_11 = LOAD_BIG_32(blk + 44);
397 w_10 = LOAD_BIG_32(blk + 40);
399 w_9 = LOAD_BIG_32(blk + 36);
401 w_8 = LOAD_BIG_32(blk + 32);
403 w_7 = LOAD_BIG_32(blk + 28);
405 w_6 = LOAD_BIG_32(blk + 24);
[all …]
/f-stack/freebsd/contrib/openzfs/module/icp/algs/sha2/
H A Dsha2.c198 w0 = LOAD_BIG_32(blk + 4 * 0); in SHA256Transform()
201 w1 = LOAD_BIG_32(blk + 4 * 1); in SHA256Transform()
204 w2 = LOAD_BIG_32(blk + 4 * 2); in SHA256Transform()
207 w3 = LOAD_BIG_32(blk + 4 * 3); in SHA256Transform()
210 w4 = LOAD_BIG_32(blk + 4 * 4); in SHA256Transform()
213 w5 = LOAD_BIG_32(blk + 4 * 5); in SHA256Transform()
216 w6 = LOAD_BIG_32(blk + 4 * 6); in SHA256Transform()
219 w7 = LOAD_BIG_32(blk + 4 * 7); in SHA256Transform()
222 w8 = LOAD_BIG_32(blk + 4 * 8); in SHA256Transform()
225 w9 = LOAD_BIG_32(blk + 4 * 9); in SHA256Transform()
[all …]
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dvhost_blk.rst8 which used as the backend of Qemu vhost-user-blk device. Users can extend
15 Development Kit, https://github.com/spdk/spdk) vhost-user-blk target,
54 -device vhost-user-blk-pci,packed=on,chardev=char0,num-queues=1 \
58 You must check whether your Qemu can support "vhost-user-blk" or not,
65 vhost-blk reconnect and packed ring.
/f-stack/freebsd/netinet/
H A Dtcp_subr.c370 blk = f->tf_fb; in find_tcp_functions_locked()
374 return(blk); in find_tcp_functions_locked()
384 if (f->tf_fb == blk) { in find_tcp_fb_locked()
385 rblk = blk; in find_tcp_fb_locked()
402 if (blk) in find_and_ref_tcp_functions()
405 return(blk); in find_and_ref_tcp_functions()
514 if (blk) { in sysctl_net_inet_default_tcp_functions()
529 if ((blk == NULL) || in sysctl_net_inet_default_tcp_functions()
534 tcp_func_set_ptr = blk; in sysctl_net_inet_default_tcp_functions()
922 n->tf_fb = blk; in register_tcp_functions_as_names()
[all …]
H A Dtcp_usrreq.c1830 struct tcp_function_block *blk; in tcp_ctloutput() local
1906 blk = find_and_ref_tcp_functions(&fsn); in tcp_ctloutput()
1907 if (blk == NULL) { in tcp_ctloutput()
1911 if (tp->t_fb == blk) { in tcp_ctloutput()
1913 refcount_release(&blk->tfb_refcnt); in tcp_ctloutput()
1933 refcount_release(&blk->tfb_refcnt); in tcp_ctloutput()
1939 refcount_release(&blk->tfb_refcnt); in tcp_ctloutput()
1959 if (blk->tfb_tcp_fb_init) { in tcp_ctloutput()
1960 error = (*blk->tfb_tcp_fb_init)(tp); in tcp_ctloutput()
1962 refcount_release(&blk->tfb_refcnt); in tcp_ctloutput()
[all …]
/f-stack/freebsd/vm/
H A Dswap_pager.c791 daddr_t blk; in swp_pager_getswapspace() local
797 blk = SWAPBLK_NONE; in swp_pager_getswapspace()
819 blk += sp->sw_first; in swp_pager_getswapspace()
834 return (blk); in swp_pager_getswapspace()
841 return (blk >= sp->sw_first && blk < sp->sw_end); in swp_pager_isondev()
1098 daddr_t blk, blk0; in swap_pager_haspage() local
1230 daddr_t blk; in swap_pager_getpages_locked() local
1329 bp->b_blkno = blk; in swap_pager_getpages_locked()
1516 blk + j); in swap_pager_putpages()
1536 bp->b_blkno = blk; in swap_pager_putpages()
[all …]
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Ddmu_diff.c135 dnode_phys_t *blk; in diff_cb() local
149 blk = abuf->b_data; in diff_cb()
150 for (i = 0; i < epb; i += blk[i].dn_extra_slots + 1) { in diff_cb()
153 err = report_dnode(da, dnobj, blk+i); in diff_cb()
H A Dzap.c254 uint64_t blk = idx >> (bs-3); in zap_table_store() local
296 uint64_t blk = idx >> (bs-3); in zap_table_load() local
320 blk = (idx*2) >> (bs-3); in zap_table_load()
592 ZAP_EMBEDDED_PTRTBL_ENT(zap, idx) = blk; in zap_set_idx_to_blk()
596 idx, blk, tx)); in zap_set_idx_to_blk()
603 uint64_t blk; in zap_deref_leaf() local
616 int err = zap_idx_to_blk(zap, idx, &blk); in zap_deref_leaf()
686 uint64_t blk; in zap_expand_leaf() local
690 ASSERT3U(blk, ==, l->l_blkid); in zap_expand_leaf()
980 uint64_t blk; in fzap_prefetch() local
[all …]
H A Dzil.c354 blkptr_t blk, next_blk; in zil_parse() local
378 for (blk = zh->zh_log; !BP_IS_HOLE(&blk); blk = next_blk) { in zil_parse()
673 blkptr_t blk; in zil_create() local
686 blk = zh->zh_log; in zil_create()
693 if (BP_IS_HOLE(&blk) || BP_SHOULD_BYTESWAP(&blk)) { in zil_create()
699 if (!BP_IS_HOLE(&blk)) { in zil_create()
701 BP_ZERO(&blk); in zil_create()
709 zil_init_log_chain(zilog, &blk); in zil_create()
728 ASSERT(error != 0 || bcmp(&blk, &zh->zh_log, sizeof (blk)) == 0); in zil_create()
3039 blkptr_t blk = zh->zh_log; in zil_sync() local
[all …]
H A Dddt.c346 blkptr_t blk; in ddt_phys_free() local
348 ddt_bp_create(ddt->ddt_checksum, ddk, ddp, &blk); in ddt_phys_free()
354 BP_SET_DEDUP(&blk, 0); in ddt_phys_free()
357 zio_free(ddt->ddt_spa, txg, &blk); in ddt_phys_free()
960 blkptr_t blk; in ddt_repair_entry() local
970 ddt_bp_create(ddt->ddt_checksum, ddk, ddp, &blk); in ddt_repair_entry()
971 zio_nowait(zio_rewrite(zio, zio->io_spa, 0, &blk, in ddt_repair_entry()
985 blkptr_t blk; in ddt_repair_table() local
995 ddt_bp_create(ddt->ddt_checksum, &rdde->dde_key, NULL, &blk); in ddt_repair_table()
996 dde = ddt_repair_start(ddt, &blk); in ddt_repair_table()
/f-stack/dpdk/examples/vhost_blk/
H A DMakefile5 APP = vhost-blk
8 SRCS-y := blk.c vhost_blk.c vhost_blk_compat.c
H A Dmeson.build22 'blk.c', 'vhost_blk.c', 'vhost_blk_compat.c'
/f-stack/app/redis-5.0.5/src/
H A Dsha1.c43 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ macro
48 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30);
49 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30);
50 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30);
51 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);

12