Searched refs:n_blocks (Results 1 – 8 of 8) sorted by relevance
| /linux/include/linux/ |
| H A D | dm-bufio.h | 90 sector_t block, unsigned int n_blocks); 93 sector_t block, unsigned int n_blocks, 154 void dm_bufio_forget_buffers(struct dm_bufio_client *c, sector_t block, sector_t n_blocks);
|
| /linux/drivers/md/ |
| H A D | dm-verity-target.c | 69 unsigned int n_blocks; member 531 for (b = 0; b < io->n_blocks; in verity_verify_io() 681 unsigned int bytes = io->n_blocks << io->v->data_dev_block_bits; in verity_end_io() 722 verity_hash_at_level(v, pw->block + pw->n_blocks - 1, i, &hash_block_end, NULL); in verity_prefetch_io() 752 unsigned int n_blocks = io->n_blocks; in verity_submit_prefetch() local 756 while (n_blocks && test_bit(block, v->validated_blocks)) { in verity_submit_prefetch() 758 n_blocks--; in verity_submit_prefetch() 760 while (n_blocks && test_bit(block + n_blocks - 1, in verity_submit_prefetch() 762 n_blocks--; in verity_submit_prefetch() 763 if (!n_blocks) in verity_submit_prefetch() [all …]
|
| H A D | dm-verity.h | 103 unsigned int n_blocks; member
|
| H A D | dm-bufio.c | 1987 sector_t block, unsigned int n_blocks, in __dm_bufio_prefetch() argument 1999 for (; n_blocks--; block++) { in __dm_bufio_prefetch() 2031 if (!n_blocks) in __dm_bufio_prefetch() 2042 void dm_bufio_prefetch(struct dm_bufio_client *c, sector_t block, unsigned int n_blocks) in dm_bufio_prefetch() argument 2044 return __dm_bufio_prefetch(c, block, n_blocks, IOPRIO_DEFAULT); in dm_bufio_prefetch() 2049 unsigned int n_blocks, unsigned short ioprio) in dm_bufio_prefetch_with_ioprio() argument 2051 return __dm_bufio_prefetch(c, block, n_blocks, ioprio); in dm_bufio_prefetch_with_ioprio() 2290 void dm_bufio_forget_buffers(struct dm_bufio_client *c, sector_t block, sector_t n_blocks) in dm_bufio_forget_buffers() argument 2293 cache_remove_range(&c->cache, block, block + n_blocks, idle, __free_buffer_wake); in dm_bufio_forget_buffers()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_gem_framebuffer_helper.c | 528 __u32 n_blocks, w_alignment, h_alignment, hdr_alignment; in drm_gem_afbc_min_size() local 571 n_blocks = (afbc_fb->aligned_width * afbc_fb->aligned_height) in drm_gem_afbc_min_size() 573 afbc_fb->afbc_size = ALIGN(n_blocks * AFBC_HEADER_SIZE, hdr_alignment); in drm_gem_afbc_min_size() 574 afbc_fb->afbc_size += n_blocks * ALIGN(bpp * AFBC_SUPERBLOCK_PIXELS / 8, in drm_gem_afbc_min_size()
|
| /linux/drivers/usb/host/ |
| H A D | oxu210hp-hcd.c | 885 int n_blocks; /* minium blocks needed to hold len */ in oxu_buf_alloc() local 898 n_blocks = (len + BUFFER_SIZE - 1) / BUFFER_SIZE; in oxu_buf_alloc() 901 for (a_blocks = 1; a_blocks < n_blocks; a_blocks <<= 1) in oxu_buf_alloc()
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | drxk_hard.c | 1279 u16 n_blocks; in download_microcode() local 1294 n_blocks = (p_src[0] << 8) | p_src[1]; in download_microcode() 1298 for (i = 0; i < n_blocks; i += 1) { in download_microcode()
|
| /linux/drivers/ata/ |
| H A D | libata-scsi.c | 1513 static bool ata_check_nblocks(struct scsi_cmnd *scmd, u32 n_blocks) in ata_check_nblocks() argument 1522 if (n_blocks > req_blocks) in ata_check_nblocks()
|