/openbmc/linux/arch/parisc/kernel/ |
H A D | pci.c | 61 #define EISA_IN(size) if (EISA_bus && (b == 0)) return eisa_in##size(addr) argument 62 #define EISA_OUT(size) if (EISA_bus && (b == 0)) return eisa_out##size(d, addr) argument 64 #define EISA_IN(size) argument 65 #define EISA_OUT(size) argument 68 #define PCI_PORT_IN(type, size) \ argument 83 #define PCI_PORT_OUT(type, size) \ argument 199 resource_size_t size, resource_size_t alignment) in pcibios_align_resource()
|
/openbmc/linux/lib/ |
H A D | genalloc.c | 88 const unsigned long size = start + nr; in bitmap_set_ll() local 124 const unsigned long size = start + nr; in bitmap_clear_ll() local 185 size_t size, int nid, void *owner) in gen_pool_add_owner() 362 void *gen_pool_dma_alloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_algo() 395 void *gen_pool_dma_alloc_align(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_align() 440 void *gen_pool_dma_zalloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_zalloc_algo() 466 void *gen_pool_dma_zalloc_align(struct gen_pool *pool, size_t size, in gen_pool_dma_zalloc_align() 554 size_t size) in gen_pool_has_addr() 602 size_t size = 0; in gen_pool_size() local 730 unsigned long size, unsigned long start, in gen_pool_first_fit_order_align() [all …]
|
H A D | decompress_unxz.c | 159 #define kmalloc(size, flags) malloc(size) argument 161 #define vmalloc(size) malloc(size) argument 179 static bool memeq(const void *a, const void *b, size_t size) in memeq() 194 static void memzero(void *buf, size_t size) in memzero() 206 void *memmove(void *dest, const void *src, size_t size) in memmove() 254 long (*fill)(void *dest, unsigned long size), in unxz()
|
/openbmc/linux/arch/loongarch/mm/ |
H A D | ioremap.c | 9 void __init __iomem *early_ioremap(u64 phys_addr, unsigned long size) in early_ioremap() 14 void __init early_iounmap(void __iomem *addr, unsigned long size) in early_iounmap() 19 void *early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro() 24 void *early_memremap_prot(resource_size_t phys_addr, unsigned long size, in early_memremap_prot()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | ioremap.c | 12 void __iomem *ioremap(phys_addr_t addr, unsigned long size) in ioremap() 23 void __iomem *ioremap_wc(phys_addr_t addr, unsigned long size) in ioremap_wc() 34 void __iomem *ioremap_coherent(phys_addr_t addr, unsigned long size) in ioremap_coherent() 44 void __iomem *ioremap_prot(phys_addr_t addr, size_t size, unsigned long flags) in ioremap_prot() 64 unsigned long size, pgprot_t prot) in early_ioremap_range()
|
/openbmc/linux/drivers/misc/ocxl/ |
H A D | pasid.c | 24 static int range_alloc(struct list_head *head, u32 size, int max_id, in range_alloc() 61 static void range_free(struct list_head *head, u32 start, u32 size, in range_free() 81 int ocxl_pasid_afu_alloc(struct ocxl_fn *fn, u32 size) in ocxl_pasid_afu_alloc() 91 void ocxl_pasid_afu_free(struct ocxl_fn *fn, u32 start, u32 size) in ocxl_pasid_afu_free() 96 int ocxl_actag_afu_alloc(struct ocxl_fn *fn, u32 size) in ocxl_actag_afu_alloc() 104 void ocxl_actag_afu_free(struct ocxl_fn *fn, u32 start, u32 size) in ocxl_actag_afu_free()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | uaccess_64.h | 85 static inline bool __access_ok(const void __user *ptr, unsigned long size) in __access_ok() 125 raw_copy_from_user(void *dst, const void __user *src, unsigned long size) in raw_copy_from_user() 131 raw_copy_to_user(void __user *dst, const void *src, unsigned long size) in raw_copy_to_user() 141 unsigned size) in __copy_from_user_inatomic_nocache() 152 __copy_from_user_flushcache(void *dst, const void __user *src, unsigned size) in __copy_from_user_flushcache() 165 …atic __always_inline __must_check unsigned long __clear_user(void __user *addr, unsigned long size) in __clear_user()
|
/openbmc/u-boot/lib/ |
H A D | lmb.c | 134 phys_size_t size, void *fdt_blob) in lmb_init_and_reserve_range() 142 static long lmb_add_region(struct lmb_region *rgn, phys_addr_t base, phys_size_t size) in lmb_add_region() 212 long lmb_add(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_add() 219 long lmb_free(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_free() 268 long lmb_reserve(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_reserve() 276 phys_size_t size) in lmb_overlaps_region() 290 phys_addr_t lmb_alloc(struct lmb *lmb, phys_size_t size, ulong align) in lmb_alloc() 295 phys_addr_t lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong align, phys_addr_t max_addr) in lmb_alloc_base() 308 static phys_addr_t lmb_align_down(phys_addr_t addr, phys_size_t size) in lmb_align_down() 313 phys_addr_t __lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong align, phys_addr_t max_addr) in __lmb_alloc_base() [all …]
|
/openbmc/linux/sound/core/ |
H A D | pcm_memory.c | 55 int str, size_t size, struct snd_dma_buffer *dmab) in do_alloc_pages() 104 size_t size, bool no_fallback) in preallocate_pcm_pages() 191 size_t size; in snd_pcm_lib_preallocate_proc_write() local 267 size_t size, size_t max, bool managed) in preallocate_pages() 302 void *data, size_t size, size_t max, in preallocate_pages_for_all() 328 size_t size, size_t max) in snd_pcm_lib_preallocate_pages() 347 size_t size, size_t max) in snd_pcm_lib_preallocate_pages_for_all() 385 struct device *data, size_t size, size_t max) in snd_pcm_set_managed_buffer() 407 size_t size, size_t max) in snd_pcm_set_managed_buffer_all() 424 int snd_pcm_lib_malloc_pages(struct snd_pcm_substream *substream, size_t size) in snd_pcm_lib_malloc_pages() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | ioctl.c | 34 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_nop() 72 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_sclass() 104 struct nvkm_object *parent, void *data, u32 size) in nvkm_ioctl_new() 167 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_del() 186 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_mthd() 206 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_rd() 246 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_wr() 275 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_map() 300 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_unmap() 334 void *data, u32 size, u8 owner, u8 *route, u64 *token) in nvkm_ioctl_path() [all …]
|
/openbmc/linux/include/uapi/asm-generic/ |
H A D | ioctl.h | 69 #define _IOC(dir,type,nr,size) \ argument 86 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument 87 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 88 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 89 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 90 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 91 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | uaccess_32.h | 51 #define __put_user_check(x, addr, size) ({ \ argument 77 #define __put_user_nocheck(x, addr, size) ({ \ argument 89 #define __put_user_asm(x, size, addr, ret) \ argument 110 #define __get_user_check(x, addr, size, type) ({ \ argument 140 #define __get_user_nocheck(x, addr, size, type) ({ \ argument 157 #define __get_user_asm(x, size, addr, ret) \ argument 194 static inline unsigned long __clear_user(void __user *addr, unsigned long size) in __clear_user()
|
/openbmc/linux/arch/mips/pci/ |
H A D | ops-bcm63xx.c | 20 static int postprocess_read(u32 data, int where, unsigned int size) in postprocess_read() 40 unsigned int size) in preprocess_write() 101 unsigned int devfn, int where, int size, in bcm63xx_do_cfg_read() 122 unsigned int devfn, int where, int size, in bcm63xx_do_cfg_write() 148 int where, int size, u32 *val) in bcm63xx_pci_read() 162 int where, int size, u32 val) in bcm63xx_pci_write() 208 static int fake_cb_bridge_read(int where, int size, u32 *val) in fake_cb_bridge_read() 363 int where, int size, u32 *val) in bcm63xx_cb_read() 387 int where, int size, u32 val) in bcm63xx_cb_write() 484 int where, int size, u32 *val) in bcm63xx_pcie_read() [all …]
|
/openbmc/linux/include/linux/ |
H A D | kasan-checks.h | 22 static inline bool __kasan_check_read(const volatile void *p, unsigned int size) in __kasan_check_read() 26 static inline bool __kasan_check_write(const volatile void *p, unsigned int size) in __kasan_check_write() 40 static inline bool kasan_check_read(const volatile void *p, unsigned int size) in kasan_check_read() 44 static inline bool kasan_check_write(const volatile void *p, unsigned int size) in kasan_check_write()
|
H A D | fortify-string.h | 157 char *strncpy(char * const POS p, const char *q, __kernel_size_t size) in strncpy() 489 __FORTIFY_INLINE void fortify_memset_chk(__kernel_size_t size, in fortify_memset_chk() 527 #define __fortify_memset_chk(p, c, size, p_size, p_size_field) ({ \ argument 573 __FORTIFY_INLINE bool fortify_memcpy_chk(__kernel_size_t size, in fortify_memcpy_chk() 648 #define __fortify_memcpy_chk(p, q, size, p_size, q_size, \ argument 717 __FORTIFY_INLINE void *memscan(void * const POS0 p, int c, __kernel_size_t size) in memscan() 729 int memcmp(const void * const POS0 p, const void * const POS0 q, __kernel_size_t size) in memcmp() 746 void *memchr(const void * const POS0 p, int c, __kernel_size_t size) in memchr() 758 __FORTIFY_INLINE void *memchr_inv(const void * const POS0 p, int c, size_t size) in memchr_inv() 771 __FORTIFY_INLINE void *kmemdup(const void * const POS0 p, size_t size, gfp_t gfp) in kmemdup() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvif/ |
H A D | vmm.c | 36 nvif_vmm_map(struct nvif_vmm *vmm, u64 addr, u64 size, void *argv, u32 argc, in nvif_vmm_map() 78 u8 page, u8 align, u64 size, struct nvif_vma *vma) in nvif_vmm_get() 108 nvif_vmm_raw_get(struct nvif_vmm *vmm, u64 addr, u64 size, in nvif_vmm_raw_get() 124 nvif_vmm_raw_put(struct nvif_vmm *vmm, u64 addr, u64 size, u8 shift) in nvif_vmm_raw_put() 139 nvif_vmm_raw_map(struct nvif_vmm *vmm, u64 addr, u64 size, u8 shift, in nvif_vmm_raw_map() 160 nvif_vmm_raw_unmap(struct nvif_vmm *vmm, u64 addr, u64 size, in nvif_vmm_raw_unmap() 177 nvif_vmm_raw_sparse(struct nvif_vmm *vmm, u64 addr, u64 size, bool ref) in nvif_vmm_raw_sparse() 200 enum nvif_vmm_type type, u64 addr, u64 size, void *argv, u32 argc, in nvif_vmm_ctor()
|
/openbmc/linux/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-debug.h | 14 static inline const char *cdns2_decode_usb_irq(char *str, size_t size, in cdns2_decode_usb_irq() 51 static inline const char *cdns2_decode_dma_irq(char *str, size_t size, in cdns2_decode_dma_irq() 83 static inline const char *cdns2_decode_epx_irq(char *str, size_t size, in cdns2_decode_epx_irq() 90 static inline const char *cdns2_decode_ep0_irq(char *str, size_t size, in cdns2_decode_ep0_irq() 100 char *str, size_t size) in cdns2_raw_ring() 161 static inline const char *cdns2_decode_trb(char *str, size_t size, u32 flags, in cdns2_decode_trb()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/gc/gc_2/ |
H A D | ia_css_gc2.host.c | 41 unsigned int size) in ia_css_yuv2rgb_encode() 50 unsigned int size) in ia_css_rgb2yuv_encode() 59 unsigned int size) in ia_css_r_gamma_vamem_encode() 69 unsigned int size) in ia_css_g_gamma_vamem_encode() 79 unsigned int size) in ia_css_b_gamma_vamem_encode()
|
/openbmc/linux/tools/perf/trace/beauty/ |
H A D | sockaddr.c | 13 static size_t af_inet__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_inet__scnprintf() 21 static size_t af_inet6__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_inet6__scnprintf() 36 static size_t af_local__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_local__scnprintf() 48 …ic size_t syscall_arg__scnprintf_augmented_sockaddr(struct syscall_arg *arg, char *bf, size_t size) in syscall_arg__scnprintf_augmented_sockaddr() 63 size_t syscall_arg__scnprintf_sockaddr(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_sockaddr()
|
/openbmc/linux/tools/lib/ |
H A D | find_bit.c | 27 #define FIND_FIRST_BIT(FETCH, MUNGE, size) \ argument 49 #define FIND_NEXT_BIT(FETCH, MUNGE, size, start) \ argument 74 unsigned long _find_first_bit(const unsigned long *addr, unsigned long size) in _find_first_bit() 86 unsigned long size) in _find_first_and_bit() 96 unsigned long _find_first_zero_bit(const unsigned long *addr, unsigned long size) in _find_first_zero_bit()
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | wr.c | 55 void **seg, int *size, void **cur_edge) in set_eth_seg() 243 static u8 calc_sig(void *wqe, int size) in calc_sig() 419 struct mlx5_ib_qp *qp, void **seg, int *size, in set_sig_data_segment() 530 u32 size, u32 length, u32 pdn) in set_sig_mkey_segment() 547 u32 size) in set_sig_umr_segment() 609 u32 psv_idx, void **seg, int *size) in set_psv_wr() 637 void **seg, int *size, void **cur_edge, in set_reg_wr() 847 int *size, void **cur_edge, in handle_reg_mr_integrity() 996 int *size, void **cur_edge) in handle_qpt_hw_gsi() 1005 void **seg, int *size, void **cur_edge) in handle_qpt_ud() [all …]
|
/openbmc/linux/drivers/clk/mmp/ |
H A D | clk.c | 28 int size) in mmp_register_fixed_rate_clks() 50 int size) in mmp_register_fixed_factor_clks() 72 void __iomem *base, int size) in mmp_register_general_gate_clks() 98 void __iomem *base, int size) in mmp_register_gate_clks() 126 void __iomem *base, int size) in mmp_register_mux_clks() 154 void __iomem *base, int size) in mmp_register_div_clks()
|
/openbmc/linux/fs/ |
H A D | xattr.c | 187 size_t size, int flags) in __vfs_setxattr() 225 const void *value, size_t size, int flags) in __vfs_setxattr_noperm() 412 void *value, size_t size) in __vfs_getxattr() 675 size_t, size, int, flags) in SYSCALL_DEFINE5() argument 682 size_t, size, int, flags) in SYSCALL_DEFINE5() argument 811 void __user *, value, size_t, size) in SYSCALL_DEFINE4() argument 876 size_t, size) in SYSCALL_DEFINE3() argument 882 size_t, size) in SYSCALL_DEFINE3() argument 1163 void *buffer, size_t size) in simple_xattr_get() 1213 size_t size, int flags) in simple_xattr_set() [all …]
|
/openbmc/linux/arch/arc/mm/ |
H A D | dma.c | 18 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent() 51 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 72 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu() 93 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops()
|
/openbmc/u-boot/include/asm-generic/ |
H A D | ioctl.h | 65 #define _IOC(dir,type,nr,size) \ argument 84 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument 85 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 86 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 87 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 88 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 89 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
|