Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/affs/
Dfile.c529 u32 bidx, boff, bsize; in affs_do_readpage_ofs() local
537 bidx = tmp / bsize; in affs_do_readpage_ofs()
541 bh = affs_bread_ino(inode, bidx, create); in affs_do_readpage_ofs()
550 bidx++; in affs_do_readpage_ofs()
563 u32 bidx, boff; in affs_extent_file_ofs() local
571 bidx = size / bsize; in affs_extent_file_ofs()
574 bh = affs_bread_ino(inode, bidx, 0); in affs_extent_file_ofs()
584 bidx++; in affs_extent_file_ofs()
585 } else if (bidx) { in affs_extent_file_ofs()
586 bh = affs_bread_ino(inode, bidx - 1, 0); in affs_extent_file_ofs()
[all …]
/kernel/linux/linux-5.10/fs/f2fs/
Ddir.c183 unsigned long bidx = 0; in dir_block_index() local
186 bidx += dir_buckets(i, dir_level) * bucket_blocks(i); in dir_block_index()
187 bidx += idx * bucket_blocks(level); in dir_block_index()
188 return bidx; in dir_block_index()
302 unsigned int bidx, end_block; in find_in_level() local
311 bidx = dir_block_index(level, F2FS_I(dir)->i_dir_level, in find_in_level()
313 end_block = bidx + nblock; in find_in_level()
315 for (; bidx < end_block; bidx++) { in find_in_level()
317 dentry_page = f2fs_find_data_page(dir, bidx); in find_in_level()
654 unsigned long bidx, block; in f2fs_add_regular_entry() local
[all …]
Dgc.c976 unsigned int bidx; in f2fs_start_bidx_of_node() local
982 bidx = node_ofs - 1; in f2fs_start_bidx_of_node()
985 bidx = node_ofs - 2 - dec; in f2fs_start_bidx_of_node()
988 bidx = node_ofs - 5 - dec; in f2fs_start_bidx_of_node()
990 return bidx * ADDRS_PER_BLOCK(inode) + ADDRS_PER_INODE(inode); in f2fs_start_bidx_of_node()
1135 static int move_data_block(struct inode *inode, block_t bidx, in move_data_block() argument
1160 page = f2fs_grab_cache_page(inode->i_mapping, bidx, false); in move_data_block()
1183 err = f2fs_get_dnode_of_data(&dn, bidx, LOOKUP_NODE); in move_data_block()
1305 static int move_data_page(struct inode *inode, block_t bidx, int gc_type, in move_data_page() argument
1311 page = f2fs_get_lock_data_page(inode, bidx, true); in move_data_page()
Drecovery.c441 block_t bidx; in check_index_in_prev_nodes() local
504 bidx = f2fs_start_bidx_of_node(offset, inode) + in check_index_in_prev_nodes()
515 if (f2fs_get_dnode_of_data(&tdn, bidx, LOOKUP_NODE)) in check_index_in_prev_nodes()
/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_dentryfile.h117 static inline loff_t get_dentry_group_pos(unsigned int bidx) in get_dentry_group_pos() argument
119 return ((loff_t)bidx) * DENTRYGROUP_SIZE + DENTRYGROUP_HEADER; in get_dentry_group_pos()
151 unsigned int bidx; member
291 void *buffer, int buffersize, int bidx);
Dhmdfs_dentryfile.c396 void *buffer, int size, int bidx) in hmdfs_metainfo_read() argument
398 loff_t pos = get_dentry_group_pos(bidx); in hmdfs_metainfo_read()
404 const void *buffer, int size, int bidx) in hmdfs_metainfo_write() argument
406 loff_t pos = get_dentry_group_pos(bidx); in hmdfs_metainfo_write()
695 unsigned int bidx, end_block; in hmdfs_in_level() local
704 bidx = get_bucketaddr(level, ctx->hash % nbucket) * BUCKET_BLOCKS; in hmdfs_in_level()
705 end_block = bidx + BUCKET_BLOCKS; in hmdfs_in_level()
707 for (; bidx < end_block; bidx++) { in hmdfs_in_level()
708 dentry_blk = find_dentry_page(ctx->sbi, bidx, ctx->filp); in hmdfs_in_level()
717 ctx->insense_bidx = bidx; in hmdfs_in_level()
[all …]
Dinode_remote.c54 hmdfs_unlock_file(ctx.filp, get_dentry_group_pos(ctx.bidx), in lookup_remote_dentry()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dqsfp.c796 int bidx = 0; in qsfp_dump() local
845 while (bidx < QSFP_DEFAULT_HDR_CNT) { in qsfp_dump()
848 memcpy(bin_buff, &cache[bidx], QSFP_DUMP_CHUNK); in qsfp_dump()
854 bidx += QSFP_DUMP_CHUNK; in qsfp_dump()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dmsm8916-wcd-digital.c209 #define WCD_IIR_FILTER_CTL(xname, iidx, bidx) \ argument
216 .band_idx = bidx, \
Dwcd934x.c121 #define WCD_IIR_FILTER_CTL(xname, iidx, bidx) \ argument
129 .band_idx = bidx, \
/kernel/linux/linux-5.10/drivers/s390/net/
Dqeth_core_main.c2592 static int qeth_init_qdio_out_buf(struct qeth_qdio_out_q *q, int bidx) in qeth_init_qdio_out_buf() argument
2600 newbuf->buffer = q->qdio_bufs[bidx]; in qeth_init_qdio_out_buf()
2605 q->bufs[bidx] = newbuf; in qeth_init_qdio_out_buf()
3631 unsigned int bidx = QDIO_BUFNR(i); in qeth_flush_buffers() local
3634 buf = queue->bufs[bidx]; in qeth_flush_buffers()
3640 queue->bufstates[bidx].user = buf; in qeth_flush_buffers()
5851 unsigned int bidx, bool error, int budget) in qeth_iqd_tx_complete() argument
5853 struct qeth_qdio_out_buffer *buffer = queue->bufs[bidx]; in qeth_iqd_tx_complete()
5857 if (queue->bufstates && (queue->bufstates[bidx].flags & in qeth_iqd_tx_complete()
5861 QETH_CARD_TEXT_(card, 5, "pel%u", bidx); in qeth_iqd_tx_complete()
[all …]
/kernel/linux/linux-5.10/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()