Home
last modified time | relevance | path

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

12

/linux/arch/mips/pci/
H A 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/arch/mips/include/asm/
H A Dr4kcache.h195 #define cache_unroll(times, insn, op, addr, lsize) do { \ argument
197 unroll(times, _cache_op, insn, op, (addr) + (i++ * (lsize))); \
201 #define __BUILD_BLAST_CACHE(pfx, desc, indexop, hitop, lsize, extra) \ argument
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_indexed(unsigned long page) \
[all …]
H A Dsgiarcs.h280 unsigned char lsize; member
284 unsigned char lsize;
/linux/security/integrity/platform_certs/
H A 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()
H A 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/arch/x86/kernel/cpu/mtrr/
H A 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()
H A Dlegacy.c39 unsigned long lsize; member
53 &mtrr_value[i].lsize, in mtrr_save()
64 if (mtrr_value[i].lsize) { in mtrr_restore()
66 mtrr_value[i].lsize, in mtrr_restore()
/linux/arch/mips/mm/
H A 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()
H A 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/drivers/firmware/efi/libstub/
H A Darm64.c97 u64 lsize = 4 << cpuid_feature_extract_unsigned_field(ctr, in efi_cache_sync_image() local
107 base += lsize; in efi_cache_sync_image()
108 size -= lsize; in efi_cache_sync_image()
109 } while (size >= lsize); in efi_cache_sync_image()
/linux/fs/ntfs3/
H A Dattrlist.c49 size_t lsize; in ntfs_load_attr_list() local
57 lsize = le32_to_cpu(attr->res.data_size); in ntfs_load_attr_list()
58 if (!lsize) { in ntfs_load_attr_list()
64 le = kvmalloc(al_aligned(lsize), GFP_KERNEL); in ntfs_load_attr_list()
69 memcpy(le, resident_data(attr), lsize); in ntfs_load_attr_list()
76 lsize = le64_to_cpu(attr->nres.data_size); in ntfs_load_attr_list()
77 if (!lsize) { in ntfs_load_attr_list()
106 le = kvmalloc(al_aligned(lsize), GFP_KERNEL); in ntfs_load_attr_list()
113 lsize, NULL); in ntfs_load_attr_list()
118 ni->attr_list.size = lsize; in ntfs_load_attr_list()
H A Dfrecord.c771 u32 lsize; in ni_create_attr_list() local
796 lsize = 0; in ni_create_attr_list()
799 lsize += le_size(attr->name_len); in ni_create_attr_list()
801 if (!lsize) in ni_create_attr_list()
804 le = kzalloc(al_aligned(lsize), GFP_NOFS); in ni_create_attr_list()
843 lsize = PtrOffset(ni->attr_list.le, le); in ni_create_attr_list()
844 ni->attr_list.size = lsize; in ni_create_attr_list()
846 to_free = le32_to_cpu(rec->used) + lsize + SIZEOF_RESIDENT; in ni_create_attr_list()
894 lsize + SIZEOF_RESIDENT, SIZEOF_RESIDENT); in ni_create_attr_list()
900 attr->res.data_size = cpu_to_le32(lsize); in ni_create_attr_list()
[all …]
/linux/drivers/bluetooth/
H A Dhci_uart.h128 u8 lsize; /* Data length field size */ member
137 .lsize = 2, \
144 .lsize = 1, \
151 .lsize = 1, \
158 .lsize = 2, \
H A Dhci_ll.c391 .lsize = 0, \
398 .lsize = 0, \
405 .lsize = 0, \
412 .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, \
H A Dhci_h4.c222 switch ((&pkts[i])->lsize) { in h4_recv_buf()
H A Dhci_bcm.c658 .lsize = 0, \
665 .lsize = 0, \
672 .lsize = 0, \
679 .lsize = 0, \
H A Dbpa10x.c75 .lsize = 2, \
H A Dbtnxpuart.c244 .lsize = 0, \
251 .lsize = 0, \
258 .lsize = 0, \
265 .lsize = 0, \
/linux/arch/loongarch/pci/
H A Dpci.c51 unsigned int lsize; in pcibios_init() local
57 lsize = cpu_last_level_cache_line_size(); in pcibios_init()
59 if (lsize) { in pcibios_init()
60 pci_dfl_cache_line_size = lsize >> 2; in pcibios_init()
62 pr_debug("PCI: pci_cache_line_size set to %d bytes\n", lsize); in pcibios_init()
/linux/arch/powerpc/kernel/
H A Dsetup_64.c547 static void __init init_cache_info(struct ppc_cache_info *info, u32 size, u32 lsize, in init_cache_info() argument
552 info->line_size = lsize; in init_cache_info()
563 info->assoc = size / (sets * lsize); in init_cache_info()
584 u32 size, lsize, bsize, sets; in parse_cache_info() local
589 lsize = bsize = cur_cpu_spec->dcache_bsize; in parse_cache_info()
603 lsize = be32_to_cpu(*lsizep); in parse_cache_info()
620 init_cache_info(info, size, lsize, bsize, sets); in parse_cache_info()
/linux/scripts/
H A 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/drivers/net/wireless/ath/wil6210/
H A Dfw_inc.c204 size_t remain, lsize; in fw_handle_concurrency() local
221 lsize = combo->n_limits * sizeof(*limit); in fw_handle_concurrency()
222 if (remain < lsize) in fw_handle_concurrency()
224 remain -= lsize; in fw_handle_concurrency()
/linux/drivers/net/can/
H A Dgrcan.c946 size_t lsize = ALIGN(maxs, GRCAN_BUFFER_ALIGNMENT); in grcan_allocate_dma_buffers() local
952 dma->base_size = lsize + ssize + GRCAN_BUFFER_ALIGNMENT; in grcan_allocate_dma_buffers()
965 small->handle = large->handle + lsize; in grcan_allocate_dma_buffers()
969 small->buf = large->buf + lsize; in grcan_allocate_dma_buffers()

12