Home
last modified time | relevance | path

Searched refs:block_index (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_keys.c167 int block_index) in mlxsw_afk_picker_subtract_hits() argument
202 int block_index, in mlxsw_afk_picker_key_info_add() argument
251 int block_index; in mlxsw_afk_picker() local
254 if (block_index < 0) { in mlxsw_afk_picker()
255 err = block_index; in mlxsw_afk_picker()
259 block_index, key_info); in mlxsw_afk_picker()
353 int block_index; in mlxsw_afk_key_info_elinst_get() local
364 *p_block_index = block_index; in mlxsw_afk_key_info_elinst_get()
370 int block_index) in mlxsw_afk_key_info_block_encoding_get() argument
475 int block_index, i; in mlxsw_afk_encode() local
[all …]
H A Dspectrum_acl_flex_keys.c103 static void mlxsw_sp1_afk_encode_block(char *output, int block_index, in mlxsw_sp1_afk_encode_block() argument
106 unsigned int offset = block_index * MLXSW_SP1_AFK_KEY_BLOCK_SIZE; in mlxsw_sp1_afk_encode_block()
112 static void mlxsw_sp1_afk_clear_block(char *output, int block_index) in mlxsw_sp1_afk_clear_block() argument
114 unsigned int offset = block_index * MLXSW_SP1_AFK_KEY_BLOCK_SIZE; in mlxsw_sp1_afk_clear_block()
291 if (WARN_ON(block_index < 0 || in __mlxsw_sp2_afk_block_value_set()
292 block_index >= ARRAY_SIZE(mlxsw_sp2_afk_blocks_layout))) in __mlxsw_sp2_afk_block_value_set()
295 block_layout = &mlxsw_sp2_afk_blocks_layout[block_index]; in __mlxsw_sp2_afk_block_value_set()
300 static void mlxsw_sp2_afk_encode_block(char *output, int block_index, in mlxsw_sp2_afk_encode_block() argument
305 __mlxsw_sp2_afk_block_value_set(output, block_index, block_value); in mlxsw_sp2_afk_encode_block()
308 static void mlxsw_sp2_afk_clear_block(char *output, int block_index) in mlxsw_sp2_afk_clear_block() argument
[all …]
H A Dcore_acl_flex_keys.h179 void (*encode_block)(char *output, int block_index, char *block);
180 void (*clear_block)(char *output, int block_index);
198 int block_index);
/openbmc/libcper/
H A Dbase64.c98 INT32 block_index; in base64_decode() local
113 block_index = 0; in base64_decode()
125 block[block_index] = tmp; in base64_decode()
126 block_index++; in base64_decode()
127 if (block_index == 4) { in base64_decode()
143 block_index = 0; in base64_decode()
/openbmc/linux/net/sched/
H A Dsch_ingress.c63 static void ingress_ingress_block_set(struct Qdisc *sch, u32 block_index) in ingress_ingress_block_set() argument
67 q->block_info.block_index = block_index; in ingress_ingress_block_set()
74 return q->block_info.block_index; in ingress_ingress_block_get()
213 static void clsact_ingress_block_set(struct Qdisc *sch, u32 block_index) in clsact_ingress_block_set() argument
217 q->ingress_block_info.block_index = block_index; in clsact_ingress_block_set()
220 static void clsact_egress_block_set(struct Qdisc *sch, u32 block_index) in clsact_egress_block_set() argument
224 q->egress_block_info.block_index = block_index; in clsact_egress_block_set()
231 return q->ingress_block_info.block_index; in clsact_ingress_block_get()
238 return q->egress_block_info.block_index; in clsact_egress_block_get()
H A Dcls_api.c985 u32 block_index, in tcf_block_create() argument
1005 block->index = block_index; in tcf_block_create()
1246 u32 block_index, in __tcf_block_find() argument
1433 if (ei->block_index) in tcf_block_get_ext()
3854 u32 block_index; in tcf_qevent_init() local
3867 qe->info.block_index = block_index; in tcf_qevent_init()
3875 if (qe->info.block_index) in tcf_qevent_destroy()
3883 u32 block_index; in tcf_qevent_validate_change() local
3894 if (block_index != qe->info.block_index) { in tcf_qevent_validate_change()
3909 if (!qe->info.block_index) in tcf_qevent_handle()
[all …]
H A Dsch_api.c922 u32 block_index; in tc_fill_qdisc() local
940 block_index = q->ops->ingress_block_get(q); in tc_fill_qdisc()
941 if (block_index && in tc_fill_qdisc()
946 block_index = q->ops->egress_block_get(q); in tc_fill_qdisc()
947 if (block_index && in tc_fill_qdisc()
1191 u32 block_index; in qdisc_block_indexes_set() local
1196 if (!block_index) { in qdisc_block_indexes_set()
1204 sch->ops->ingress_block_set(sch, block_index); in qdisc_block_indexes_set()
1207 block_index = nla_get_u32(tca[TCA_EGRESS_BLOCK]); in qdisc_block_indexes_set()
1209 if (!block_index) { in qdisc_block_indexes_set()
[all …]
/openbmc/linux/drivers/crypto/hisilicon/
H A Dsgl.c162 u32 block_index, offset; in acc_get_sgl() local
168 block_index = index / pool->sgl_num_per_block; in acc_get_sgl()
171 *hw_sgl_dma = block[block_index].sgl_dma + pool->sgl_size * offset; in acc_get_sgl()
172 return (void *)block[block_index].sgl + pool->sgl_size * offset; in acc_get_sgl()
/openbmc/qemu/block/
H A Dvdi.c555 uint32_t block_index; in vdi_co_preadv() local
566 block_index = offset / s->block_size; in vdi_co_preadv()
575 bmap_entry = le32_to_cpu(s->bmap[block_index]); in vdi_co_preadv()
611 uint32_t block_index; in vdi_co_pwritev() local
626 block_index = offset / s->block_size; in vdi_co_pwritev()
635 bmap_entry = le32_to_cpu(s->bmap[block_index]); in vdi_co_pwritev()
639 bmap_entry = le32_to_cpu(s->bmap[block_index]); in vdi_co_pwritev()
647 s->bmap[block_index] = cpu_to_le32(bmap_entry); in vdi_co_pwritev()
653 bmap_first = block_index; in vdi_co_pwritev()
655 bmap_last = block_index; in vdi_co_pwritev()
H A Dqcow2-refcount.c251 uint64_t refcount_table_index, block_index; in qcow2_get_refcount() local
281 block_index = cluster_index & (s->refcount_block_size - 1); in qcow2_get_refcount()
282 *refcount = s->get_refcount(refcount_block, block_index); in qcow2_get_refcount()
402 int block_index = (new_block >> s->cluster_bits) & in alloc_refcount_block() local
404 s->set_refcount(*refcount_block, block_index, 1); in alloc_refcount_block()
841 int block_index; in update_refcount() local
886 s->set_refcount(refcount_block, block_index, refcount); in update_refcount()
3593 if (s->get_refcount(refblock, block_index) != 1) { in qcow2_discard_refcount_block()
3606 s->set_refcount(refblock, block_index, 0); in qcow2_discard_refcount_block()
3655 s->set_refcount(refblock, block_index, 0); in qcow2_shrink_reftable()
[all …]
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_yaffs2.c1355 struct yaffs_block_index *block_index = NULL; in yaffs2_scan_backwards() local
1365 block_index = in yaffs2_scan_backwards()
1368 if (!block_index) { in yaffs2_scan_backwards()
1369 block_index = in yaffs2_scan_backwards()
1374 if (!block_index) { in yaffs2_scan_backwards()
1422 block_index[n_to_scan].seq = seq_number; in yaffs2_scan_backwards()
1423 block_index[n_to_scan].block = blk; in yaffs2_scan_backwards()
1442 sort(block_index, n_to_scan, sizeof(struct yaffs_block_index), in yaffs2_scan_backwards()
1463 blk = block_index[block_iter].block; in yaffs2_scan_backwards()
1507 vfree(block_index); in yaffs2_scan_backwards()
[all …]
/openbmc/linux/drivers/md/persistent-data/
H A Ddm-array.c351 unsigned int block_index, uint32_t nr, in insert_new_ablock() argument
363 r = insert_ablock(info, block_index, block, root); in insert_new_ablock()
737 unsigned int block_index, end_block, size_of_block, max_entries; in dm_array_new() local
747 for (block_index = 0; block_index != end_block; block_index++) { in dm_array_new()
753 block_index * max_entries, in dm_array_new()
760 r = insert_ablock(info, block_index, block, root); in dm_array_new()
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.c175 u32 block_index, filter_sel; in bcmasp_netfilt_get_reg_offset() local
178 block_index = ASP_RX_FILTER_NET_L2; in bcmasp_netfilt_get_reg_offset()
181 block_index = ASP_RX_FILTER_NET_L2; in bcmasp_netfilt_get_reg_offset()
184 block_index = ASP_RX_FILTER_NET_L3_0; in bcmasp_netfilt_get_reg_offset()
187 block_index = ASP_RX_FILTER_NET_L3_0; in bcmasp_netfilt_get_reg_offset()
190 block_index = ASP_RX_FILTER_NET_L3_1; in bcmasp_netfilt_get_reg_offset()
193 block_index = ASP_RX_FILTER_NET_L3_1; in bcmasp_netfilt_get_reg_offset()
196 block_index = ASP_RX_FILTER_NET_L4; in bcmasp_netfilt_get_reg_offset()
199 block_index = ASP_RX_FILTER_NET_L4; in bcmasp_netfilt_get_reg_offset()
207 return ASP_RX_FILTER_NET_PAT(filter_sel, block_index, in bcmasp_netfilt_get_reg_offset()
[all …]
/openbmc/linux/drivers/net/ethernet/neterion/
H A Ds2io.h634 u32 block_index; member
640 u32 block_index; member
H A Ds2io.c721 ring->rx_curr_get_info.block_index = 0; in init_shared_mem()
724 ring->rx_curr_put_info.block_index = 0; in init_shared_mem()
2471 block_no1 = ring->rx_curr_get_info.block_index; in fill_rx_buffers()
2473 block_no = ring->rx_curr_put_info.block_index; in fill_rx_buffers()
2487 ring->rx_curr_put_info.block_index++; in fill_rx_buffers()
2488 if (ring->rx_curr_put_info.block_index == in fill_rx_buffers()
2490 ring->rx_curr_put_info.block_index = 0; in fill_rx_buffers()
2728 ring->rx_curr_put_info.block_index = 0; in free_rx_buffers()
2729 ring->rx_curr_get_info.block_index = 0; in free_rx_buffers()
2904 get_block = get_info.block_index; in rx_intr_handler()
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_int.c79 enum block_id block_index; member
941 if (p_aeu->block_index != MAX_BLOCK_ID) in qed_int_deassertion_aeu_bit()
942 qed_int_attn_print(p_hwfn, p_aeu->block_index, in qed_int_deassertion_aeu_bit()
982 u32 block_id = p_aeu->block_index, mask, val; in qed_int_deassertion_parity()
/openbmc/linux/include/net/
H A Dsch_generic.h319 u32 block_index);
321 u32 block_index);
H A Dpkt_cls.h32 u32 block_index; member
/openbmc/linux/drivers/usb/atm/
H A Dueagle-atm.c331 struct block_index { struct
352 struct block_index page_header[E4_NO_SWAPPAGE_HEADERS]; argument
787 struct block_index *blockidx; in check_dsp_e4()
978 struct block_index *blockidx; in __uea_load_page_e4()
/openbmc/qemu/migration/
H A Drdma.c1239 uint64_t *block_index, in qemu_rdma_search_ram_block() argument
1249 *block_index = block->index; in qemu_rdma_search_ram_block()