/Linux-v4.19/fs/xfs/scrub/ |
D | dabtree.c | 131 struct xfs_da_state_blk *blks; in xchk_da_btree_hash() local 146 blks = ds->state->path.blk; in xchk_da_btree_hash() 147 entry = xchk_da_btree_entry(ds, level - 1, blks[level - 1].index); in xchk_da_btree_hash() 484 struct xfs_da_state_blk *blks; in xchk_da_btree() local 519 blks = ds.state->path.blk; in xchk_da_btree() 528 if (blks[level].bp == NULL) in xchk_da_btree() 531 blks[level].index = 0; in xchk_da_btree() 534 if (blks[level].magic != XFS_DA_NODE_MAGIC) { in xchk_da_btree() 536 if (blks[level].index >= ds.maxrecs[level]) { in xchk_da_btree() 538 blks[level - 1].index++; in xchk_da_btree() [all …]
|
/Linux-v4.19/fs/gfs2/ |
D | log.c | 52 unsigned int blks; in gfs2_struct2blk() local 55 blks = 1; in gfs2_struct2blk() 61 blks += DIV_ROUND_UP(nstruct - first, second); in gfs2_struct2blk() 64 return blks; in gfs2_struct2blk() 323 void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) in gfs2_log_release() argument 326 atomic_add(blks, &sdp->sd_log_blks_free); in gfs2_log_release() 327 trace_gfs2_log_blocks(sdp, blks); in gfs2_log_release() 353 int gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks) in gfs2_log_reserve() argument 357 unsigned wanted = blks + reserved_blks; in gfs2_log_reserve() 362 if (gfs2_assert_warn(sdp, blks) || in gfs2_log_reserve() [all …]
|
D | xattr.c | 238 unsigned int blks = 0; in ea_dealloc_unstuffed() local 252 blks++; in ea_dealloc_unstuffed() 256 if (!blks) in ea_dealloc_unstuffed() 270 RES_EATTR + RES_STATFS + RES_QUOTA, blks); in ea_dealloc_unstuffed() 727 unsigned int blks, in ea_alloc_skeleton() argument 730 struct gfs2_alloc_parms ap = { .target = blks }; in ea_alloc_skeleton() 746 blks + gfs2_rg_blocks(ip, blks) + in ea_alloc_skeleton() 798 unsigned int blks = 1; in ea_init() local 807 blks += DIV_ROUND_UP(er.er_data_len, jbsize); in ea_init() 809 return ea_alloc_skeleton(ip, &er, blks, ea_init_i, NULL); in ea_init() [all …]
|
D | log.h | 71 extern void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks); 72 extern int gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks);
|
D | lops.c | 533 unsigned int blks = be32_to_cpu(ld->ld_data1); in buf_lo_scan_elements() local 543 for (; blks; gfs2_replay_incr_blk(jd, &start), blks--) { in buf_lo_scan_elements() 686 unsigned int blks = be32_to_cpu(ld->ld_length); in revoke_lo_scan_elements() local 699 for (; blks; gfs2_replay_incr_blk(jd, &start), blks--) { in revoke_lo_scan_elements() 769 unsigned int blks = be32_to_cpu(ld->ld_data1); in databuf_lo_scan_elements() local 779 for (; blks; gfs2_replay_incr_blk(jd, &start), blks--) { in databuf_lo_scan_elements()
|
/Linux-v4.19/drivers/scsi/fnic/ |
D | vnic_wq.c | 32 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); in vnic_wq_alloc_bufs() local 36 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs() 44 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs()
|
D | vnic_rq.c | 32 unsigned int blks = VNIC_RQ_BUF_BLKS_NEEDED(count); in vnic_rq_alloc_bufs() local 36 for (i = 0; i < blks; i++) { in vnic_rq_alloc_bufs() 44 for (i = 0; i < blks; i++) { in vnic_rq_alloc_bufs()
|
/Linux-v4.19/drivers/net/ethernet/cisco/enic/ |
D | vnic_rq.c | 35 unsigned int blks = VNIC_RQ_BUF_BLKS_NEEDED(count); in vnic_rq_alloc_bufs() local 37 for (i = 0; i < blks; i++) { in vnic_rq_alloc_bufs() 43 for (i = 0; i < blks; i++) { in vnic_rq_alloc_bufs()
|
D | vnic_wq.c | 35 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); in vnic_wq_alloc_bufs() local 37 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs() 43 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs()
|
/Linux-v4.19/fs/squashfs/ |
D | file.c | 342 long long blks; in read_blocklist() local 361 blks = read_indexes(inode->i_sb, index - res, &start, &offset); in read_blocklist() 362 if (blks < 0) in read_blocklist() 363 return (int) blks; in read_blocklist() 364 *block += blks; in read_blocklist()
|
/Linux-v4.19/drivers/scsi/snic/ |
D | vnic_wq.c | 47 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); in vnic_wq_alloc_bufs() local 49 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs() 58 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs()
|
/Linux-v4.19/fs/ext2/ |
D | inode.c | 362 ext2_blks_to_allocate(Indirect * branch, int k, unsigned long blks, in ext2_blks_to_allocate() argument 373 if (blks < blocks_to_boundary + 1) in ext2_blks_to_allocate() 374 count += blks; in ext2_blks_to_allocate() 381 while (count < blks && count <= blocks_to_boundary in ext2_blks_to_allocate() 399 ext2_fsblk_t goal, int indirect_blks, int blks, in ext2_alloc_blocks() argument 416 target = blks + indirect_blks; in ext2_alloc_blocks() 477 int indirect_blks, int *blks, ext2_fsblk_t goal, in ext2_alloc_branch() argument 489 *blks, new_blocks, &err); in ext2_alloc_branch() 534 *blks = num; in ext2_alloc_branch() 559 long block, Indirect *where, int num, int blks) in ext2_splice_branch() argument [all …]
|
/Linux-v4.19/arch/powerpc/lib/ |
D | rheap.c | 50 unsigned long blks, blke; in grow() local 70 blks = (unsigned long)info->block; in grow() 74 fixup(blks, blke, delta, &blk->list); in grow() 76 fixup(blks, blke, delta, &info->empty_list); in grow() 77 fixup(blks, blke, delta, &info->free_list); in grow() 78 fixup(blks, blke, delta, &info->taken_list); in grow()
|
/Linux-v4.19/drivers/scsi/ |
D | st.c | 763 int transfer, blks; in st_flush_write_buffer() local 782 blks = transfer / STp->block_size; in st_flush_write_buffer() 783 cmd[2] = blks >> 16; in st_flush_write_buffer() 784 cmd[3] = blks >> 8; in st_flush_write_buffer() 785 cmd[4] = blks; in st_flush_write_buffer() 806 STps->drv_block += blks; in st_flush_write_buffer() 815 STps->drv_block += blks; in st_flush_write_buffer() 1621 ssize_t i, do_count, blks, transfer; in st_write() local 1759 blks = transfer = do_count; in st_write() 1762 blks = STbp->buffer_bytes; in st_write() [all …]
|
D | osst.c | 3057 int offset, transfer, blks = 0; in osst_flush_write_buffer() local 3096 blks = (offset + STp->block_size - 1) / STp->block_size; in osst_flush_write_buffer() 3116 name, blks, STp->frame_seq_number, in osst_flush_write_buffer() 3117 STp->logical_blk_num - blks, STp->logical_blk_num - 1); in osst_flush_write_buffer() 3120 STp->logical_blk_num - blks, STp->block_size, blks); in osst_flush_write_buffer() 3128 STp->logical_blk_num++, 0, blks=1); in osst_flush_write_buffer() 3131 osst_init_aux(STp, OS_FRAME_TYPE_HEADER, 0, 0, 0, blks=0); in osst_flush_write_buffer() 3139 name, offset, transfer, blks); in osst_flush_write_buffer() 3251 int blks; in osst_write_frame() local 3286 blks = STp->buffer->buffer_bytes / STp->block_size; in osst_write_frame() [all …]
|
/Linux-v4.19/fs/ufs/ |
D | super.c | 509 unsigned size, blks, i; in ufs_read_cylinder_structures() local 518 blks = (size + uspi->s_fsize - 1) >> uspi->s_fshift; in ufs_read_cylinder_structures() 523 for (i = 0; i < blks; i += uspi->s_fpb) { in ufs_read_cylinder_structures() 525 if (i + uspi->s_fpb > blks) in ufs_read_cylinder_structures() 526 size = (blks - i) * uspi->s_fsize; in ufs_read_cylinder_structures() 649 unsigned blks, size, i; in ufs_put_super_internal() local 656 blks = (size + uspi->s_fsize - 1) >> uspi->s_fshift; in ufs_put_super_internal() 658 for (i = 0; i < blks; i += uspi->s_fpb) { in ufs_put_super_internal() 660 if (i + uspi->s_fpb > blks) in ufs_put_super_internal() 661 size = (blks - i) * uspi->s_fsize; in ufs_put_super_internal()
|
D | ufs_fs.h | 263 #define ufs_blkstofrags(blks) ((blks) << uspi->s_fpbshift) argument
|
/Linux-v4.19/drivers/lightnvm/ |
D | core.c | 816 int nvm_bb_tbl_fold(struct nvm_dev *dev, u8 *blks, int nr_blks) in nvm_bb_tbl_fold() argument 826 blktype = blks[offset]; in nvm_bb_tbl_fold() 830 if (blks[offset + pl] & in nvm_bb_tbl_fold() 832 blktype = blks[offset + pl]; in nvm_bb_tbl_fold() 837 blks[blk] = blktype; in nvm_bb_tbl_fold() 845 u8 *blks) in nvm_get_tgt_bb_tbl() argument 851 return dev->ops->get_bb_tbl(dev, ppa, blks); in nvm_get_tgt_bb_tbl()
|
/Linux-v4.19/net/tipc/ |
D | group.h | 71 void tipc_group_update_rcv_win(struct tipc_group *grp, int blks, u32 node,
|
D | group.c | 497 int mtyp, blks; in tipc_group_filter_msg() local 523 blks = msg_blocks(hdr); in tipc_group_filter_msg() 573 tipc_group_update_rcv_win(grp, blks, node, port, xmitq); in tipc_group_filter_msg() 580 void tipc_group_update_rcv_win(struct tipc_group *grp, int blks, u32 node, in tipc_group_update_rcv_win() argument 593 m->advertised -= blks; in tipc_group_update_rcv_win()
|
D | socket.c | 829 int blks = tsk_blocks(GROUP_H_SIZE + dlen); in tipc_send_group_msg() local 856 tipc_group_update_member(mb, blks); in tipc_send_group_msg() 879 int blks = tsk_blocks(GROUP_H_SIZE + dlen); in tipc_send_group_unicast() local 895 !tipc_group_cong(grp, node, port, blks, &mb)); in tipc_send_group_unicast() 924 int blks = tsk_blocks(GROUP_H_SIZE + dlen); in tipc_send_group_anycast() local 953 cong = tipc_group_cong(grp, node, port, blks, &mbr); in tipc_send_group_anycast() 973 blks, &mbr)); in tipc_send_group_anycast() 1011 int blks = tsk_blocks(MCAST_H_SIZE + dlen); in tipc_send_group_bcast() local 1022 !tipc_group_bc_cong(grp, blks)); in tipc_send_group_bcast() 1054 tipc_group_update_bc_members(tsk->group, blks, ack); in tipc_send_group_bcast()
|
/Linux-v4.19/drivers/net/wireless/ti/wlcore/ |
D | hw_ops.h | 39 u32 blks, u32 spare_blks) in wlcore_hw_set_tx_desc_blocks() argument 44 return wl->ops->set_tx_desc_blocks(wl, desc, blks, spare_blks); in wlcore_hw_set_tx_desc_blocks()
|
/Linux-v4.19/arch/mips/include/asm/octeon/ |
D | cvmx-dpi-defs.h | 515 uint64_t blks:4; member 517 uint64_t blks:4; 529 uint64_t blks:4; member 531 uint64_t blks:4;
|
/Linux-v4.19/fs/f2fs/ |
D | f2fs.h | 3193 #define stat_inc_tot_blk_count(si, blks) \ argument 3194 ((si)->tot_blks += (blks)) 3196 #define stat_inc_data_blk_count(sbi, blks, gc_type) \ argument 3199 stat_inc_tot_blk_count(si, blks); \ 3200 si->data_blks += (blks); \ 3201 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \ 3204 #define stat_inc_node_blk_count(sbi, blks, gc_type) \ argument 3207 stat_inc_tot_blk_count(si, blks); \ 3208 si->node_blks += (blks); \ 3209 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \ [all …]
|
/Linux-v4.19/fs/ext4/ |
D | indirect.c | 270 static int ext4_blks_to_allocate(Indirect *branch, int k, unsigned int blks, in ext4_blks_to_allocate() argument 281 if (blks < blocks_to_boundary + 1) in ext4_blks_to_allocate() 282 count += blks; in ext4_blks_to_allocate() 289 while (count < blks && count <= blocks_to_boundary && in ext4_blks_to_allocate()
|