/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/conversion/conversion_1.0/ |
H A D | ia_css_conversion.host.h | 28 unsigned int size);
|
/linux-master/include/xen/interface/hvm/ |
H A D | dm_op.h | 11 xen_ulong_t size; member in struct:xen_dm_op_buf
|
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/hdr/ |
H A D | ia_css_hdr.host.h | 29 unsigned int size);
|
/linux-master/tools/perf/trace/beauty/ |
H A D | statx.c | 12 static size_t statx__scnprintf_mask(unsigned long mask, char *bf, size_t size, bool show_prefix) argument 16 return strarray__scnprintf_flags(&strarray__statx_mask, bf, size, show_prefix, mask); 19 size_t syscall_arg__scnprintf_statx_mask(char *bf, size_t size, struct syscall_arg *arg) argument 24 return statx__scnprintf_mask(mask, bf, size, show_prefix);
|
H A D | futex_val3.c | 8 static size_t syscall_arg__scnprintf_futex_val3(char *bf, size_t size, struct syscall_arg *arg) argument 14 return scnprintf(bf, size, "%s%s", arg->show_string_prefix ? prefix : "", "MATCH_ANY"); 16 return scnprintf(bf, size, "%#xd", bitset);
|
H A D | timespec.c | 8 static size_t syscall_arg__scnprintf_augmented_timespec(struct syscall_arg *arg, char *bf, size_t size) argument 12 return scnprintf(bf, size, "{ .tv_sec: %" PRIu64 ", .tv_nsec: %" PRIu64 " }", ts->tv_sec, ts->tv_nsec); 15 size_t syscall_arg__scnprintf_timespec(char *bf, size_t size, struct syscall_arg *arg) argument 18 return syscall_arg__scnprintf_augmented_timespec(arg, bf, size); 20 return scnprintf(bf, size, "%#lx", arg->val);
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
H A D | devlink_resources.sh | 45 local size 53 size=$(devlink_resource_get kvd "$i" | jq '.["size_min"]') 54 devlink_resource_size_set "$size" kvd "$i" 65 log_test "'$i' minimize [$size]" 72 local size 81 # Calculate the maximum possible size for the given partition 82 size=$(devlink_resource_size_get kvd) 87 size=$((size - min_size)) 91 # Test almost maximum size [all...] |
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ |
H A D | ia_css_eed1_8.host.h | 26 size_t size); 32 size_t size); 37 size_t size);
|
/linux-master/arch/um/kernel/ |
H A D | maccess.c | 10 bool copy_from_kernel_nofault_allowed(const void *src, size_t size) argument 14 if ((unsigned long)src < PAGE_SIZE || size <= 0) 16 if (os_mincore(psrc, size + src - psrc) <= 0)
|
/linux-master/arch/xtensa/kernel/ |
H A D | pci-dma.c | 24 static void do_cache_op(phys_addr_t paddr, size_t size, argument 32 fn((unsigned long)phys_to_virt(paddr), size); 34 while (size > 0) { 35 size_t sz = min_t(size_t, size, PAGE_SIZE - off); 42 size -= sz; 46 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, argument 52 do_cache_op(paddr, size, __invalidate_dcache_range); 64 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, argument 71 do_cache_op(paddr, size, __flush_dcache_range); 83 void arch_dma_prep_coherent(struct page *page, size_t size) argument 94 arch_dma_set_uncached(void *p, size_t size) argument [all...] |
/linux-master/arch/um/include/asm/ |
H A D | uaccess.h | 13 #define __under_task_size(addr, size) \ 15 (((unsigned long) (addr) + (size)) < TASK_SIZE)) 17 #define __access_ok_vsyscall(addr, size) \ 19 ((unsigned long) (addr) + (size) <= FIXADDR_USER_END) && \ 20 ((unsigned long) (addr) + (size) >= (unsigned long)(addr))) 22 #define __addr_range_nowrap(addr, size) \ 23 ((unsigned long) (addr) <= ((unsigned long) (addr) + (size))) 28 static inline int __access_ok(const void __user *ptr, unsigned long size); 39 static inline int __access_ok(const void __user *ptr, unsigned long size) argument 42 return __addr_range_nowrap(addr, size) [all...] |
/linux-master/drivers/net/ethernet/freescale/fman/ |
H A D | fman_muram.h | 16 struct muram_info *fman_muram_init(phys_addr_t base, size_t size); 21 unsigned long fman_muram_alloc(struct muram_info *muram, size_t size); 24 size_t size);
|
/linux-master/arch/x86/kernel/cpu/mtrr/ |
H A D | amd.c | 11 unsigned long *size, mtrr_type *type) 27 *size = 0; 31 * This needs a little explaining. The size is stored as an 35 * So to get a size we do invert the mask and add 1 to the lowest 36 * mask bit (4 as its 2 bits in). This gives us a size we then shift 46 *size = (low + 4) << (15 - PAGE_SHIFT); 54 * @size The size of the region. If this is 0 the region is disabled. 60 amd_set_mtrr(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type) argument 71 if (size 10 amd_get_mtrr(unsigned int reg, unsigned long *base, unsigned long *size, mtrr_type *type) argument 96 amd_validate_add_page(unsigned long base, unsigned long size, unsigned int type) argument [all...] |
/linux-master/arch/riscv/include/asm/ |
H A D | dma-noncoherent.h | 19 void (*wback)(phys_addr_t paddr, size_t size); 20 void (*inv)(phys_addr_t paddr, size_t size); 21 void (*wback_inv)(phys_addr_t paddr, size_t size);
|
/linux-master/arch/s390/crypto/ |
H A D | crc32-vx.h | 8 u32 crc32_be_vgfm_16(u32 crc, unsigned char const *buf, size_t size); 9 u32 crc32_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size); 10 u32 crc32c_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size);
|
/linux-master/lib/ |
H A D | test_meminit.c | 29 static int __init count_nonzero_bytes(void *ptr, size_t size) argument 34 for (i = 0; i < size; i++) 41 static void __init fill_with_garbage_skip(void *ptr, int size, size_t skip) argument 46 WARN_ON(skip > size); 47 size -= skip; 49 while (size >= sizeof(*p)) { 52 size -= sizeof(*p); 54 if (size) 55 memset(&p[i], GARBAGE_BYTE, size); 58 static void __init fill_with_garbage(void *ptr, size_t size) argument 67 size_t size = PAGE_SIZE << order; local 105 do_kmalloc_size(size_t size, int *total_failures) argument 129 do_vmalloc_size(size_t size, int *total_failures) argument 156 int i, size; local 187 check_buf(void *buf, int size, bool want_ctor, bool want_rcu, bool want_zero) argument 216 do_kmem_cache_size(size_t size, bool want_ctor, bool want_rcu, bool want_zero, int *total_failures) argument 292 do_kmem_cache_rcu_persistent(int size, int *total_failures) argument 347 do_kmem_cache_size_bulk(int size, int *total_failures) argument 381 int i, flags, size; local 406 int i, size; local [all...] |
/linux-master/tools/perf/util/ |
H A D | trace-event-read.c | 28 static int __do_read(int fd, void *buf, int size) argument 30 int rsize = size; 32 while (size) { 33 int ret = read(fd, buf, size); 47 size -= ret; 54 static int do_read(void *data, int size) argument 58 r = __do_read(input_fd, data, size); 60 pr_debug("reading input file (size expected=%d received=%d)", 61 size, r); 71 static void skip(int size) argument 105 int size = 0; local 147 unsigned int size; local 170 unsigned int size; local 197 unsigned long long size; local 246 read_ftrace_file(struct tep_handle *pevent, unsigned long long size) argument 271 read_event_file(struct tep_handle *pevent, char *sys, unsigned long long size) argument 297 unsigned long long size; local 315 unsigned long long size; local 346 unsigned long long size; local 383 ssize_t size = -1; local [all...] |
/linux-master/arch/mips/mm/ |
H A D | dma-noncoherent.c | 47 void arch_dma_prep_coherent(struct page *page, size_t size) argument 49 dma_cache_wback_inv((unsigned long)page_address(page), size); 52 void *arch_dma_set_uncached(void *addr, size_t size) argument 57 static inline void dma_sync_virt_for_device(void *addr, size_t size, argument 62 dma_cache_wback((unsigned long)addr, size); 65 dma_cache_inv((unsigned long)addr, size); 68 dma_cache_wback_inv((unsigned long)addr, size); 75 static inline void dma_sync_virt_for_cpu(void *addr, size_t size, argument 83 dma_cache_inv((unsigned long)addr, size); 95 static inline void dma_sync_phys(phys_addr_t paddr, size_t size, argument 124 arch_sync_dma_for_device(phys_addr_t paddr, size_t size, enum dma_data_direction dir) argument 131 arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, enum dma_data_direction dir) argument [all...] |
/linux-master/arch/powerpc/boot/ |
H A D | fsl-soc.c | 24 int size; local 27 size = getprop(soc, "#address-cells", prop_buf, MAX_PROP_LEN); 28 if (size == 4) 36 size = getprop(soc, "ranges", prop_buf, MAX_PROP_LEN); 38 if (size < 12)
|
/linux-master/include/acpi/ |
H A D | acpi_io.h | 11 acpi_size size) 13 return ioremap_cache(phys, size); 20 *acpi_os_map_iomem(acpi_physical_address phys, acpi_size size); 21 void __ref acpi_os_unmap_iomem(void __iomem *virt, acpi_size size); 22 void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size); 10 acpi_os_ioremap(acpi_physical_address phys, acpi_size size) argument
|
/linux-master/include/linux/ |
H A D | nospec.h | 19 * array_index_mask_nospec() - generate a ~0 mask when index < size, 0 otherwise 21 * @size: number of elements in array 23 * When @index is out of bounds (@index >= @size), the sign bit will be 25 * zero for an out of bounds index, or ~0 if within bounds [0, @size). 29 unsigned long size) 37 return ~(long)(index | (size - 1UL - index)) >> (BITS_PER_LONG - 1); 46 * if (index < size) { 47 * index = array_index_nospec(index, size); 53 * size). 55 #define array_index_nospec(index, size) \ 28 array_index_mask_nospec(unsigned long index, unsigned long size) argument [all...] |
/linux-master/arch/m68k/kernel/ |
H A D | dma.c | 12 void arch_dma_prep_coherent(struct page *page, size_t size) argument 14 cache_push(page_to_phys(page), size); local 29 void arch_sync_dma_for_device(phys_addr_t handle, size_t size, argument 35 cache_push(handle, size); 38 cache_clear(handle, size);
|
/linux-master/sound/pci/asihpi/ |
H A D | hpios.c | 33 If allocation fails, return 1, and *pMemArea.size = 0 35 u16 hpios_locked_mem_alloc(struct consistent_dma_area *p_mem_area, u32 size, argument 40 dma_alloc_coherent(&pdev->dev, size, &p_mem_area->dma_handle, 45 size, (unsigned int)p_mem_area->dma_handle, 48 p_mem_area->size = size; 52 "failed to allocate %d bytes locked memory\n", size); 53 p_mem_area->size = 0; 60 if (p_mem_area->size) { 61 dma_free_coherent(p_mem_area->pdev, p_mem_area->size, [all...] |
/linux-master/tools/lib/ |
H A D | vsprintf.c | 6 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args) argument 8 int i = vsnprintf(buf, size, fmt, args); 9 ssize_t ssize = size; 14 int scnprintf(char * buf, size_t size, const char * fmt, ...) argument 16 ssize_t ssize = size; 21 i = vsnprintf(buf, size, fmt, args); 27 int scnprintf_pad(char * buf, size_t size, const char * fmt, ...) argument 29 ssize_t ssize = size; 34 i = vscnprintf(buf, size, fmt, args); 37 if (i < (int) size) { [all...] |
/linux-master/drivers/usb/common/ |
H A D | debug.c | 15 __u16 wLength, char *str, size_t size) 19 snprintf(str, size, "Get Device Status(Length = %d)", wLength); 22 snprintf(str, size, 27 snprintf(str, size, "Get Endpoint Status(ep%d%s)", 74 __u16 wIndex, char *str, size_t size) 78 snprintf(str, size, "%s Device Feature(%s%s)", 85 snprintf(str, size, "%s Interface Feature(%s)", 91 snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)", 100 static void usb_decode_set_address(__u16 wValue, char *str, size_t size) argument 102 snprintf(str, size, "Se 14 usb_decode_get_status(__u8 bRequestType, __u16 wIndex, __u16 wLength, char *str, size_t size) argument 72 usb_decode_set_clear_feature(__u8 bRequestType, __u8 bRequest, __u16 wValue, __u16 wIndex, char *str, size_t size) argument 105 usb_decode_get_set_descriptor(__u8 bRequestType, __u8 bRequest, __u16 wValue, __u16 wIndex, __u16 wLength, char *str, size_t size) argument 170 usb_decode_get_configuration(__u16 wLength, char *str, size_t size) argument 175 usb_decode_set_configuration(__u8 wValue, char *str, size_t size) argument 180 usb_decode_get_intf(__u16 wIndex, __u16 wLength, char *str, size_t size) argument 187 usb_decode_set_intf(__u8 wValue, __u16 wIndex, char *str, size_t size) argument 194 usb_decode_synch_frame(__u16 wIndex, __u16 wLength, char *str, size_t size) argument 201 usb_decode_set_sel(__u16 wLength, char *str, size_t size) argument 206 usb_decode_set_isoch_delay(__u8 wValue, char *str, size_t size) argument 211 usb_decode_ctrl_generic(char *str, size_t size, __u8 bRequestType, __u8 bRequest, __u16 wValue, __u16 wIndex, __u16 wLength) argument 230 usb_decode_ctrl_standard(char *str, size_t size, __u8 bRequestType, __u8 bRequest, __u16 wValue, __u16 wIndex, __u16 wLength) argument 300 usb_decode_ctrl(char *str, size_t size, __u8 bRequestType, __u8 bRequest, __u16 wValue, __u16 wIndex, __u16 wLength) argument [all...] |