Searched refs:lsize (Results 1 - 25 of 39) sorted by relevance

12

/linux-master/arch/mips/pci/
H A Dpci.c28 unsigned int lsize; local
34 lsize = cpu_dcache_line_size();
35 lsize = cpu_scache_line_size() ? : lsize;
36 lsize = cpu_tcache_line_size() ? : lsize;
38 BUG_ON(!lsize);
40 pci_dfl_cache_line_size = lsize >> 2;
42 pr_debug("PCI: pci_cache_line_size set to %d bytes\n", lsize);
/linux-master/security/integrity/platform_certs/
H A Defi_parser.c50 size_t lsize, esize, hsize, elsize; local
61 lsize = list.signature_list_size;
64 elsize = lsize - sizeof(list) - hsize;
66 if (lsize > size) {
72 if (lsize < sizeof(list) ||
73 lsize - sizeof(list) < hsize ||
83 data += lsize;
84 size -= lsize;
85 offs += lsize;
H A Dload_uefi.c68 unsigned long lsize = 4; local
72 *status = efi.get_variable(name, guid, NULL, &lsize, &tmpdb);
81 db = kmalloc(lsize, GFP_KERNEL);
85 *status = efi.get_variable(name, guid, NULL, &lsize, db);
92 *size = lsize;
/linux-master/arch/mips/include/asm/
H A Dr4kcache.h195 #define cache_unroll(times, insn, op, addr, lsize) do { \
197 unroll(times, _cache_op, insn, op, (addr) + (i++ * (lsize))); \
201 #define __BUILD_BLAST_CACHE(pfx, desc, indexop, hitop, lsize, extra) \
202 static inline void extra##blast_##pfx##cache##lsize(void) \
212 for (addr = start; addr < end; addr += lsize * 32) \
214 addr | ws, lsize); \
217 static inline void extra##blast_##pfx##cache##lsize##_page(unsigned long page) \
223 cache_unroll(32, kernel_cache, hitop, start, lsize); \
224 start += lsize * 32; \
228 static inline void extra##blast_##pfx##cache##lsize##_page_indexe
[all...]
H A Dsgiarcs.h280 unsigned char lsize; member in struct:linux_cache_key::param
284 unsigned char lsize;
/linux-master/arch/x86/kernel/cpu/mtrr/
H A Dlegacy.c39 unsigned long lsize; member in struct:mtrr_value
53 &mtrr_value[i].lsize,
64 if (mtrr_value[i].lsize) {
66 mtrr_value[i].lsize,
H A Dcyrix.c93 unsigned long lbase, lsize; local
114 cyrix_get_arr(7, &lbase, &lsize, &ltype);
115 if (lsize == 0)
120 cyrix_get_arr(i, &lbase, &lsize, &ltype);
121 if (lsize == 0)
128 cyrix_get_arr(i, &lbase, &lsize, &ltype);
129 if ((lsize == 0) && (size >= 0x40))
H A Dmtrr.c228 unsigned long lbase, lsize; local
270 mtrr_if->get(i, &lbase, &lsize, &ltype);
271 if (!lsize || base > lbase + lsize - 1 ||
278 if (base < lbase || base + size - 1 > lbase + lsize - 1) {
280 base + size - 1 >= lbase + lsize - 1) {
289 lsize);
406 unsigned long lbase, lsize; local
419 mtrr_if->get(i, &lbase, &lsize, &ltype);
420 if (lbase == base && lsize
[all...]
H A Dcentaur.c29 unsigned long lbase, lsize; local
40 mtrr_if->get(i, &lbase, &lsize, &ltype);
41 if (lsize == 0)
/linux-master/arch/loongarch/pci/
H A Dpci.c46 unsigned int lsize; local
52 lsize = cpu_last_level_cache_line_size();
54 BUG_ON(!lsize);
56 pci_dfl_cache_line_size = lsize >> 2;
58 pr_debug("PCI: pci_cache_line_size set to %d bytes\n", lsize);
/linux-master/drivers/firmware/efi/libstub/
H A Darm64.c98 u64 lsize = 4 << cpuid_feature_extract_unsigned_field(ctr, local
108 base += lsize;
109 size -= lsize;
110 } while (size >= lsize);
/linux-master/drivers/bluetooth/
H A Dh4_recv.h15 u8 lsize; /* Data length field size */ member in struct:h4_recv_pkt
24 .lsize = 2, \
31 .lsize = 1, \
38 .lsize = 1, \
101 switch ((&pkts[i])->lsize) {
H A Dhci_uart.h131 u8 lsize; /* Data length field size */ member in struct:h4_recv_pkt
140 .lsize = 2, \
147 .lsize = 1, \
154 .lsize = 1, \
161 .lsize = 2, \
H A Dhci_ll.c390 .lsize = 0, \
397 .lsize = 0, \
404 .lsize = 0, \
411 .lsize = 0, \
H A Dhci_nokia.c62 .lsize = 1, \
69 .lsize = 1, \
76 .lsize = 1, \
H A Dhci_mrvl.c234 .lsize = 0, \
241 .lsize = 0, \
/linux-master/drivers/scsi/cxlflash/
H A Dvlun.h69 size_t lsize; /* LUN size in number of LBAs */ member in struct:ba_lun
/linux-master/arch/mips/mm/
H A Dc-r3k.c65 unsigned long flags, status, lsize, i; local
78 for (lsize = 1; lsize < 128; lsize <<= 1) {
79 *(p + lsize);
84 for (i = 0; i < 128; i += lsize)
89 return lsize * sizeof(*p);
H A Dc-r4k.c1001 unsigned int lsize; local
1124 lsize = (config1 >> 19) & 7;
1125 if (lsize)
1126 c->icache.linesz = 2 << lsize;
1136 lsize = (config1 >> 10) & 7;
1137 if (lsize)
1138 c->dcache.linesz = 2 << lsize;
1178 lsize = (config1 >> 19) & 7;
1181 if (lsize == 7)
1184 c->icache.linesz = lsize
1357 unsigned int config2, lsize; local
1460 unsigned int config2, lsize; local
[all...]
H A Dsc-mips.c37 unsigned long lsize = cpu_scache_line_size(); local
38 unsigned long almask = ~(lsize - 1);
/linux-master/fs/ntfs3/
H A Dattrlist.c47 size_t lsize; local
54 lsize = le32_to_cpu(attr->res.data_size);
55 /* attr is resident: lsize < record_size (1K or 4K) */
56 le = kvmalloc(al_aligned(lsize), GFP_KERNEL);
61 memcpy(le, resident_data(attr), lsize);
68 lsize = le64_to_cpu(attr->nres.data_size);
94 le = kvmalloc(al_aligned(lsize), GFP_KERNEL);
101 lsize, NULL);
106 ni->attr_list.size = lsize;
/linux-master/arch/powerpc/kernel/
H A Dsetup_64.c550 static void __init init_cache_info(struct ppc_cache_info *info, u32 size, u32 lsize, argument
555 info->line_size = lsize;
566 info->assoc = size / (sets * lsize);
587 u32 size, lsize, bsize, sets; local
592 lsize = bsize = cur_cpu_spec->dcache_bsize;
606 lsize = be32_to_cpu(*lsizep);
623 init_cache_info(info, size, lsize, bsize, sets);
642 /* size lsize blk sets */
/linux-master/scripts/
H A Dinsert-sys-cert.c283 unsigned long *lsize; local
380 lsize = (unsigned long *)lsize_sym.content;
403 *lsize = *lsize + cert_size - *used;
/linux-master/drivers/dma-buf/
H A Dudmabuf.c317 u32 lsize; local
323 lsize = sizeof(struct udmabuf_create_item) * head.count;
324 list = memdup_user((void __user *)(arg + sizeof(head)), lsize);
/linux-master/fs/netfs/
H A Dio.c573 size_t lsize; local
610 lsize = netfs_limit_iter(io_iter, 0, subreq->len,
612 if (subreq->len > lsize) {
613 subreq->len = lsize;

Completed in 386 milliseconds

12