Home
last modified time | relevance | path

Searched refs:blks (Results 1 – 25 of 40) sorted by relevance

12

/linux/fs/xfs/scrub/
A Ddabtree.c478 struct xfs_da_state_blk *blks; in xchk_da_btree() local
512 blks = ds->state->path.blk; in xchk_da_btree()
521 if (blks[level].bp == NULL) in xchk_da_btree()
524 blks[level].index = 0; in xchk_da_btree()
531 blks[level - 1].index++; in xchk_da_btree()
545 blks[level].index++; in xchk_da_btree()
553 blks[level - 1].index++; in xchk_da_btree()
577 if (blks[level].bp == NULL) in xchk_da_btree()
580 blks[level].index = 0; in xchk_da_btree()
586 if (blks[level].bp == NULL) in xchk_da_btree()
[all …]
/linux/fs/gfs2/
A Dlog.c50 unsigned int blks; in gfs2_struct2blk() local
54 blks = 1; in gfs2_struct2blk()
63 return blks; in gfs2_struct2blk()
472 trace_gfs2_log_blocks(sdp, blks); in gfs2_log_release()
491 unsigned wanted = blks + taboo_blks; in __gfs2_log_try_reserve()
497 free_blocks - blks)) { in __gfs2_log_try_reserve()
540 free_blocks - blks)) in __gfs2_log_reserve()
546 trace_gfs2_log_blocks(sdp, -blks); in __gfs2_log_reserve()
572 blks += revoke_blks; in gfs2_log_try_reserve()
574 if (!blks) in gfs2_log_try_reserve()
[all …]
A Dxattr.c241 unsigned int blks = 0; in ea_dealloc_unstuffed() local
255 blks++; in ea_dealloc_unstuffed()
259 if (!blks) in ea_dealloc_unstuffed()
738 unsigned int blks, in ea_alloc_skeleton() argument
757 blks + gfs2_rg_blocks(ip, blks) + in ea_alloc_skeleton()
806 unsigned int blks = 1; in ea_init() local
951 unsigned int blks; in ea_set_simple() local
1046 unsigned int blks = 2; in ea_set_i() local
1066 blks++; in ea_set_i()
1272 unsigned int blks = 0; in ea_dealloc_indirect() local
[all …]
A Dlops.c797 unsigned int blks = be32_to_cpu(ld->ld_data1); in buf_lo_scan_elements() local
807 for (; blks; gfs2_replay_incr_blk(jd, &start), blks--) { in buf_lo_scan_elements()
937 unsigned int blks = be32_to_cpu(ld->ld_length); in revoke_lo_scan_elements() local
950 for (; blks; gfs2_replay_incr_blk(jd, &start), blks--) { in revoke_lo_scan_elements()
1021 unsigned int blks = be32_to_cpu(ld->ld_data1); in databuf_lo_scan_elements() local
1031 for (; blks; gfs2_replay_incr_blk(jd, &start), blks--) { in databuf_lo_scan_elements()
A Dlog.h78 extern void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks);
/linux/drivers/scsi/fnic/
A Dvnic_rq.c31 unsigned int blks = VNIC_RQ_BUF_BLKS_NEEDED(count); in vnic_rq_alloc_bufs() local
33 for (i = 0; i < blks; i++) { in vnic_rq_alloc_bufs()
41 for (i = 0; i < blks; i++) { in vnic_rq_alloc_bufs()
A Dvnic_wq.c51 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); in vnic_wq_alloc_bufs() local
53 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs()
61 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs()
/linux/fs/squashfs/
A Dfile.c329 long long blks; in read_blocklist() local
348 blks = read_indexes(inode->i_sb, index - res, &start, &offset); in read_blocklist()
349 if (blks < 0) in read_blocklist()
350 return (int) blks; in read_blocklist()
351 *block += blks; in read_blocklist()
/linux/fs/ext2/
A Dinode.c372 if (blks < blocks_to_boundary + 1) in ext2_blks_to_allocate()
373 count += blks; in ext2_blks_to_allocate()
380 while (count < blks && count <= blocks_to_boundary in ext2_blks_to_allocate()
396 ext2_fsblk_t goal, int indirect_blks, int blks, in ext2_alloc_blocks() argument
413 target = blks + indirect_blks; in ext2_alloc_blocks()
488 *blks, new_blocks, &err); in ext2_alloc_branch()
533 *blks = num; in ext2_alloc_branch()
558 long block, Indirect *where, int num, int blks) in ext2_splice_branch() argument
575 if (num == 0 && blks > 1) { in ext2_splice_branch()
577 for (i = 1; i < blks; i++) in ext2_splice_branch()
[all …]
/linux/drivers/net/ethernet/cisco/enic/
A Dvnic_rq.c35 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()
A Dvnic_wq.c35 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/drivers/scsi/snic/
A Dvnic_wq.c47 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/arch/powerpc/lib/
A Drheap.c50 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/drivers/scsi/
A Dst.c763 int transfer, blks; in st_flush_write_buffer() local
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()
1763 blks = do_count; in st_write()
1767 cmd[2] = blks >> 16; in st_write()
1768 cmd[3] = blks >> 8; in st_write()
1769 cmd[4] = blks; in st_write()
1936 cmd[2] = blks >> 16; in read_tape()
1937 cmd[3] = blks >> 8; in read_tape()
[all …]
/linux/fs/ufs/
A Dsuper.c509 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()
/linux/Documentation/devicetree/bindings/mtd/
A Drockchip,nand-controller.yaml88 rockchip,boot-blks:
156 rockchip,boot-blks = <8>;
/linux/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_rm.h90 enum dpu_hw_blk_type type, struct dpu_hw_blk **blks, int blks_size);
A Ddpu_rm.c611 enum dpu_hw_blk_type type, struct dpu_hw_blk **blks, int blks_size) in dpu_rm_get_assigned_resources() argument
658 blks[num_blks++] = hw_blks[i]; in dpu_rm_get_assigned_resources()
/linux/arch/mips/include/asm/octeon/
A Dcvmx-dpi-defs.h439 uint64_t blks:4; member
441 uint64_t blks:4;
452 uint64_t blks:4; member
454 uint64_t blks:4;
/linux/drivers/net/wireless/ti/wlcore/
A Dhw_ops.h25 u32 blks, u32 spare_blks) in wlcore_hw_set_tx_desc_blocks() argument
30 return wl->ops->set_tx_desc_blocks(wl, desc, blks, spare_blks); in wlcore_hw_set_tx_desc_blocks()
/linux/net/tipc/
A Dgroup.c505 int mtyp, blks; in tipc_group_filter_msg() local
531 blks = msg_blocks(hdr); in tipc_group_filter_msg()
581 tipc_group_update_rcv_win(grp, blks, node, port, xmitq); in tipc_group_filter_msg()
588 void tipc_group_update_rcv_win(struct tipc_group *grp, int blks, u32 node, in tipc_group_update_rcv_win() argument
601 m->advertised -= blks; in tipc_group_update_rcv_win()
A Dgroup.h72 void tipc_group_update_rcv_win(struct tipc_group *grp, int blks, u32 node,
/linux/fs/ext4/
A Dindirect.c270 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()
/linux/fs/f2fs/
A Ddebug.c198 int blks = get_seg_entry(sbi, i)->valid_blocks; in update_general_status() local
201 if (!blks) in update_general_status()
204 if (blks == sbi->blocks_per_seg) in update_general_status()
208 si->valid_blks[type] += blks; in update_general_status()
A Df2fs.h3843 #define stat_inc_tot_blk_count(si, blks) \ argument
3844 ((si)->tot_blks += (blks))
3846 #define stat_inc_data_blk_count(sbi, blks, gc_type) \ argument
3849 stat_inc_tot_blk_count(si, blks); \
3850 si->data_blks += (blks); \
3851 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
3854 #define stat_inc_node_blk_count(sbi, blks, gc_type) \ argument
3857 stat_inc_tot_blk_count(si, blks); \
3858 si->node_blks += (blks); \
3859 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
[all …]

Completed in 80 milliseconds

12