Home
last modified time | relevance | path

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

12

/linux/fs/quota/
A Dquota_tree.c346 if (!blks[depth]) { in do_insert_tree()
351 if (ret == blks[i]) { in do_insert_tree()
358 blks[depth] = ret; in do_insert_tree()
382 blks[depth], in do_insert_tree()
558 blks[depth]); in remove_tree()
571 blks[depth], in remove_tree()
578 blks[depth + 1] = 0; in remove_tree()
592 blks[depth] = 0; in remove_tree()
598 blks[depth]); in remove_tree()
674 blks[depth]); in find_tree_dqentry()
[all …]
/linux/fs/xfs/scrub/
A Ddabtree.c502 struct xfs_da_state_blk *blks; in xchk_da_btree() local
537 blks = ds->state->path.blk; in xchk_da_btree()
546 if (blks[level].bp == NULL) in xchk_da_btree()
549 blks[level].index = 0; in xchk_da_btree()
556 blks[level - 1].index++; in xchk_da_btree()
570 blks[level].index++; in xchk_da_btree()
578 blks[level - 1].index++; in xchk_da_btree()
602 if (blks[level].bp == NULL) in xchk_da_btree()
605 blks[level].index = 0; in xchk_da_btree()
611 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()
468 trace_gfs2_log_blocks(sdp, blks); in gfs2_log_release()
487 unsigned wanted = blks + taboo_blks; in __gfs2_log_try_reserve()
493 free_blocks - blks)) { in __gfs2_log_try_reserve()
536 free_blocks - blks)) in __gfs2_log_reserve()
542 trace_gfs2_log_blocks(sdp, -blks); in __gfs2_log_reserve()
568 blks += revoke_blks; in gfs2_log_try_reserve()
570 if (!blks) in gfs2_log_try_reserve()
[all …]
A Dxattr.c245 unsigned int blks = 0; in ea_dealloc_unstuffed() local
259 blks++; in ea_dealloc_unstuffed()
263 if (!blks) in ea_dealloc_unstuffed()
742 unsigned int blks, in ea_alloc_skeleton() argument
761 blks + gfs2_rg_blocks(ip, blks) + in ea_alloc_skeleton()
810 unsigned int blks = 1; in ea_init() local
955 unsigned int blks; in ea_set_simple() local
1050 unsigned int blks = 2; in ea_set_i() local
1070 blks++; in ea_set_i()
1276 unsigned int blks = 0; in ea_dealloc_indirect() local
[all …]
A Dlops.c785 unsigned int blks = be32_to_cpu(ld->ld_data1); in buf_lo_scan_elements() local
795 for (; blks; gfs2_replay_incr_blk(jd, &start), blks--) { in buf_lo_scan_elements()
925 unsigned int blks = be32_to_cpu(ld->ld_length); in revoke_lo_scan_elements() local
938 for (; blks; gfs2_replay_incr_blk(jd, &start), blks--) { in revoke_lo_scan_elements()
1009 unsigned int blks = be32_to_cpu(ld->ld_data1); in databuf_lo_scan_elements() local
1019 for (; blks; gfs2_replay_incr_blk(jd, &start), blks--) { in databuf_lo_scan_elements()
A Dlog.h78 void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks);
/linux/drivers/scsi/fnic/
A Dvnic_rq.c19 unsigned int blks = VNIC_RQ_BUF_BLKS_NEEDED(count); in vnic_rq_alloc_bufs() local
21 for (i = 0; i < blks; i++) { in vnic_rq_alloc_bufs()
29 for (i = 0; i < blks; i++) { in vnic_rq_alloc_bufs()
A Dvnic_wq.c39 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); in vnic_wq_alloc_bufs() local
41 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs()
49 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs()
/linux/drivers/usb/gadget/function/
A Df_midi2.c1380 b = &ep->blks[blk].info; in assign_block_descriptors()
1588 &ep->blks[blk].fb); in f_midi2_create_card()
1591 fb = ep->blks[blk].fb; in f_midi2_create_card()
1958 ep->blks[blk].string_id = in f_midi2_bind()
2350 ep_opts->blks[blk] = block_opts; in f_midi2_block_opts_create()
2377 if (ep_opts->blks[blk]) in f_midi2_opts_block_make()
2732 bp = &opts->eps[i]->blks[j]->info; in verify_parameters()
2841 opts->eps[i]->blks[blk]; blk++) { in f_midi2_alloc()
2842 bp = &ep->blks[blk]; in f_midi2_alloc()
2844 bp->info = opts->eps[i]->blks[blk]->info; in f_midi2_alloc()
[all …]
A Du_midi2.h63 struct f_midi2_block_opts *blks[SNDRV_UMP_MAX_BLOCKS]; member
/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()
400 ext2_fsblk_t goal, int indirect_blks, int blks, in ext2_alloc_blocks() argument
417 target = blks + indirect_blks; in ext2_alloc_blocks()
492 *blks, new_blocks, &err); in ext2_alloc_branch()
537 *blks = num; in ext2_alloc_branch()
562 long block, Indirect *where, int num, int blks) in ext2_splice_branch() argument
579 if (num == 0 && blks > 1) { in ext2_splice_branch()
581 for (i = 1; i < blks; i++) in ext2_splice_branch()
[all …]
/linux/drivers/net/ethernet/cisco/enic/
A Dvnic_rq.c22 unsigned int blks = VNIC_RQ_BUF_BLKS_NEEDED(count); in vnic_rq_alloc_bufs() local
24 for (i = 0; i < blks; i++) { in vnic_rq_alloc_bufs()
30 for (i = 0; i < blks; i++) { in vnic_rq_alloc_bufs()
A Dvnic_wq.c22 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); in vnic_wq_alloc_bufs() local
24 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs()
30 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs()
/linux/drivers/scsi/snic/
A Dvnic_wq.c33 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); in vnic_wq_alloc_bufs() local
35 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs()
44 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/fs/squashfs/
A Dfile.c330 long long blks; in read_blocklist() local
349 blks = read_indexes(inode->i_sb, index - res, &start, &offset); in read_blocklist()
350 if (blks < 0) in read_blocklist()
351 return (int) blks; in read_blocklist()
352 *block += blks; in read_blocklist()
/linux/drivers/scsi/
A Dst.c767 int transfer, blks; in st_flush_write_buffer() local
787 cmd[2] = blks >> 16; in st_flush_write_buffer()
788 cmd[3] = blks >> 8; in st_flush_write_buffer()
789 cmd[4] = blks; in st_flush_write_buffer()
1768 blks = do_count; in st_write()
1772 cmd[2] = blks >> 16; in st_write()
1773 cmd[3] = blks >> 8; in st_write()
1774 cmd[4] = blks; in st_write()
1941 cmd[2] = blks >> 16; in read_tape()
1942 cmd[3] = blks >> 8; in read_tape()
[all …]
/linux/Documentation/devicetree/bindings/mtd/
A Drockchip,nand-controller.yaml91 rockchip,boot-blks:
160 rockchip,boot-blks = <8>;
/linux/fs/ufs/
A Dsuper.c510 unsigned size, blks, i; in ufs_read_cylinder_structures() local
519 blks = (size + uspi->s_fsize - 1) >> uspi->s_fshift; in ufs_read_cylinder_structures()
524 for (i = 0; i < blks; i += uspi->s_fpb) { in ufs_read_cylinder_structures()
526 if (i + uspi->s_fpb > blks) in ufs_read_cylinder_structures()
527 size = (blks - i) * uspi->s_fsize; in ufs_read_cylinder_structures()
650 unsigned blks, size, i; in ufs_put_super_internal() local
657 blks = (size + uspi->s_fsize - 1) >> uspi->s_fshift; in ufs_put_super_internal()
659 for (i = 0; i < blks; i += uspi->s_fpb) { in ufs_put_super_internal()
661 if (i + uspi->s_fpb > blks) in ufs_put_super_internal()
662 size = (blks - i) * uspi->s_fsize; in ufs_put_super_internal()
/linux/net/tipc/
A Dgroup.h72 void tipc_group_update_rcv_win(struct tipc_group *grp, int blks, u32 node,
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()
/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);
/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/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/fs/ext4/
A Dindirect.c277 static int ext4_blks_to_allocate(Indirect *branch, int k, unsigned int blks, in ext4_blks_to_allocate() argument
288 if (blks < blocks_to_boundary + 1) in ext4_blks_to_allocate()
289 count += blks; in ext4_blks_to_allocate()
296 while (count < blks && count <= blocks_to_boundary && in ext4_blks_to_allocate()

Completed in 72 milliseconds

12