Home
last modified time | relevance | path

Searched refs:lsize (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.1.9/arch/mips/pci/
Dpci.c28 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-6.1.9/arch/mips/include/asm/
Dr4kcache.h191 #define cache_unroll(times, insn, op, addr, lsize) do { \ argument
193 unroll(times, _cache_op, insn, op, (addr) + (i++ * (lsize))); \
197 #define __BUILD_BLAST_CACHE(pfx, desc, indexop, hitop, lsize, extra) \ argument
198 static inline void extra##blast_##pfx##cache##lsize(void) \
208 for (addr = start; addr < end; addr += lsize * 32) \
210 addr | ws, lsize); \
213 static inline void extra##blast_##pfx##cache##lsize##_page(unsigned long page) \
219 cache_unroll(32, kernel_cache, hitop, start, lsize); \
220 start += lsize * 32; \
224 static inline void extra##blast_##pfx##cache##lsize##_page_indexed(unsigned long page) \
[all …]
Dsgiarcs.h280 unsigned char lsize; member
284 unsigned char lsize;
/linux-6.1.9/security/integrity/platform_certs/
Defi_parser.c50 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()
Dload_uefi.c68 unsigned long lsize = 4; in get_cert_list() local
72 *status = efi.get_variable(name, guid, NULL, &lsize, &tmpdb); in get_cert_list()
81 db = kmalloc(lsize, GFP_KERNEL); in get_cert_list()
85 *status = efi.get_variable(name, guid, NULL, &lsize, db); in get_cert_list()
92 *size = lsize; in get_cert_list()
/linux-6.1.9/arch/x86/kernel/cpu/mtrr/
Dmtrr.c302 unsigned long lbase, lsize; in mtrr_add_page() local
344 mtrr_if->get(i, &lbase, &lsize, &ltype); in mtrr_add_page()
345 if (!lsize || base > lbase + lsize - 1 || in mtrr_add_page()
352 if (base < lbase || base + size - 1 > lbase + lsize - 1) { in mtrr_add_page()
354 base + size - 1 >= lbase + lsize - 1) { in mtrr_add_page()
363 lsize); in mtrr_add_page()
480 unsigned long lbase, lsize; in mtrr_del_page() local
493 mtrr_if->get(i, &lbase, &lsize, &ltype); in mtrr_del_page()
494 if (lbase == base && lsize == size) { in mtrr_del_page()
509 mtrr_if->get(reg, &lbase, &lsize, &ltype); in mtrr_del_page()
[all …]
Dcyrix.c93 unsigned long lbase, lsize; in cyrix_get_free_region() local
114 cyrix_get_arr(7, &lbase, &lsize, &ltype); in cyrix_get_free_region()
115 if (lsize == 0) in cyrix_get_free_region()
120 cyrix_get_arr(i, &lbase, &lsize, &ltype); in cyrix_get_free_region()
121 if (lsize == 0) in cyrix_get_free_region()
128 cyrix_get_arr(i, &lbase, &lsize, &ltype); in cyrix_get_free_region()
129 if ((lsize == 0) && (size >= 0x40)) in cyrix_get_free_region()
Dcentaur.c29 unsigned long lbase, lsize; in centaur_get_free_region() local
40 mtrr_if->get(i, &lbase, &lsize, &ltype); in centaur_get_free_region()
41 if (lsize == 0) in centaur_get_free_region()
Dgeneric.c561 unsigned long lbase, lsize; in generic_get_free_region() local
570 mtrr_if->get(i, &lbase, &lsize, &ltype); in generic_get_free_region()
571 if (lsize == 0) in generic_get_free_region()
/linux-6.1.9/arch/loongarch/pci/
Dpci.c46 unsigned int lsize; in pcibios_init() local
52 lsize = cpu_last_level_cache_line_size(); in pcibios_init()
54 BUG_ON(!lsize); in pcibios_init()
56 pci_dfl_cache_line_size = lsize >> 2; in pcibios_init()
58 pr_debug("PCI: pci_cache_line_size set to %d bytes\n", lsize); in pcibios_init()
/linux-6.1.9/arch/mips/mm/
Dc-r3k.c65 unsigned long flags, status, lsize, i; in r3k_cache_lsize() local
78 for (lsize = 1; lsize < 128; lsize <<= 1) { in r3k_cache_lsize()
79 *(p + lsize); in r3k_cache_lsize()
84 for (i = 0; i < 128; i += lsize) in r3k_cache_lsize()
89 return lsize * sizeof(*p); in r3k_cache_lsize()
Dc-r4k.c1111 unsigned int lsize; in probe_pcache() local
1234 lsize = (config1 >> 19) & 7; in probe_pcache()
1235 if (lsize) in probe_pcache()
1236 c->icache.linesz = 2 << lsize; in probe_pcache()
1246 lsize = (config1 >> 10) & 7; in probe_pcache()
1247 if (lsize) in probe_pcache()
1248 c->dcache.linesz = 2 << lsize; in probe_pcache()
1288 lsize = (config1 >> 19) & 7; in probe_pcache()
1291 if (lsize == 7) in probe_pcache()
1294 c->icache.linesz = lsize ? 2 << lsize : 0; in probe_pcache()
[all …]
Dsc-mips.c37 unsigned long lsize = cpu_scache_line_size(); in mips_sc_inv() local
38 unsigned long almask = ~(lsize - 1); in mips_sc_inv()
/linux-6.1.9/drivers/bluetooth/
Dh4_recv.h15 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()
Dhci_uart.h121 u8 lsize; /* Data length field size */ member
130 .lsize = 2, \
137 .lsize = 1, \
144 .lsize = 1, \
151 .lsize = 2, \
Dhci_ll.c390 .lsize = 0, \
397 .lsize = 0, \
404 .lsize = 0, \
411 .lsize = 0, \
Dhci_mrvl.c232 .lsize = 0, \
239 .lsize = 0, \
Dhci_nokia.c62 .lsize = 1, \
69 .lsize = 1, \
76 .lsize = 1, \
Dhci_bcm.c656 .lsize = 0, \
663 .lsize = 0, \
670 .lsize = 0, \
677 .lsize = 0, \
/linux-6.1.9/fs/ntfs3/
Dattrlist.c47 size_t lsize; in ntfs_load_attr_list() local
54 lsize = le32_to_cpu(attr->res.data_size); in ntfs_load_attr_list()
55 le = kmalloc(al_aligned(lsize), GFP_NOFS); in ntfs_load_attr_list()
60 memcpy(le, resident_data(attr), lsize); in ntfs_load_attr_list()
67 lsize = le64_to_cpu(attr->nres.data_size); in ntfs_load_attr_list()
83 le = kmalloc(al_aligned(lsize), GFP_NOFS); in ntfs_load_attr_list()
90 lsize, NULL); in ntfs_load_attr_list()
95 ni->attr_list.size = lsize; in ntfs_load_attr_list()
/linux-6.1.9/arch/powerpc/kernel/
Dsetup_64.c546 static void __init init_cache_info(struct ppc_cache_info *info, u32 size, u32 lsize, in init_cache_info() argument
551 info->line_size = lsize; in init_cache_info()
562 info->assoc = size / (sets * lsize); in init_cache_info()
583 u32 size, lsize, bsize, sets; in parse_cache_info() local
588 lsize = bsize = cur_cpu_spec->dcache_bsize; in parse_cache_info()
602 lsize = be32_to_cpu(*lsizep); in parse_cache_info()
619 init_cache_info(info, size, lsize, bsize, sets); in parse_cache_info()
/linux-6.1.9/scripts/
Dinsert-sys-cert.c283 unsigned long *lsize; in main() local
380 lsize = (unsigned long *)lsize_sym.content; in main()
403 *lsize = *lsize + cert_size - *used; in main()
/linux-6.1.9/drivers/scsi/cxlflash/
Dvlun.h69 size_t lsize; /* LUN size in number of LBAs */ member
/linux-6.1.9/drivers/dma-buf/
Dudmabuf.c323 u32 lsize; in udmabuf_ioctl_create_list() local
329 lsize = sizeof(struct udmabuf_create_item) * head.count; in udmabuf_ioctl_create_list()
330 list = memdup_user((void __user *)(arg + sizeof(head)), lsize); in udmabuf_ioctl_create_list()
/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dfw_inc.c205 size_t remain, lsize; in fw_handle_concurrency() local
222 lsize = combo->n_limits * sizeof(*limit); in fw_handle_concurrency()
223 if (remain < lsize) in fw_handle_concurrency()
225 remain -= lsize; in fw_handle_concurrency()

12