Searched refs:blocks (Results 151 - 175 of 449) sorted by relevance

1234567891011>>

/linux-master/fs/minix/
H A Dbitmap.c23 * bitmap consists of blocks filled with 16bit words
30 unsigned blocks = DIV_ROUND_UP(numbits, blocksize * 8); local
32 while (blocks--) {
/linux-master/drivers/s390/block/
H A Ddasd_proc.c89 "at blocksize: %u, %lu blocks, %lu MB",
90 block->bp_block, block->blocks,
92 block->blocks) >> 11);
/linux-master/fs/xfs/
H A Dxfs_trans.h126 unsigned int t_blk_res; /* # of blocks resvd */
127 unsigned int t_blk_res_used; /* # of resvd blocks used */
165 uint blocks, uint rtextents, uint flags,
168 unsigned int blocks, unsigned int rtextents);
/linux-master/fs/erofs/
H A Derofs_fs.h48 __le32 blocks; /* total fs blocks of this device */ member in struct:erofs_deviceslot
67 __le32 blocks; /* used for statfs */ member in struct:erofs_super_block
142 /* total compressed blocks for compressed inodes */
/linux-master/fs/gfs2/
H A Dquota.c752 if (change < 0) /* Reset quiet flag if we freed some blocks */
933 unsigned int nalloc = 0, blocks; local
971 * two blocks need to be updated instead of 1 */
972 blocks = num_qd * data_blocks + RES_DINODE + num_qd + 3;
981 blocks += gfs2_rg_blocks(ip, reserved) + nalloc * ind_blocks + RES_STATFS;
983 error = gfs2_trans_begin(sdp, blocks, 0);
1220 * gfs2_quota_check - check if allocating new blocks will exceed quota
1225 * blocks. ap->min_target, if set, contains the minimum blks
1231 * ap->allowed is set to the number of blocks allowed
1234 * of blocks availabl
1405 unsigned int blocks = size >> sdp->sd_sb.sb_bsize_shift; local
1701 unsigned int blocks = 0; local
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-qup.c158 * count: no of blocks
651 u32 len = 0, blocks, rem; local
658 blocks = qup->blk.count;
659 rem = msg->len - (blocks - 1) * limit;
662 while (qup->blk.pos < blocks) {
663 tlen = (i == (blocks - 1)) ? rem : limit;
694 while (qup->blk.pos < blocks) {
695 tlen = (i == (blocks - 1)) ? rem : limit;
1423 * multiple of blk_xfer_limit data length blocks and schedule each
1664 int blocks; local
[all...]
/linux-master/fs/quota/
H A Dquota.c177 static inline qsize_t qbtos(qsize_t blocks) argument
179 return blocks << QIF_DQBLKSIZE_BITS;
382 fqs->qs_uquota.qfs_nblks = state.s_state[USRQUOTA].blocks;
387 fqs->qs_gquota.qfs_nblks = state.s_state[GRPQUOTA].blocks;
399 state.s_state[PRJQUOTA].blocks;
481 fqs->qs_uquota.qfs_nblks = state.s_state[USRQUOTA].blocks;
486 fqs->qs_gquota.qfs_nblks = state.s_state[GRPQUOTA].blocks;
491 fqs->qs_pquota.qfs_nblks = state.s_state[PRJQUOTA].blocks;
529 static inline u64 quota_bbtob(u64 blocks) argument
531 return blocks << XFS_BB_SHIF
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dpapr_scm.c55 uint64_t blocks; member in struct:papr_scm_priv
142 p->blocks, BIND_ANY_ADDR, token);
209 p->drc_index, p->blocks - 1);
214 if ((end_addr - start_addr) != ((p->blocks - 1) * p->block_size))
1252 mapping.size = p->blocks * p->block_size; // XXX: potential overflow?
1363 u64 blocks, block_size; local
1382 if (of_property_read_u64(dn, "ibm,number-of-blocks", &blocks)) {
1383 dev_err(&pdev->dev, "%pOF: missing number-of-blocks!\n", dn);
1413 p->blocks
[all...]
/linux-master/include/trace/events/
H A Df2fs.h196 __field(blkcnt_t, blocks)
207 __entry->blocks = inode->i_blocks;
218 (unsigned long long)__entry->blocks,
348 __field(blkcnt_t, blocks)
356 __entry->blocks = dir->i_blocks;
364 (unsigned long long)__entry->blocks,
428 __field(blkcnt_t, blocks)
436 __entry->blocks = inode->i_blocks;
444 (unsigned long long)__entry->blocks,
998 __field(blkcnt_t, blocks)
[all...]
H A Dext4.h177 __field( __u64, blocks )
186 __entry->blocks = inode->i_blocks;
190 TP_printk("dev %d,%d ino %lu mode 0%o uid %u gid %u blocks %llu",
193 __entry->uid, __entry->gid, __entry->blocks)
1432 __field( unsigned int, blocks )
1440 __entry->blocks = max_blocks;
1444 TP_printk("dev %d,%d ino %lu pos %lld blocks %u ret %d",
1447 __entry->pos, __entry->blocks,
1507 __field( __u64, blocks )
1513 __entry->blocks
[all...]
/linux-master/tools/testing/selftests/net/
H A Dpsock_tpacket.c385 * up based on blocks (e.g, rd_num is tp_block_nr)
630 static void __v1_v2_fill(struct ring *ring, unsigned int blocks) argument
634 ring->req.tp_block_nr = blocks;
646 static void __v3_fill(struct ring *ring, unsigned int blocks, int type) argument
655 ring->req3.tp_block_nr = blocks;
670 unsigned int blocks = 256; local
680 __v1_v2_fill(ring, blocks);
686 __v3_fill(ring, blocks, type);
/linux-master/drivers/mmc/host/
H A Dmxs-mmc.c150 * data blocks as being in error.
153 data->bytes_xfered = data->blocks * data->blksz;
355 unsigned int blocks = data->blocks; local
392 * is not equal to blocks x blksz
397 if (data_size != data->blocks * data->blksz)
398 blocks = 1;
404 BF_SSP(blocks - 1, CMD0_BLOCK_COUNT);
408 BF_SSP(blocks - 1, BLOCK_SIZE_BLOCK_COUNT),
H A Dmmci_qcom_dml.c70 writel_relaxed(data->blocks * data->blksz,
H A Dtoshsd.c277 data->bytes_xfered = data->blocks * data->blksz;
457 if (data->blocks > 1) {
479 data->blksz, data->blocks, data->sg->offset);
491 iowrite16(data->blocks, host->ioaddr + SD_BLOCKCOUNT);
/linux-master/tools/testing/selftests/x86/
H A Dlam.c487 int blocks = (int)(fi->file_sz + URING_BLOCK_SZ - 1) / URING_BLOCK_SZ; local
489 for (int i = 0; i < blocks; i++)
513 int blocks = (int)(remain + URING_BLOCK_SZ - 1) / URING_BLOCK_SZ; local
545 sqe->len = blocks;
589 int blocks = (int)(file_sz + URING_BLOCK_SZ - 1) / URING_BLOCK_SZ; local
591 fi = malloc(sizeof(*fi) + sizeof(struct iovec) * blocks);
615 for (int i = 0; i < blocks; i++) {
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h93 SVGA3dSize blocks; local
95 vmw_surface_get_size_in_blocks(desc, size, &blocks);
97 pitch = blocks.width * desc->pitchBytesPerBlock;
/linux-master/drivers/gpio/
H A Dgpio-sch311x.c48 struct sch311x_gpio_block blocks[6]; member in struct:sch311x_gpio_priv
284 for (i = 0; i < ARRAY_SIZE(priv->blocks); i++) {
285 block = &priv->blocks[i];
/linux-master/drivers/mfd/
H A Dtc3589x.c287 unsigned int blocks = tc3589x->pdata->block; local
289 if (blocks & TC3589x_BLOCK_GPIO) {
300 if (blocks & TC3589x_BLOCK_KEYPAD) {
/linux-master/drivers/infiniband/hw/hfi1/
H A Dpio.c130 /* centi%, abs blocks */
138 * 100th of 1% of memory to use, -1 if blocks
142 int blocks; /* block size of the pool */ member in struct:mem_pool_info
143 int size; /* context size, in blocks */
215 * - add up absolute blocks, then later check for over-commit
229 } else if (ab >= 0) { /* absolute blocks valid */
240 mem_pool_info[i].blocks = ab;
243 /* do not use both % and absolute blocks for different pools */
247 "All send context memory pools must be described as either centipercent or blocks, no mixing between pools\n");
336 /* step 3: calculate the blocks i
1415 unsigned long blocks = dwords_to_blocks(dw_len); local
[all...]
/linux-master/include/uapi/linux/
H A Dfuse.h266 uint64_t blocks; member in struct:fuse_attr
303 uint64_t blocks; member in struct:fuse_statx
317 uint64_t blocks; member in struct:fuse_kstatfs
/linux-master/arch/powerpc/crypto/
H A Dmd5-glue.c18 extern void ppc_md5_transform(u32 *state, const u8 *src, u32 blocks);
H A Dsha1-spe-glue.c33 extern void ppc_spe_sha1_transform(u32 *state, const u8 *src, u32 blocks);
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dwndwc67e.c57 NVVAL(NVC57E, SET_PLANAR_STORAGE, PITCH, asyw->image.blocks[0]) |
/linux-master/include/linux/qed/
H A Dqed_iscsi_if.h122 u8 *blocks[MAX_TID_BLOCKS_ISCSI]; member in struct:qed_iscsi_tid
H A Dqed_nvmetcp_if.h29 u8 *blocks[MAX_TID_BLOCKS_NVMETCP]; member in struct:qed_nvmetcp_tid

Completed in 463 milliseconds

1234567891011>>