/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | utprint.c | 229 /* Calculate size according to sign and prefix */ in acpi_ut_format_number() 308 * size - Boundary of the string 318 int vsnprintf(char *string, acpi_size size, const char *format, va_list args) in vsnprintf() argument 336 if (size != ACPI_UINT32_MAX) { in vsnprintf() 337 end = string + size; in vsnprintf() 546 if (size > 0) { in vsnprintf() 562 * size - Boundary of the string 571 int snprintf(char *string, acpi_size size, const char *format, ...) in snprintf() argument 577 length = vsnprintf(string, size, format, args); in snprintf()
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | cmpxchg.h | 67 int size) \ 69 switch (size) { \ 154 int size) \ 156 switch (size) { \ 260 int size) \ 262 switch (size) { \
|
/kernel/linux/linux-5.10/arch/mips/include/asm/sn/ |
H A D | addrs.h | 114 * UALIAS -- 256MB in size, reads in the UALIAS result in 116 * CPU_UALIAS -- 128kb in size, the bottom part of UALIAS is flipped 119 * LBOOT -- 256MB in size, reads in the LBOOT area result in 122 * IALIAS -- 8MB in size, reads in the IALIAS result in uncached 337 #define LAUNCH_SIZE(nasid) KLD_LAUNCH(nasid)->size 344 #define NMI_SIZE(nasid) KLD_NMI(nasid)->size 349 #define KLCONFIG_SIZE(nasid) KLD_KLCONFIG(nasid)->size 352 #define GDA_SIZE(nasid) KLD_GDA(nasid)->size 364 #define SYMMON_STK_END(nasid) (SYMMON_STK_ADDR(nasid, 0) + KLD_SYMMON_STK(nasid)->size) 372 #define KERN_VARS_SIZE(nasid) KLD_KERN_VARS(nasid)->size [all...] |
/kernel/linux/linux-5.10/arch/nds32/kernel/ |
H A D | head.S | 70 /* set NTC cacheability, mutliple page size in use */ 94 /* set page size and size of kernel image */ 100 li $r5, #SZ_4K ! Use 4KB page size 102 li $r5, #SZ_8K ! Use 8KB page size 108 _extra_page_size_support: ! Use epzs pages size 121 /* calculate the image maximum size accepted by TLB config */ 129 mul $r6, $r0, $r5 ! max size = entries * page size 130 /* check kernel image size */ [all...] |
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
H A D | dart_iommu.c | 38 /* DART table address and size */ 266 unsigned long base, size; in dart_init() local 305 size = dart_tablesize >> DART_PAGE_SHIFT; in dart_init() 307 size &= DART_SIZE_U4_SIZE_MASK; in dart_init() 309 DART_OUT(DART_SIZE_U4, size); in dart_init() 312 size &= DART_CNTL_U3_SIZE_MASK; in dart_init() 316 (size << DART_CNTL_U3_SIZE_SHIFT)); in dart_init()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
H A D | fsl_booke.c | 97 * Set up a variable-size TLB entry (tlbcam). The parameters are not checked; 98 * in particular size must be a power of 4 between 4k and the max supported by 101 * size). 104 unsigned long size, unsigned long flags, unsigned int pid) in settlbcam() 108 tsize = __ilog2(size) - 10; in settlbcam() 137 tlbcam_addrs[index].limit = virt + size - 1; in settlbcam() 251 /* adjust lowmem size to __max_low_memory */ in adjust_total_lowmem() 281 phys_addr_t size; in relocate_init() local 310 early_get_first_memblock_info(__va(dt_ptr), &size); in relocate_init() local 336 kaslr_early_init(__va(dt_ptr), size); in relocate_init() local 103 settlbcam(int index, unsigned long virt, phys_addr_t phys, unsigned long size, unsigned long flags, unsigned int pid) settlbcam() argument [all...] |
/kernel/linux/linux-5.10/arch/um/kernel/ |
H A D | process.c | 254 int copy_to_user_proc(void __user *to, void *from, int size) in copy_to_user_proc() argument 256 return copy_to_user(to, from, size); in copy_to_user_proc() 259 int copy_from_user_proc(void *to, void __user *from, int size) in copy_from_user_proc() argument 261 return copy_from_user(to, from, size); in copy_from_user_proc() 264 int clear_user_proc(void __user *buf, int size) in clear_user_proc() argument 266 return clear_user(buf, size); in clear_user_proc()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | bitops.h | 13 * bit depends on the word size. 253 unsigned long find_first_bit_inv(const unsigned long *addr, unsigned long size); 254 unsigned long find_next_bit_inv(const unsigned long *addr, unsigned long size, 257 #define for_each_set_bit_inv(bit, addr, size) \ 258 for ((bit) = find_first_bit_inv((addr), (size)); \ 259 (bit) < (size); \ 260 (bit) = find_next_bit_inv((addr), (size), (bit) + 1))
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | nmi.c | 78 unsigned long origin, cr0, size; in nmi_init() local 82 size = nmi_get_mcesa_size(); in nmi_init() 83 if (size > MCESA_MIN_SIZE) in nmi_init() 84 mcesa_origin_lc = ilog2(size); in nmi_init() 86 mcesa_cache = kmem_cache_create("nmi_save_areas", size, size, 0, NULL); in nmi_init()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | spiterrs.S | 105 .size __spitfire_access_error,.-__spitfire_access_error 155 .size __spitfire_cee_trap,.-__spitfire_cee_trap 183 .size __spitfire_data_access_exception_tl1,.-__spitfire_data_access_exception_tl1 203 .size __spitfire_data_access_exception,.-__spitfire_data_access_exception 222 .size __spitfire_insn_access_exception_tl1,.-__spitfire_insn_access_exception_tl1 241 .size __spitfire_insn_access_exception,.-__spitfire_insn_access_exception
|
/kernel/linux/linux-5.10/arch/arm/mach-ep93xx/ |
H A D | ts72xx.c | 111 .size = TS72XX_BOOTROM_PART_SIZE, 116 .size = TS72XX_REDBOOT_PART_SIZE, 121 .size = MTDPART_SIZ_FULL, 383 .size = 0x01e00000, 387 .size = 0x05f20000 391 .size = 0x002e0000,
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
H A D | mmio-mod.c | 221 static void ioremap_trace_core(resource_size_t offset, unsigned long size, in ioremap_trace_core() argument 230 .len = size, in ioremap_trace_core() 242 .len = size, in ioremap_trace_core() 267 void mmiotrace_ioremap(resource_size_t offset, unsigned long size, in mmiotrace_ioremap() argument 274 (unsigned long long)offset, size, addr); in mmiotrace_ioremap() 277 ioremap_trace_core(offset, size, addr); in mmiotrace_ioremap() 354 pr_notice("purging non-iounmapped trace @0x%08lx, size 0x%lx.\n", in clear_trace_list()
|
/kernel/linux/linux-5.10/drivers/fpga/ |
H A D | dfl-afu-dma-region.c | 119 * @size: size of the dma memory area 121 * Compare the dma memory area defined by @iova and @size with given dma region. 125 u64 iova, u64 size) in dma_region_check_iova() 127 if (!size && region->iova != iova) in dma_region_check_iova() 131 (region->length + region->iova >= iova + size); in dma_region_check_iova() 231 * afu_dma_region_find - find the dma region from rbtree based on iova and size 234 * @size: size of the dma memory area 236 * It finds the dma region from the rbtree based on @iova and @size 124 dma_region_check_iova(struct dfl_afu_dma_region *region, u64 iova, u64 size) dma_region_check_iova() argument 245 afu_dma_region_find(struct dfl_feature_platform_data *pdata, u64 iova, u64 size) afu_dma_region_find() argument [all...] |
/kernel/linux/linux-5.10/arch/mips/crypto/ |
H A D | crc32-mips.c | 53 #define _CRC32(crc, value, size, type) \ 58 #type #size " %0, %1, %0\n\t" \ 64 #define CRC32(crc, value, size) \ 65 _CRC32(crc, value, size, crc32) 67 #define CRC32C(crc, value, size) \ 68 _CRC32(crc, value, size, crc32c)
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
H A D | icp_qat_uclo.h | 168 unsigned int size; member 218 unsigned int size; member 234 unsigned int size; member 358 unsigned int size; member 427 unsigned int size; member 472 u64 size; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd.h | 183 int amdgpu_amdkfd_alloc_gtt_mem(struct kgd_dev *kgd, size_t size, 187 int amdgpu_amdkfd_alloc_gws(struct kgd_dev *kgd, size_t size, void **mem_obj); 248 struct kgd_dev *kgd, uint64_t va, uint64_t size, 252 struct kgd_dev *kgd, struct kgd_mem *mem, uint64_t *size); 260 struct kgd_mem *mem, void **kptr, uint64_t *size); 268 struct kgd_mem **mem, uint64_t *size,
|
H A D | amdgpu_ring.c | 64 /* Align requested size with padding so unlock_commit can in amdgpu_ring_alloc() 125 /* We pad to match fetch size */ in amdgpu_ring_commit() 368 size_t size, loff_t *pos) in amdgpu_debugfs_ring_read() 374 if (*pos & 3 || size & 3) in amdgpu_debugfs_ring_read() 383 for (i = *pos / 4; i < 3 && size; i++) { in amdgpu_debugfs_ring_read() 389 size -= 4; in amdgpu_debugfs_ring_read() 394 while (size) { in amdgpu_debugfs_ring_read() 404 size -= 4; in amdgpu_debugfs_ring_read() 367 amdgpu_debugfs_ring_read(struct file *f, char __user *buf, size_t size, loff_t *pos) amdgpu_debugfs_ring_read() argument
|
/kernel/linux/linux-5.10/drivers/mtd/parsers/ |
H A D | afs.c | 42 u32 length; /* Actual size of image */ 140 mask = mtd->size - 1; in afs_parse_v1_partition() 205 part->size = (iis.length + mtd->erasesize - 1) & ~(mtd->erasesize - 1); in afs_parse_v1_partition() 210 img_ptr, part->size / 1024, in afs_parse_v1_partition() 296 pr_debug(" region %d: address: %08x, size: %08x, " in afs_parse_v2_partition() 316 part->size = region_end - region_start; in afs_parse_v2_partition() 333 for (i = off = sz = 0; off < mtd->size; off += mtd->erasesize) { in parse_afs_partitions() 354 for (i = off = 0; off < mtd->size; off += mtd->erasesize) { in parse_afs_partitions()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
H A D | igc_base.c | 69 u16 size; in igc_init_nvm_params_base() local 71 size = (u16)((eecd & IGC_EECD_SIZE_EX_MASK) >> in igc_init_nvm_params_base() 74 /* Added to a constant, "size" becomes the left-shift value in igc_init_nvm_params_base() 77 size += NVM_WORD_SIZE_BASE_SHIFT; in igc_init_nvm_params_base() 79 /* Just in case size is out of range, cap it to the largest in igc_init_nvm_params_base() 80 * EEPROM size supported in igc_init_nvm_params_base() 82 if (size > 15) in igc_init_nvm_params_base() 83 size = 15; in igc_init_nvm_params_base() 86 nvm->word_size = BIT(size); in igc_init_nvm_params_base()
|
/kernel/linux/linux-6.6/arch/mips/include/asm/sn/ |
H A D | addrs.h | 114 * UALIAS -- 256MB in size, reads in the UALIAS result in 116 * CPU_UALIAS -- 128kb in size, the bottom part of UALIAS is flipped 119 * LBOOT -- 256MB in size, reads in the LBOOT area result in 122 * IALIAS -- 8MB in size, reads in the IALIAS result in uncached 337 #define LAUNCH_SIZE(nasid) KLD_LAUNCH(nasid)->size 344 #define NMI_SIZE(nasid) KLD_NMI(nasid)->size 349 #define KLCONFIG_SIZE(nasid) KLD_KLCONFIG(nasid)->size 352 #define GDA_SIZE(nasid) KLD_GDA(nasid)->size 364 #define SYMMON_STK_END(nasid) (SYMMON_STK_ADDR(nasid, 0) + KLD_SYMMON_STK(nasid)->size) 372 #define KERN_VARS_SIZE(nasid) KLD_KERN_VARS(nasid)->size [all...] |
/kernel/linux/linux-6.6/arch/loongarch/crypto/ |
H A D | crc32-loongarch.c | 18 #define _CRC32(crc, value, size, type) \ 21 #type ".w." #size ".w" " %0, %1, %0\n\t"\ 27 #define CRC32(crc, value, size) _CRC32(crc, value, size, crc) 28 #define CRC32C(crc, value, size) _CRC32(crc, value, size, crcc)
|
/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | cmpxchg.h | 66 __arch_xchg##sfx(unsigned long x, volatile void *ptr, int size) \ 68 switch (size) { \ 150 int size) \ 152 switch (size) { \ 239 int size) \ 241 switch (size) { \
|
/kernel/linux/linux-6.6/arch/mips/crypto/ |
H A D | crc32-mips.c | 67 #define _CRC32(crc, value, size, op) \ 68 _CRC32_##op##size(crc, value) 70 #define CRC32(crc, value, size) \ 71 _CRC32(crc, value, size, crc32) 73 #define CRC32C(crc, value, size) \ 74 _CRC32(crc, value, size, crc32c)
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
H A D | mlock2-tests.c | 76 size_t size = 0; in is_vmflag_set() local 86 while (getline(&line, &size, smaps) > 0) { in is_vmflag_set() 90 size = 0; in is_vmflag_set() 112 size_t size = 0; in get_value_for_name() local 123 while (getline(&line, &size, smaps) > 0) { in get_value_for_name() 127 size = 0; in get_value_for_name()
|
/kernel/linux/linux-6.6/arch/arm/mach-ep93xx/ |
H A D | ts72xx.c | 110 .size = TS72XX_BOOTROM_PART_SIZE, 115 .size = TS72XX_REDBOOT_PART_SIZE, 120 .size = MTDPART_SIZ_FULL, 382 .size = 0x01e00000, 386 .size = 0x05f20000 390 .size = 0x002e0000,
|