Searched refs:n_blocks (Results  1 – 12 of 12) sorted by relevance
| /Linux-v5.4/drivers/md/ | 
| D | dm-writecache.c | 69 			__le64 n_blocks;  member143 	size_t n_blocks;  member
 862 	wc->entries = vmalloc(array_size(sizeof(struct wc_entry), wc->n_blocks));  in writecache_alloc_entries()
 865 	for (b = 0; b < wc->n_blocks; b++) {  in writecache_alloc_entries()
 905 	for (b = 0; b < wc->n_blocks; b++) {  in writecache_resume()
 925 	for (b = 0; b < wc->n_blocks; b++) {  in writecache_resume()
 1712 	uint64_t n_blocks, offset;  in calculate_memory_size()  local
 1715 	n_blocks = device_size;  in calculate_memory_size()
 1716 	do_div(n_blocks, block_size + sizeof(struct wc_memory_entry));  in calculate_memory_size()
 1719 		if (!n_blocks)  in calculate_memory_size()
 [all …]
 
 | 
| D | dm-verity.h | 77 	unsigned n_blocks;  member
 | 
| D | dm-verity-target.c | 47 	unsigned n_blocks;  member475 	for (b = 0; b < io->n_blocks; b++) {  in verity_verify_io()
 588 		verity_hash_at_level(v, pw->block + pw->n_blocks - 1, i, &hash_block_end, NULL);  in verity_prefetch_io()
 625 	pw->n_blocks = io->n_blocks;  in verity_submit_prefetch()
 660 	io->n_blocks = bio->bi_iter.bi_size >> v->data_dev_block_bits;  in verity_map()
 
 | 
| D | dm-bufio.c | 1104 		       sector_t block, unsigned n_blocks)  in dm_bufio_prefetch()  argument1115 	for (; n_blocks--; block++) {  in dm_bufio_prefetch()
 1136 			if (!n_blocks)  in dm_bufio_prefetch()
 
 | 
| /Linux-v5.4/drivers/gpu/drm/arm/display/komeda/ | 
| D | komeda_framebuffer.c | 46 	u32 alignment_w = 0, alignment_h = 0, alignment_header, n_blocks, bpp;  in komeda_fb_afbc_size_check()  local87 	n_blocks = (kfb->aligned_w * kfb->aligned_h) / AFBC_SUPERBLK_PIXELS;  in komeda_fb_afbc_size_check()
 88 	kfb->offset_payload = ALIGN(n_blocks * AFBC_HEADER_SIZE,  in komeda_fb_afbc_size_check()
 92 	kfb->afbc_size = kfb->offset_payload + n_blocks *  in komeda_fb_afbc_size_check()
 
 | 
| /Linux-v5.4/include/linux/ | 
| D | dm-bufio.h | 78 		       sector_t block, unsigned n_blocks);
 | 
| /Linux-v5.4/drivers/infiniband/hw/hfi1/ | 
| D | mad.c | 1927 	u32 n_blocks = OPA_AM_NBLK(am);  in __subn_get_opa_sc_to_vlt()  local1932 	if (n_blocks != 1 || smp_length_check(size, max_len)) {  in __subn_get_opa_sc_to_vlt()
 1949 	u32 n_blocks = OPA_AM_NBLK(am);  in __subn_set_opa_sc_to_vlt()  local
 1963 	if (n_blocks != 1 || async_update || smp_length_check(size, max_len)) {  in __subn_set_opa_sc_to_vlt()
 1991 	u32 n_blocks = OPA_AM_NPORT(am);  in __subn_get_opa_sc_to_vlnt()  local
 1997 	if (n_blocks != 1 || smp_length_check(size, max_len)) {  in __subn_get_opa_sc_to_vlnt()
 2016 	u32 n_blocks = OPA_AM_NPORT(am);  in __subn_set_opa_sc_to_vlnt()  local
 2023 	if (n_blocks != 1 || smp_length_check(size, max_len)) {  in __subn_set_opa_sc_to_vlnt()
 3937 	u32 n_blocks = OPA_AM_NBLK(am);  in __subn_get_opa_cc_table()  local
 3942 	u32 size = sizeof(u16) * (IB_CCT_ENTRIES * n_blocks + 1);  in __subn_get_opa_cc_table()
 [all …]
 
 | 
| /Linux-v5.4/drivers/tty/ | 
| D | cyclades.c | 113 	u32 n_blocks;  member122 	u32 n_blocks;  member
 3416 			(void *)(bs + h->n_blocks) > ptr + len) {  in __cyz_load_fw()
 3434 		for (a = 0; a < c->n_blocks; a++)  in __cyz_load_fw()
 3435 			if (c->block_list[a] > h->n_blocks) {  in __cyz_load_fw()
 3447 	for (b = bs; b < bs + h->n_blocks; b++)  in __cyz_load_fw()
 3458 	for (a = 0; a < c->n_blocks; a++) {  in __cyz_load_fw()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/dec/tulip/ | 
| D | de2104x.c | 271 	u8			n_blocks;  member1830 	if (il->n_blocks == 0)  in de21041_get_srom_info()
 1833 	    (sizeof(struct de_srom_info_leaf) + (sizeof(struct de_srom_media_block) * il->n_blocks)))  in de21041_get_srom_info()
 1860 	for (i = 0; i < il->n_blocks; i++) {  in de21041_get_srom_info()
 
 | 
| /Linux-v5.4/drivers/usb/host/ | 
| D | oxu210hp-hcd.c | 910 	int n_blocks;	/* minium blocks needed to hold len */  in oxu_buf_alloc()  local923 	n_blocks = (len + BUFFER_SIZE - 1) / BUFFER_SIZE;  in oxu_buf_alloc()
 926 	for (a_blocks = 1; a_blocks < n_blocks; a_blocks <<= 1)  in oxu_buf_alloc()
 
 | 
| /Linux-v5.4/drivers/media/dvb-frontends/ | 
| D | drxk_hard.c | 1310 	u16 n_blocks;  in download_microcode()  local1325 	n_blocks = (p_src[0] << 8) | p_src[1];  in download_microcode()
 1329 	for (i = 0; i < n_blocks; i += 1) {  in download_microcode()
 
 | 
| /Linux-v5.4/drivers/ata/ | 
| D | libata-scsi.c | 1789 static bool ata_check_nblocks(struct scsi_cmnd *scmd, u32 n_blocks)  in ata_check_nblocks()  argument1798 	if (n_blocks > req_blocks)  in ata_check_nblocks()
 
 |