/linux-master/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-master/drivers/md/ |
H A D | dm-writecache.c | 74 __le64 n_blocks; member in struct:wc_memory_superblock::__anon764::__anon765 150 size_t n_blocks; member in struct:dm_writecache 965 wc->entries = vmalloc_array(wc->n_blocks, sizeof(struct wc_entry)); 968 for (b = 0; b < wc->n_blocks; b++) { 1041 for (b = 0; b < wc->n_blocks; b++) { 1064 for (b = 0; b < wc->n_blocks; b++) { 1161 wc->freelist_high_watermark = wc->n_blocks; 1162 wc->freelist_low_watermark = wc->n_blocks; 2117 uint64_t n_blocks, offset; local 2120 n_blocks 2520 size_t n_blocks, n_metadata_blocks; local [all...] |
H A D | dm-verity-target.c | 56 unsigned int n_blocks; member in struct:dm_verity_prefetch_work 588 for (b = 0; b < io->n_blocks; b++) { 761 verity_hash_at_level(v, pw->block + pw->n_blocks - 1, i, &hash_block_end, NULL); 791 unsigned int n_blocks = io->n_blocks; local 795 while (n_blocks && test_bit(block, v->validated_blocks)) { 797 n_blocks--; 799 while (n_blocks && test_bit(block + n_blocks - 1, 801 n_blocks [all...] |
H A D | dm-verity.h | 86 unsigned int n_blocks; member in struct:dm_verity_io
|
H A D | dm-bufio.c | 1971 sector_t block, unsigned int n_blocks, 1983 for (; n_blocks--; block++) { 2013 if (!n_blocks) 2024 void dm_bufio_prefetch(struct dm_bufio_client *c, sector_t block, unsigned int n_blocks) argument 2026 return __dm_bufio_prefetch(c, block, n_blocks, IOPRIO_DEFAULT); 2031 unsigned int n_blocks, unsigned short ioprio) 2033 return __dm_bufio_prefetch(c, block, n_blocks, ioprio); 2266 void dm_bufio_forget_buffers(struct dm_bufio_client *c, sector_t block, sector_t n_blocks) argument 2269 cache_remove_range(&c->cache, block, block + n_blocks, idle, __free_buffer_wake); 1970 __dm_bufio_prefetch(struct dm_bufio_client *c, sector_t block, unsigned int n_blocks, unsigned short ioprio) argument 2030 dm_bufio_prefetch_with_ioprio(struct dm_bufio_client *c, sector_t block, unsigned int n_blocks, unsigned short ioprio) argument
|
/linux-master/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_framebuffer.c | 46 u32 alignment_w = 0, alignment_h = 0, alignment_header, n_blocks, bpp; local 87 n_blocks = (kfb->aligned_w * kfb->aligned_h) / AFBC_SUPERBLK_PIXELS; 88 kfb->offset_payload = ALIGN(n_blocks * AFBC_HEADER_SIZE, 92 kfb->afbc_size = kfb->offset_payload + n_blocks *
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_gem_framebuffer_helper.c | 526 __u32 n_blocks, w_alignment, h_alignment, hdr_alignment; local 569 n_blocks = (afbc_fb->aligned_width * afbc_fb->aligned_height) 571 afbc_fb->afbc_size = ALIGN(n_blocks * AFBC_HEADER_SIZE, hdr_alignment); 572 afbc_fb->afbc_size += n_blocks * ALIGN(bpp * AFBC_SUPERBLOCK_PIXELS / 8,
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 1885 u32 n_blocks = OPA_AM_NBLK(am); local 1890 if (n_blocks != 1 || smp_length_check(size, max_len)) { 1907 u32 n_blocks = OPA_AM_NBLK(am); local 1921 if (n_blocks != 1 || async_update || smp_length_check(size, max_len)) { 1949 u32 n_blocks = OPA_AM_NPORT(am); local 1955 if (n_blocks != 1 || smp_length_check(size, max_len)) { 1974 u32 n_blocks = OPA_AM_NPORT(am); local 1981 if (n_blocks != 1 || smp_length_check(size, max_len)) { 3894 u32 n_blocks = OPA_AM_NBLK(am); local 3899 u32 size = sizeof(u16) * (IB_CCT_ENTRIES * n_blocks 3945 u32 n_blocks = OPA_AM_NBLK(am); local [all...] |
/linux-master/drivers/net/ethernet/dec/tulip/ |
H A D | de2104x.c | 265 u8 n_blocks; member in struct:de_srom_info_leaf 1837 if (il->n_blocks == 0) 1840 (sizeof(struct de_srom_info_leaf) + (sizeof(struct de_srom_media_block) * il->n_blocks))) 1867 for (i = 0; i < il->n_blocks; i++) {
|
/linux-master/drivers/usb/host/ |
H A D | oxu210hp-hcd.c | 909 int n_blocks; /* minium blocks needed to hold len */ local 922 n_blocks = (len + BUFFER_SIZE - 1) / BUFFER_SIZE; 925 for (a_blocks = 1; a_blocks < n_blocks; a_blocks <<= 1)
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | drxk_hard.c | 1279 u16 n_blocks; local 1294 n_blocks = (p_src[0] << 8) | p_src[1]; 1298 for (i = 0; i < n_blocks; i += 1) {
|
/linux-master/drivers/ata/ |
H A D | libata-scsi.c | 1482 static bool ata_check_nblocks(struct scsi_cmnd *scmd, u32 n_blocks) argument 1491 if (n_blocks > req_blocks)
|