Home
last modified time | relevance | path

Searched refs:bidx (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.15/fs/affs/
Dfile.c530 u32 bidx, boff, bsize; in affs_do_readpage_ofs() local
538 bidx = tmp / bsize; in affs_do_readpage_ofs()
542 bh = affs_bread_ino(inode, bidx, create); in affs_do_readpage_ofs()
551 bidx++; in affs_do_readpage_ofs()
564 u32 bidx, boff; in affs_extent_file_ofs() local
572 bidx = size / bsize; in affs_extent_file_ofs()
575 bh = affs_bread_ino(inode, bidx, 0); in affs_extent_file_ofs()
585 bidx++; in affs_extent_file_ofs()
586 } else if (bidx) { in affs_extent_file_ofs()
587 bh = affs_bread_ino(inode, bidx - 1, 0); in affs_extent_file_ofs()
[all …]
/Linux-v5.15/fs/f2fs/
Ddir.c189 unsigned long bidx = 0; in dir_block_index() local
192 bidx += dir_buckets(i, dir_level) * bucket_blocks(i); in dir_block_index()
193 bidx += idx * bucket_blocks(level); in dir_block_index()
194 return bidx; in dir_block_index()
339 unsigned int bidx, end_block; in find_in_level() local
348 bidx = dir_block_index(level, F2FS_I(dir)->i_dir_level, in find_in_level()
350 end_block = bidx + nblock; in find_in_level()
352 for (; bidx < end_block; bidx++) { in find_in_level()
354 dentry_page = f2fs_find_data_page(dir, bidx); in find_in_level()
712 unsigned long bidx, block; in f2fs_add_regular_entry() local
[all …]
Dgc.c981 unsigned int bidx; in f2fs_start_bidx_of_node() local
987 bidx = node_ofs - 1; in f2fs_start_bidx_of_node()
991 bidx = node_ofs - 2 - dec; in f2fs_start_bidx_of_node()
995 bidx = node_ofs - 5 - dec; in f2fs_start_bidx_of_node()
997 return bidx * ADDRS_PER_BLOCK(inode) + ADDRS_PER_INODE(inode); in f2fs_start_bidx_of_node()
1139 static int move_data_block(struct inode *inode, block_t bidx, in move_data_block() argument
1165 page = f2fs_grab_cache_page(inode->i_mapping, bidx, false); in move_data_block()
1188 err = f2fs_get_dnode_of_data(&dn, bidx, LOOKUP_NODE); in move_data_block()
1309 static int move_data_page(struct inode *inode, block_t bidx, int gc_type, in move_data_page() argument
1315 page = f2fs_get_lock_data_page(inode, bidx, true); in move_data_page()
Drecovery.c456 block_t bidx; in check_index_in_prev_nodes() local
520 bidx = f2fs_start_bidx_of_node(offset, inode) + in check_index_in_prev_nodes()
531 if (f2fs_get_dnode_of_data(&tdn, bidx, LOOKUP_NODE)) in check_index_in_prev_nodes()
/Linux-v5.15/drivers/clk/baikal-t1/
Dccu-div.c422 int didx, bidx, num = 2; in ccu_div_var_debug_init() local
432 for (didx = 0, bidx = 0; bidx < CCU_DIV_DBGFS_BIT_NUM; ++bidx) { in ccu_div_var_debug_init()
433 name = ccu_div_bits[bidx].name; in ccu_div_var_debug_init()
444 bits[didx] = ccu_div_bits[bidx]; in ccu_div_var_debug_init()
/Linux-v5.15/drivers/infiniband/hw/qib/
Dqib_qsfp.c494 int bidx = 0; in qib_qsfp_dump() local
533 while (bidx < QSFP_DEFAULT_HDR_CNT) { in qib_qsfp_dump()
536 ret = qsfp_read(ppd, bidx, bin_buff, QSFP_DUMP_CHUNK); in qib_qsfp_dump()
544 bidx += QSFP_DUMP_CHUNK; in qib_qsfp_dump()
Dqib_iba7220.c844 size_t bidx = 0; in qib_decode_7220_sdma_errs() local
848 bidx += scnprintf(buf + bidx, blen - bidx, in qib_decode_7220_sdma_errs()
/Linux-v5.15/drivers/infiniband/hw/hfi1/
Dqsfp.c754 int bidx = 0; in qsfp_dump() local
803 while (bidx < QSFP_DEFAULT_HDR_CNT) { in qsfp_dump()
806 memcpy(bin_buff, &cache[bidx], QSFP_DUMP_CHUNK); in qsfp_dump()
812 bidx += QSFP_DUMP_CHUNK; in qsfp_dump()
/Linux-v5.15/drivers/ntb/hw/idt/
Dntb_hw_idt.c1047 unsigned char widx, bidx, en_cnt; in idt_scan_mws() local
1057 for (bidx = 0; bidx < IDT_BAR_CNT; bidx += 1 + bar_64bit) { in idt_scan_mws()
1059 data = idt_sw_read(ndev, bars[bidx].setup); in idt_scan_mws()
1090 mws[*mw_cnt].bar = bidx; in idt_scan_mws()
/Linux-v5.15/sound/soc/codecs/
Dmsm8916-wcd-digital.c209 #define WCD_IIR_FILTER_CTL(xname, iidx, bidx) \ argument
216 .band_idx = bidx, \
Dlpass-rx-macro.c547 #define RX_MACRO_IIR_FILTER_CTL(xname, iidx, bidx) \ argument
555 .band_idx = bidx, \
Dwcd934x.c122 #define WCD_IIR_FILTER_CTL(xname, iidx, bidx) \ argument
130 .band_idx = bidx, \
/Linux-v5.15/drivers/s390/net/
Dqeth_core_main.c2493 static int qeth_alloc_out_buf(struct qeth_qdio_out_q *q, unsigned int bidx, in qeth_alloc_out_buf() argument
2502 newbuf->buffer = q->qdio_bufs[bidx]; in qeth_alloc_out_buf()
2506 q->bufs[bidx] = newbuf; in qeth_alloc_out_buf()
3538 unsigned int bidx = QDIO_BUFNR(i); in qeth_flush_buffers() local
3541 buf = queue->bufs[bidx]; in qeth_flush_buffers()
5952 unsigned int bidx, unsigned int qdio_error, in qeth_iqd_tx_complete() argument
5955 struct qeth_qdio_out_buffer *buffer = queue->bufs[bidx]; in qeth_iqd_tx_complete()
5968 bidx, queue->queue_no); in qeth_iqd_tx_complete()
5973 QETH_CARD_TEXT_(card, 5, "pel%u", bidx); in qeth_iqd_tx_complete()
5982 if (qeth_alloc_out_buf(queue, bidx, GFP_ATOMIC)) { in qeth_iqd_tx_complete()
[all …]
/Linux-v5.15/drivers/net/ethernet/cisco/enic/
Denic_main.c2181 int i, kidx, bidx, err; in __enic_set_rsskey() local
2191 bidx = i % ENIC_RSS_BYTES_PER_KEY; in __enic_set_rsskey()
2192 rss_key_buf_va->key[kidx].b[bidx] = enic->rss_key[i]; in __enic_set_rsskey()