/linux-master/drivers/mtd/maps/ |
H A D | scx200_docflash.c | 28 static unsigned size = 0x1000000; /* 16 MiB the whole ISA address space */ variable 34 module_param(size, int, 0); 35 MODULE_PARM_DESC(size, "Size of the flash mapping"); 52 .size = 0xc0000 57 .size = 0x40000 62 .size = ~0 /* calculate from flash size */ 66 .offset = ~0, /* calculate from flash size */ 67 .size = 0x80000 110 size [all...] |
/linux-master/include/linux/ |
H A D | dma-map-ops.h | 27 void *(*alloc)(struct device *dev, size_t size, 30 void (*free)(struct device *dev, size_t size, void *vaddr, 32 struct page *(*alloc_pages)(struct device *dev, size_t size, 35 void (*free_pages)(struct device *dev, size_t size, struct page *vaddr, 37 struct sg_table *(*alloc_noncontiguous)(struct device *dev, size_t size, 40 void (*free_noncontiguous)(struct device *dev, size_t size, 46 void *cpu_addr, dma_addr_t dma_addr, size_t size, 50 unsigned long offset, size_t size, 53 size_t size, enum dma_data_direction dir, 65 size_t size, enu 144 dma_contiguous_reserve_area(phys_addr_t size, phys_addr_t base, phys_addr_t limit, struct cma **res_cma, bool fixed) argument 161 dma_alloc_contiguous(struct device *dev, size_t size, gfp_t gfp) argument 166 dma_free_contiguous(struct device *dev, struct page *page, size_t size) argument 183 dma_declare_coherent_memory(struct device *dev, phys_addr_t phys_addr, dma_addr_t device_addr, size_t size) argument 203 dma_alloc_from_global_coherent(struct device *dev, ssize_t size, dma_addr_t *dma_handle) argument 212 dma_mmap_from_global_coherent(struct vm_area_struct *vma, void *cpu_addr, size_t size, int *ret) argument 304 dma_kmalloc_size_aligned(size_t size) argument 330 dma_kmalloc_needs_bounce(struct device *dev, size_t size, enum dma_data_direction dir) argument 371 arch_sync_dma_for_device(phys_addr_t paddr, size_t size, enum dma_data_direction dir) argument 381 arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, enum dma_data_direction dir) argument 398 arch_dma_prep_coherent(struct page *page, size_t size) argument 406 arch_dma_mark_clean(phys_addr_t paddr, size_t size) argument 432 arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, bool coherent) argument [all...] |
H A D | fortify-string.h | 19 # define fortify_panic(func, write, avail, size, retfail) \ 20 __fortify_panic(FORTIFY_REASON(func, write), avail, size) 51 void __fortify_report(const u8 reason, const size_t avail, const size_t size); 52 void __fortify_panic(const u8 reason, const size_t avail, const size_t size) __cold __noreturn; 53 void __read_overflow(void) __compiletime_error("detected read beyond size of object (1st parameter)"); 54 void __read_overflow2(void) __compiletime_error("detected read beyond size of object (2nd parameter)"); 55 void __read_overflow2_field(size_t avail, size_t wanted) __compiletime_warning("detected read beyond size of field (2nd parameter); maybe use struct_group()?"); 56 void __write_overflow(void) __compiletime_error("detected write beyond size of object (1st parameter)"); 57 void __write_overflow_field(size_t avail, size_t wanted) __compiletime_warning("detected write beyond size of field (1st parameter); maybe use struct_group()?"); 75 extern void *__underlying_memchr(const void *p, int c, __kernel_size_t size) __RENAM 179 strncpy(char * const POS p, const char *q, __kernel_size_t size) argument 259 sized_strscpy(char * const POS p, const char * const POS q, size_t size) argument 444 fortify_memset_chk(__kernel_size_t size, const size_t p_size, const size_t p_size_field) argument 529 fortify_memcpy_chk(__kernel_size_t size, const size_t p_size, const size_t q_size, const size_t p_size_field, const size_t q_size_field, const u8 func) argument 674 memscan(void * const POS0 p, int c, __kernel_size_t size) argument 686 memcmp(const void * const POS0 p, const void * const POS0 q, __kernel_size_t size) argument 705 memchr(const void * const POS0 p, int c, __kernel_size_t size) argument 717 memchr_inv(const void * const POS0 p, int c, size_t size) argument 730 kmemdup(const void * const POS0 p, size_t size, gfp_t gfp) argument 761 size_t size; local [all...] |
/linux-master/arch/sparc/lib/ |
H A D | bitext.c | 9 * by align size, should provide fast enough search while maintaining low 47 if (align < 0 || align >= t->size) 49 if (len <= 0 || len > t->size) 60 off_new = find_next_zero_bit(t->map, t->size, offset); 64 if (offset >= t->size) 66 if (count + len > t->size) { 69 "bitmap out: size %d used %d off %d len %d align %d count %d\n", 70 t->size, t->used, offset, len, align, count); 74 if (offset + len > t->size) { 75 count += t->size 121 bit_map_init(struct bit_map *t, unsigned long *map, int size) argument [all...] |
/linux-master/drivers/media/i2c/cx25840/ |
H A D | cx25840-firmware.c | 15 * size of the firmware chunks sent down the I2C bus to the chip. 68 static int check_fw_load(struct i2c_client *client, int size) argument 74 if (size != s) { 81 get_fw_name(client), size); 85 static int fw_write(struct i2c_client *client, const u8 *data, int size) argument 87 if (i2c_master_send(client, data, size) < size) { 102 int size, retval; local 126 size = fw->size; [all...] |
/linux-master/arch/powerpc/mm/ |
H A D | dma-noncoherent.c | 22 static void __dma_sync(void *vaddr, size_t size, int direction) argument 25 unsigned long end = start + size; 60 unsigned long offset, size_t size, int direction) 62 size_t seg_size = min((size_t)(PAGE_SIZE - offset), size); 65 int nr_segs = 1 + ((size - seg_size) + PAGE_SIZE - 1)/PAGE_SIZE; 78 /* Calculate next buffer segment size */ 79 seg_size = min((size_t)PAGE_SIZE, size - cur_size); 81 /* Add the segment size to our running total */ 94 static void __dma_sync_page(phys_addr_t paddr, size_t size, int dir) argument 100 __dma_sync_page_highmem(page, offset, size, di 59 __dma_sync_page_highmem(struct page *page, unsigned long offset, size_t size, int direction) argument 107 arch_sync_dma_for_device(phys_addr_t paddr, size_t size, enum dma_data_direction dir) argument 113 arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, enum dma_data_direction dir) argument 119 arch_dma_prep_coherent(struct page *page, size_t size) argument [all...] |
/linux-master/drivers/misc/lkdtm/ |
H A D | fortify.c | 21 * 'size' at compile time. Without that, we would get a compile error 24 volatile int size = 20; local 28 strncpy(target[0].a, target[1].a, size); 43 volatile int size = 20; local 46 src = kmalloc(size, GFP_KERNEL); 47 strscpy(src, "over ten bytes", size); 48 size = strlen(src) + 1; 57 strncpy(target.a, src, size); 78 * 'size' at compile time. Without that, we would get a compile error 81 volatile int size local 108 volatile int size = 20; local [all...] |
/linux-master/tools/perf/trace/beauty/ |
H A D | perf_event_open.c | 18 static size_t syscall_arg__scnprintf_perf_flags(char *bf, size_t size, argument 30 printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ 41 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); 49 size_t size, printed; member in struct:attr_fprintf_args 57 size_t printed = scnprintf(args->bf + args->printed , args->size - args->printed, "%s%s: %s", args->first ? "" : ", ", name, val); 64 static size_t perf_event_attr___scnprintf(struct perf_event_attr *attr, char *bf, size_t size, bool show_zeros __maybe_unused) argument 67 .printed = scnprintf(bf, size, "{ "), 68 .size = size, 74 return args.printed + scnprintf(bf + args.printed, size 77 syscall_arg__scnprintf_augmented_perf_event_attr(struct syscall_arg *arg, char *bf, size_t size) argument 82 syscall_arg__scnprintf_perf_event_attr(char *bf, size_t size, struct syscall_arg *arg) argument [all...] |
/linux-master/tools/perf/util/ |
H A D | zstd.c | 35 size_t ret, size, compressed = 0; local 55 while (input.pos < input.size) { 57 size = process_header(record, 0); 58 compressed += size; 59 dst += size; 60 dst_size -= size; 71 size = output.pos; 72 size = process_header(record, size); 73 compressed += size; [all...] |
/linux-master/arch/mips/pci/ |
H A D | ops-msc.c | 76 int where, int size, u32 * val) 80 if ((size == 2) && (where & 1)) 82 else if ((size == 4) && (where & 3)) 89 if (size == 1) 91 else if (size == 2) 100 int where, int size, u32 val) 104 if ((size == 2) && (where & 1)) 106 else if ((size == 4) && (where & 3)) 109 if (size == 4) 116 if (size 75 msc_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument 99 msc_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
/linux-master/arch/loongarch/include/asm/ |
H A D | io.h | 17 extern void __init __iomem *early_ioremap(u64 phys_addr, unsigned long size); 18 extern void __init early_iounmap(void __iomem *addr, unsigned long size); 25 static inline void __iomem *ioremap_prot(phys_addr_t offset, unsigned long size, argument 34 #define ioremap(offset, size) \ 35 ioremap_prot((offset), (size), pgprot_val(PAGE_KERNEL_SUC)) 48 * @size: size of the resource to map 50 #define ioremap_wc(offset, size) \ 51 ioremap_prot((offset), (size), \ 54 #define ioremap_cache(offset, size) \ [all...] |
/linux-master/drivers/net/dsa/sja1105/ |
H A D | sja1105_dynamic_config.c | 31 * The ENTRY BUFFER may or may not have the same layout, or size, as its static 42 * size. 202 const int size = SJA1105_SIZE_DYN_CMD; local 204 sja1105_packing(buf, &cmd->valid, 31, 31, size, op); 205 sja1105_packing(buf, &cmd->errors, 30, 30, size, op); 206 sja1105_packing(buf, &cmd->rdwrset, 29, 29, size, op); 207 sja1105_packing(buf, &cmd->index, 9, 0, size, op); 216 const int size = SJA1105_SIZE_DYN_CMD; local 218 sja1105_packing(p, &cmd->valid, 31, 31, size, op); 219 sja1105_packing(p, &cmd->errors, 30, 30, size, o 229 const int size = SJA1105_SIZE_DYN_CMD; local 241 const int size = SJA1105ET_SIZE_VL_LOOKUP_DYN_CMD; local 253 const int size = SJA1105_SIZE_DYN_CMD; local 264 const int size = SJA1105_SIZE_DYN_CMD; local 390 const int size = SJA1105_SIZE_DYN_CMD; local 402 const int size = SJA1105_SIZE_DYN_CMD; local 414 const int size = SJA1105_SIZE_DYN_CMD; local 430 const int size = SJA1105_SIZE_DYN_CMD; local 453 const size_t size = SJA1105ET_SIZE_L2_LOOKUP_ENTRY; local 484 const size_t size = SJA1105PQRS_SIZE_L2_LOOKUP_ENTRY; local 508 const int size = SJA1105_SIZE_DYN_CMD; local 526 const int size = SJA1105_SIZE_DYN_CMD; local 558 const int size = SJA1105_SIZE_DYN_CMD; local 571 const int size = SJA1105_SIZE_DYN_CMD; local 583 const int size = SJA1105_SIZE_DYN_CMD; local 594 const int size = SJA1105ET_SIZE_MAC_CONFIG_DYN_ENTRY; local 624 const int size = SJA1105ET_SIZE_MAC_CONFIG_DYN_ENTRY; local 638 const int size = SJA1105_SIZE_DYN_CMD; local 672 const int size = SJA1105_SIZE_DYN_CMD; local 683 const int size = SJA1105_SIZE_DYN_CMD; local 694 const int size = SJA1105ET_SIZE_GENERAL_PARAMS_DYN_CMD; local 705 const int size = SJA1105ET_SIZE_GENERAL_PARAMS_DYN_CMD; local 717 const int size = SJA1105_SIZE_DYN_CMD; local 729 const int size = SJA1105_SIZE_DYN_CMD; local 741 const int size = SJA1105_SIZE_DYN_CMD; local 753 const int size = SJA1105_SIZE_DYN_CMD; local 767 const int size = SJA1105_SIZE_DYN_CMD; local 780 const int size = SJA1105_SIZE_DYN_CMD; local 789 const size_t size = SJA1105ET_SIZE_CBS_ENTRY; local 807 const int size = SJA1105_SIZE_DYN_CMD; local 819 const int size = SJA1105_SIZE_DYN_CMD; local 830 const size_t size = SJA1105PQRS_SIZE_CBS_ENTRY; local 845 const size_t size = SJA1105PQRS_SIZE_CBS_ENTRY; local 867 const int size = SJA1105_SIZE_DYN_CMD; local [all...] |
/linux-master/arch/loongarch/kernel/ |
H A D | unaligned.c | 254 unsigned int res, size = 0; local 264 size = 2; 269 size = 2; 274 size = 2; 279 size = 4; 284 size = 4; 289 size = 4; 294 size = 8; 299 size = 8; 304 size [all...] |
/linux-master/tools/testing/selftests/lsm/ |
H A D | lsm_get_self_attr_test.c | 43 __u32 size = page_size; local 46 rc = lsm_get_self_attr(LSM_ATTR_CURRENT, NULL, &size, 0); 50 ASSERT_NE(1, size); 60 __u32 size = 1; local 64 ASSERT_EQ(-1, lsm_get_self_attr(LSM_ATTR_CURRENT, ctx, &size, 0)); 70 ASSERT_NE(1, size); 80 __u32 size; local 86 size = page_size; 87 ASSERT_EQ(-1, lsm_get_self_attr(LSM_ATTR_CURRENT, ctx, &size, 90 ASSERT_EQ(page_size, size); 120 __u32 size; local 143 __u32 size = page_size; local [all...] |
/linux-master/arch/xtensa/include/asm/ |
H A D | uaccess.h | 26 * automatically use the right size if we just have the right pointer 53 #define __put_user_nocheck(x, ptr, size) \ 56 __put_user_size((x), (ptr), (size), __pu_err); \ 60 #define __put_user_check(x, ptr, size) \ 64 if (access_ok(__pu_addr, size)) \ 65 __put_user_size((x), __pu_addr, (size), __pu_err); \ 69 #define __put_user_size(x, ptr, size, retval) \ 73 switch (size) { \ 149 #define __get_user_nocheck(x, ptr, size) \ 152 __get_user_size((x), (ptr), (size), __gu_er 251 __xtensa_clear_user(void __user *addr, unsigned long size) argument 259 clear_user(void __user *addr, unsigned long size) argument [all...] |
/linux-master/arch/alpha/include/uapi/asm/ |
H A D | ioctl.h | 40 #define _IOC(dir,type,nr,size) \ 45 ((size) << _IOC_SIZESHIFT))) 49 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 50 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 51 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/linux-master/arch/mips/include/asm/ |
H A D | edac.h | 9 static inline void edac_atomic_scrub(void *va, u32 size) argument 15 for (i = 0; i < size / sizeof(unsigned long); i++) {
|
H A D | floppy.h | 15 static inline void fd_cacheflush(char * addr, long size) argument 17 dma_cache_wback_inv((unsigned long)addr, size);
|
/linux-master/arch/sparc/include/asm/ |
H A D | bitext.h | 16 int size; member in struct:bit_map 26 void bit_map_init(struct bit_map *t, unsigned long *map, int size);
|
/linux-master/arch/mips/include/asm/octeon/ |
H A D | cvmx-packet.h | 55 /* The size of the segment pointed to by addr (in bytes) */ 56 uint64_t size:16; member in struct:cvmx_buf_ptr::__anon1978 61 uint64_t size:16;
|
/linux-master/arch/powerpc/boot/dts/fsl/ |
H A D | pq3-espi-0.dtsi | 37 #size-cells = <0>;
|
H A D | pq3-etsec2-grp2-0.dtsi | 38 #size-cells = <1>;
|
H A D | pq3-etsec2-grp2-1.dtsi | 38 #size-cells = <1>;
|
H A D | pq3-etsec2-grp2-2.dtsi | 38 #size-cells = <1>;
|
H A D | pq3-i2c-0.dtsi | 37 #size-cells = <0>;
|