Searched refs:blks (Results 51 – 58 of 58) sorted by relevance
123
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | cnic.c | 1193 int total_mem, blks, i; in cnic_alloc_bnx2x_context() local 1196 blks = total_mem / ctx_blk_size; in cnic_alloc_bnx2x_context() 1198 blks++; in cnic_alloc_bnx2x_context() 1200 if (blks > cp->ethdev->ctx_tbl_len) in cnic_alloc_bnx2x_context() 1203 cp->ctx_arr = kcalloc(blks, sizeof(struct cnic_ctx), GFP_KERNEL); in cnic_alloc_bnx2x_context() 1207 cp->ctx_blks = blks; in cnic_alloc_bnx2x_context() 1216 for (i = 0; i < blks; i++) { in cnic_alloc_bnx2x_context()
|
/openbmc/linux/fs/ocfs2/ |
H A D | xattr.c | 319 int blks = ocfs2_blocks_per_xattr_bucket(inode->i_sb); in ocfs2_xattr_bucket_new() local 321 BUG_ON(blks > OCFS2_XATTR_MAX_BLOCKS_PER_BUCKET); in ocfs2_xattr_bucket_new() 326 bucket->bu_blocks = blks; in ocfs2_xattr_bucket_new() 4183 int blks = ocfs2_blocks_per_xattr_bucket(inode->i_sb); in ocfs2_cp_xattr_block_to_bucket() local 4192 char *target = bucket_block(bucket, blks - 1); in ocfs2_cp_xattr_block_to_bucket() 4198 for (i = 0; i < blks; i++) in ocfs2_cp_xattr_block_to_bucket()
|
/openbmc/linux/fs/f2fs/ |
H A D | segment.c | 3543 unsigned int blks = FDEV(devidx).end_blk - blkaddr + 1; in f2fs_update_device_state() local 3555 if (blkcnt <= blks) in f2fs_update_device_state() 3557 blkcnt -= blks; in f2fs_update_device_state() 3558 blkaddr += blks; in f2fs_update_device_state()
|
H A D | data.c | 1800 static inline u64 blks_to_bytes(struct inode *inode, u64 blks) in blks_to_bytes() argument 1802 return (blks << inode->i_blkbits); in blks_to_bytes()
|
/openbmc/linux/fs/ext4/ |
H A D | ext4.h | 371 #define EXT4_NUM_B2C(sbi, blks) (((blks) + (sbi)->s_cluster_ratio - 1) >> \ argument
|
H A D | super.c | 4224 int blks; in ext4_calculate_overhead() local 4226 blks = count_overhead(sb, i, buf); in ext4_calculate_overhead() 4227 overhead += blks; in ext4_calculate_overhead() 4228 if (blks) in ext4_calculate_overhead()
|
/openbmc/qemu/qga/ |
H A D | qapi-schema.json | 1179 # Note: it will return NULL if the @mem-blks list was empty on 1186 'data': {'mem-blks': ['GuestMemoryBlock'] },
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_bmap.c | 1010 int blks; /* space reservation */ in xfs_bmap_add_attrfork() local 1020 blks = XFS_ADDAFORK_SPACE_RES(mp); in xfs_bmap_add_attrfork() 1022 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_addafork, blks, 0, in xfs_bmap_add_attrfork()
|
123