/Linux-v5.4/arch/mips/pci/ |
D | pci.c | 28 unsigned int lsize; in pcibios_set_cache_line_size() local 34 lsize = cpu_dcache_line_size(); in pcibios_set_cache_line_size() 35 lsize = cpu_scache_line_size() ? : lsize; in pcibios_set_cache_line_size() 36 lsize = cpu_tcache_line_size() ? : lsize; in pcibios_set_cache_line_size() 38 BUG_ON(!lsize); in pcibios_set_cache_line_size() 40 pci_dfl_cache_line_size = lsize >> 2; in pcibios_set_cache_line_size() 42 pr_debug("PCI: pci_cache_line_size set to %d bytes\n", lsize); in pcibios_set_cache_line_size()
|
/Linux-v5.4/arch/mips/include/asm/ |
D | r4kcache.h | 530 #define __BUILD_BLAST_CACHE(pfx, desc, indexop, hitop, lsize, extra) \ argument 531 static inline void extra##blast_##pfx##cache##lsize(void) \ 541 for (addr = start; addr < end; addr += lsize * 32) \ 542 cache##lsize##_unroll32(addr|ws, indexop); \ 545 static inline void extra##blast_##pfx##cache##lsize##_page(unsigned long page) \ 551 cache##lsize##_unroll32(start, hitop); \ 552 start += lsize * 32; \ 556 static inline void extra##blast_##pfx##cache##lsize##_page_indexed(unsigned long page) \ 567 for (addr = start; addr < end; addr += lsize * 32) \ 568 cache##lsize##_unroll32(addr|ws, indexop); \ [all …]
|
D | sgiarcs.h | 278 unsigned char lsize; member 282 unsigned char lsize;
|
/Linux-v5.4/security/integrity/platform_certs/ |
D | efi_parser.c | 50 size_t lsize, esize, hsize, elsize; in parse_efi_signature_list() local 61 lsize = list.signature_list_size; in parse_efi_signature_list() 64 elsize = lsize - sizeof(list) - hsize; in parse_efi_signature_list() 66 if (lsize > size) { in parse_efi_signature_list() 72 if (lsize < sizeof(list) || in parse_efi_signature_list() 73 lsize - sizeof(list) < hsize || in parse_efi_signature_list() 83 data += lsize; in parse_efi_signature_list() 84 size -= lsize; in parse_efi_signature_list() 85 offs += lsize; in parse_efi_signature_list()
|
D | load_uefi.c | 45 unsigned long lsize = 4; in get_cert_list() local 49 status = efi.get_variable(name, guid, NULL, &lsize, &tmpdb); in get_cert_list() 55 db = kmalloc(lsize, GFP_KERNEL); in get_cert_list() 59 status = efi.get_variable(name, guid, NULL, &lsize, db); in get_cert_list() 66 *size = lsize; in get_cert_list()
|
/Linux-v5.4/arch/x86/kernel/cpu/mtrr/ |
D | mtrr.c | 304 unsigned long lbase, lsize; in mtrr_add_page() local 346 mtrr_if->get(i, &lbase, &lsize, <ype); in mtrr_add_page() 347 if (!lsize || base > lbase + lsize - 1 || in mtrr_add_page() 354 if (base < lbase || base + size - 1 > lbase + lsize - 1) { in mtrr_add_page() 356 base + size - 1 >= lbase + lsize - 1) { in mtrr_add_page() 365 lsize); in mtrr_add_page() 482 unsigned long lbase, lsize; in mtrr_del_page() local 495 mtrr_if->get(i, &lbase, &lsize, <ype); in mtrr_del_page() 496 if (lbase == base && lsize == size) { in mtrr_del_page() 511 mtrr_if->get(reg, &lbase, &lsize, <ype); in mtrr_del_page() [all …]
|
D | cyrix.c | 93 unsigned long lbase, lsize; in cyrix_get_free_region() local 114 cyrix_get_arr(7, &lbase, &lsize, <ype); in cyrix_get_free_region() 115 if (lsize == 0) in cyrix_get_free_region() 120 cyrix_get_arr(i, &lbase, &lsize, <ype); in cyrix_get_free_region() 121 if (lsize == 0) in cyrix_get_free_region() 128 cyrix_get_arr(i, &lbase, &lsize, <ype); in cyrix_get_free_region() 129 if ((lsize == 0) && (size >= 0x40)) in cyrix_get_free_region()
|
D | centaur.c | 29 unsigned long lbase, lsize; in centaur_get_free_region() local 40 mtrr_if->get(i, &lbase, &lsize, <ype); in centaur_get_free_region() 41 if (lsize == 0) in centaur_get_free_region()
|
D | generic.c | 562 unsigned long lbase, lsize; in generic_get_free_region() local 571 mtrr_if->get(i, &lbase, &lsize, <ype); in generic_get_free_region() 572 if (lsize == 0) in generic_get_free_region()
|
/Linux-v5.4/arch/mips/mm/ |
D | c-r3k.c | 66 unsigned long flags, status, lsize, i; in r3k_cache_lsize() local 79 for (lsize = 1; lsize < 128; lsize <<= 1) { in r3k_cache_lsize() 80 *(p + lsize); in r3k_cache_lsize() 85 for (i = 0; i < 128; i += lsize) in r3k_cache_lsize() 90 return lsize * sizeof(*p); in r3k_cache_lsize()
|
D | c-r4k.c | 1081 unsigned int lsize; in probe_pcache() local 1247 lsize = (config1 >> 19) & 7; in probe_pcache() 1248 if (lsize) in probe_pcache() 1249 c->icache.linesz = 2 << lsize; in probe_pcache() 1259 lsize = (config1 >> 10) & 7; in probe_pcache() 1260 if (lsize) in probe_pcache() 1261 c->dcache.linesz = 2 << lsize; in probe_pcache() 1299 lsize = (config1 >> 19) & 7; in probe_pcache() 1302 if (lsize == 7) in probe_pcache() 1305 c->icache.linesz = lsize ? 2 << lsize : 0; in probe_pcache() [all …]
|
D | sc-mips.c | 38 unsigned long lsize = cpu_scache_line_size(); in mips_sc_inv() local 39 unsigned long almask = ~(lsize - 1); in mips_sc_inv()
|
/Linux-v5.4/drivers/bluetooth/ |
D | h4_recv.h | 15 u8 lsize; /* Data length field size */ member 24 .lsize = 2, \ 31 .lsize = 1, \ 38 .lsize = 1, \ 101 switch ((&pkts[i])->lsize) { in h4_recv_buf()
|
D | hci_uart.h | 120 u8 lsize; /* Data length field size */ member 129 .lsize = 2, \ 136 .lsize = 1, \ 143 .lsize = 1, \
|
D | hci_ll.c | 390 .lsize = 0, \ 397 .lsize = 0, \ 404 .lsize = 0, \ 411 .lsize = 0, \
|
D | hci_mrvl.c | 232 .lsize = 0, \ 239 .lsize = 0, \
|
D | hci_nokia.c | 62 .lsize = 1, \ 69 .lsize = 1, \ 76 .lsize = 1, \
|
D | hci_bcm.c | 594 .lsize = 0, \ 601 .lsize = 0, \ 608 .lsize = 0, \ 615 .lsize = 0, \
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | setup_64.c | 473 static void init_cache_info(struct ppc_cache_info *info, u32 size, u32 lsize, in init_cache_info() argument 478 info->line_size = lsize; in init_cache_info() 489 info->assoc = size / (sets * lsize); in init_cache_info() 510 u32 size, lsize, bsize, sets; in parse_cache_info() local 515 lsize = bsize = cur_cpu_spec->dcache_bsize; in parse_cache_info() 527 lsize = be32_to_cpu(*lsizep); in parse_cache_info() 544 init_cache_info(info, size, lsize, bsize, sets); in parse_cache_info()
|
/Linux-v5.4/scripts/ |
D | insert-sys-cert.c | 283 unsigned long *lsize; in main() local 380 lsize = (unsigned long *)lsize_sym.content; in main() 403 *lsize = *lsize + cert_size - *used; in main()
|
/Linux-v5.4/drivers/dma-buf/ |
D | udmabuf.c | 235 u32 lsize; in udmabuf_ioctl_create_list() local 241 lsize = sizeof(struct udmabuf_create_item) * head.count; in udmabuf_ioctl_create_list() 242 list = memdup_user((void __user *)(arg + sizeof(head)), lsize); in udmabuf_ioctl_create_list()
|
/Linux-v5.4/drivers/scsi/cxlflash/ |
D | vlun.h | 69 size_t lsize; /* LUN size in number of LBAs */ member
|
D | vlun.c | 68 __func__, ba_lun->lun_id, ba_lun->lsize, ba_lun->au_size); in ba_init() 71 lun_size_au = ba_lun->lsize / ba_lun->au_size; in ba_init() 379 blka->ba_lun.lsize = gli->max_lba + 1; in init_vlun() 383 blka->nchunk = blka->ba_lun.lsize / MC_CHUNK_SIZE; in init_vlun()
|
/Linux-v5.4/drivers/net/wireless/ath/wil6210/ |
D | fw_inc.c | 216 size_t remain, lsize; in fw_handle_concurrency() local 233 lsize = combo->n_limits * sizeof(*limit); in fw_handle_concurrency() 234 if (remain < lsize) in fw_handle_concurrency() 236 remain -= lsize; in fw_handle_concurrency()
|
/Linux-v5.4/drivers/staging/media/tegra-vde/ |
D | vde.c | 544 size_t lsize, size_t csize) in tegra_vde_attach_dmabufs_to_frame() argument 549 src->y_offset, lsize, SZ_256, in tegra_vde_attach_dmabufs_to_frame() 704 size_t lsize, csize; in tegra_vde_ioctl_decode_h264() local 754 lsize = macroblocks_nb * 256; in tegra_vde_ioctl_decode_h264() 769 lsize, csize); in tegra_vde_ioctl_decode_h264()
|