sz                170 arch/arc/include/asm/arcregs.h 	unsigned int base:16, pad:5, sz:3, ver:8;
sz                172 arch/arc/include/asm/arcregs.h 	unsigned int ver:8, sz:3, pad:5, base:16;
sz                186 arch/arc/include/asm/arcregs.h 	unsigned int res:21, sz:3, ver:8;
sz                188 arch/arc/include/asm/arcregs.h 	unsigned int ver:8, sz:3, res:21;
sz                296 arch/arc/include/asm/arcregs.h 	unsigned int base_addr, sz;
sz                 40 arch/arc/include/asm/cacheflush.h void dma_cache_wback_inv(phys_addr_t start, unsigned long sz);
sz                 41 arch/arc/include/asm/cacheflush.h void dma_cache_inv(phys_addr_t start, unsigned long sz);
sz                 42 arch/arc/include/asm/cacheflush.h void dma_cache_wback(phys_addr_t start, unsigned long sz);
sz                 37 arch/arc/include/asm/io.h #define ioremap_nocache(phy, sz)	ioremap(phy, sz)
sz                 38 arch/arc/include/asm/io.h #define ioremap_wc(phy, sz)		ioremap(phy, sz)
sz                 39 arch/arc/include/asm/io.h #define ioremap_wt(phy, sz)		ioremap(phy, sz)
sz                 50 arch/arc/include/asm/uaccess.h #define __user_ok(addr, sz)	(((sz) <= TASK_SIZE) && \
sz                 51 arch/arc/include/asm/uaccess.h 				 ((addr) <= (get_fs() - (sz))))
sz                 52 arch/arc/include/asm/uaccess.h #define __access_ok(addr, sz)	(unlikely(__kernel_ok) || \
sz                 53 arch/arc/include/asm/uaccess.h 				 likely(__user_ok((addr), (sz))))
sz                 57 arch/arc/include/asm/uaccess.h #define __get_user_fn(sz, u, k)					\
sz                 60 arch/arc/include/asm/uaccess.h 	switch (sz) {						\
sz                118 arch/arc/include/asm/uaccess.h #define __put_user_fn(sz, u, k)					\
sz                121 arch/arc/include/asm/uaccess.h 	switch (sz) {						\
sz                 74 arch/arc/kernel/setup.c 			cpu->iccm.sz = 4096 << iccm.sz;	/* 8K to 512K */
sz                 81 arch/arc/kernel/setup.c 			cpu->dccm.sz = 2048 << dccm.sz;	/* 2K to 256K */
sz                 93 arch/arc/kernel/setup.c 			cpu->iccm.sz = 256 << iccm.sz00;	/* 512B to 16M */
sz                 95 arch/arc/kernel/setup.c 				cpu->iccm.sz <<= iccm.sz01;
sz                103 arch/arc/kernel/setup.c 			cpu->dccm.sz = 256 << dccm.sz0;
sz                105 arch/arc/kernel/setup.c 				cpu->dccm.sz <<= dccm.sz1;
sz                367 arch/arc/kernel/setup.c 	if (cpu->dccm.sz || cpu->iccm.sz)
sz                369 arch/arc/kernel/setup.c 			       cpu->dccm.base_addr, TO_KB(cpu->dccm.sz),
sz                370 arch/arc/kernel/setup.c 			       cpu->iccm.base_addr, TO_KB(cpu->iccm.sz));
sz                413 arch/arc/kernel/setup.c 	if (CONFIG_ARC_DCCM_SZ * SZ_1K != cpu->dccm.sz)
sz                418 arch/arc/kernel/setup.c 	if (CONFIG_ARC_ICCM_SZ * SZ_1K != cpu->iccm.sz)
sz                179 arch/arc/kernel/unwind.c static void *__init unw_hdr_alloc_early(unsigned long sz)
sz                181 arch/arc/kernel/unwind.c 	return memblock_alloc_from(sz, sizeof(unsigned int), MAX_DMA_ADDRESS);
sz                364 arch/arc/kernel/unwind.c static void *unw_hdr_alloc(unsigned long sz)
sz                366 arch/arc/kernel/unwind.c 	return kmalloc(sz, GFP_KERNEL);
sz                 32 arch/arc/mm/cache.c 			       unsigned long sz, const int op, const int full_page);
sz                 34 arch/arc/mm/cache.c void (*__dma_cache_wback_inv)(phys_addr_t start, unsigned long sz);
sz                 35 arch/arc/mm/cache.c void (*__dma_cache_inv)(phys_addr_t start, unsigned long sz);
sz                 36 arch/arc/mm/cache.c void (*__dma_cache_wback)(phys_addr_t start, unsigned long sz);
sz                 82 arch/arc/mm/cache.c 		unsigned int pad:24, way:2, lsz:2, sz:4;
sz                 84 arch/arc/mm/cache.c 		unsigned int sz:4, lsz:2, way:2, pad:24;
sz                108 arch/arc/mm/cache.c 		p_slc->sz_k = 128 << slc_cfg.sz;
sz                148 arch/arc/mm/cache.c 		unsigned int pad:12, line_len:4, sz:4, config:4, ver:8;
sz                150 arch/arc/mm/cache.c 		unsigned int ver:8, config:4, sz:4, line_len:4, pad:12;
sz                168 arch/arc/mm/cache.c 	p_ic->sz_k = 1 << (ibcr.sz - 1);
sz                191 arch/arc/mm/cache.c 	p_dc->sz_k = 1 << (dbcr.sz - 1);
sz                251 arch/arc/mm/cache.c 			  unsigned long sz, const int op, const int full_page)
sz                270 arch/arc/mm/cache.c 		sz += paddr & ~CACHE_LINE_MASK;
sz                275 arch/arc/mm/cache.c 	num_lines = DIV_ROUND_UP(sz, L1_CACHE_BYTES);
sz                296 arch/arc/mm/cache.c 			  unsigned long sz, const int op, const int full_page)
sz                316 arch/arc/mm/cache.c 		sz += paddr & ~CACHE_LINE_MASK;
sz                320 arch/arc/mm/cache.c 	num_lines = DIV_ROUND_UP(sz, L1_CACHE_BYTES);
sz                367 arch/arc/mm/cache.c 			  unsigned long sz, const int op, const int full_page)
sz                386 arch/arc/mm/cache.c 		sz += paddr & ~CACHE_LINE_MASK;
sz                390 arch/arc/mm/cache.c 	num_lines = DIV_ROUND_UP(sz, L1_CACHE_BYTES);
sz                421 arch/arc/mm/cache.c 			  unsigned long sz, const int op, const int full_page)
sz                436 arch/arc/mm/cache.c 		sz += paddr & ~CACHE_LINE_MASK;
sz                443 arch/arc/mm/cache.c 		sz += L1_CACHE_BYTES - 1;
sz                455 arch/arc/mm/cache.c 	write_aux_reg(e, paddr + sz);	/* ENDR is exclusive */
sz                575 arch/arc/mm/cache.c #define __dc_line_op_k(p, sz, op)	__dc_line_op(p, p, sz, op)
sz                581 arch/arc/mm/cache.c 				unsigned long sz, const int op)
sz                583 arch/arc/mm/cache.c 	const int full_page = __builtin_constant_p(sz) && sz == PAGE_SIZE;
sz                590 arch/arc/mm/cache.c 	__cache_line_loop(paddr, vaddr, sz, op, full_page);
sz                602 arch/arc/mm/cache.c #define __dc_line_op(paddr, vaddr, sz, op)
sz                603 arch/arc/mm/cache.c #define __dc_line_op_k(paddr, sz, op)
sz                617 arch/arc/mm/cache.c 			  unsigned long sz)
sz                619 arch/arc/mm/cache.c 	const int full_page = __builtin_constant_p(sz) && sz == PAGE_SIZE;
sz                623 arch/arc/mm/cache.c 	(*_cache_line_loop_ic_fn)(paddr, vaddr, sz, OP_INV_IC, full_page);
sz                635 arch/arc/mm/cache.c 	int sz;
sz                642 arch/arc/mm/cache.c         __ic_line_inv_vaddr_local(ic_inv->paddr, ic_inv->vaddr, ic_inv->sz);
sz                646 arch/arc/mm/cache.c 				unsigned long sz)
sz                651 arch/arc/mm/cache.c 		.sz    = sz
sz                662 arch/arc/mm/cache.c #define __ic_line_inv_vaddr(pstart, vstart, sz)
sz                666 arch/arc/mm/cache.c noinline void slc_op_rgn(phys_addr_t paddr, unsigned long sz, const int op)
sz                709 arch/arc/mm/cache.c 	end = paddr + sz + l2_line_sz - 1;
sz                729 arch/arc/mm/cache.c noinline void slc_op_line(phys_addr_t paddr, unsigned long sz, const int op)
sz                760 arch/arc/mm/cache.c 	sz += paddr & ~SLC_LINE_MASK;
sz                763 arch/arc/mm/cache.c 	num_lines = DIV_ROUND_UP(sz, l2_line_sz);
sz                779 arch/arc/mm/cache.c #define slc_op(paddr, sz, op)	slc_op_rgn(paddr, sz, op)
sz                873 arch/arc/mm/cache.c static void __dma_cache_wback_inv_l1(phys_addr_t start, unsigned long sz)
sz                875 arch/arc/mm/cache.c 	__dc_line_op_k(start, sz, OP_FLUSH_N_INV);
sz                878 arch/arc/mm/cache.c static void __dma_cache_inv_l1(phys_addr_t start, unsigned long sz)
sz                880 arch/arc/mm/cache.c 	__dc_line_op_k(start, sz, OP_INV);
sz                883 arch/arc/mm/cache.c static void __dma_cache_wback_l1(phys_addr_t start, unsigned long sz)
sz                885 arch/arc/mm/cache.c 	__dc_line_op_k(start, sz, OP_FLUSH);
sz                892 arch/arc/mm/cache.c static void __dma_cache_wback_inv_slc(phys_addr_t start, unsigned long sz)
sz                894 arch/arc/mm/cache.c 	__dc_line_op_k(start, sz, OP_FLUSH_N_INV);
sz                895 arch/arc/mm/cache.c 	slc_op(start, sz, OP_FLUSH_N_INV);
sz                898 arch/arc/mm/cache.c static void __dma_cache_inv_slc(phys_addr_t start, unsigned long sz)
sz                900 arch/arc/mm/cache.c 	__dc_line_op_k(start, sz, OP_INV);
sz                901 arch/arc/mm/cache.c 	slc_op(start, sz, OP_INV);
sz                904 arch/arc/mm/cache.c static void __dma_cache_wback_slc(phys_addr_t start, unsigned long sz)
sz                906 arch/arc/mm/cache.c 	__dc_line_op_k(start, sz, OP_FLUSH);
sz                907 arch/arc/mm/cache.c 	slc_op(start, sz, OP_FLUSH);
sz                913 arch/arc/mm/cache.c void dma_cache_wback_inv(phys_addr_t start, unsigned long sz)
sz                915 arch/arc/mm/cache.c 	__dma_cache_wback_inv(start, sz);
sz                919 arch/arc/mm/cache.c void dma_cache_inv(phys_addr_t start, unsigned long sz)
sz                921 arch/arc/mm/cache.c 	__dma_cache_inv(start, sz);
sz                925 arch/arc/mm/cache.c void dma_cache_wback(phys_addr_t start, unsigned long sz)
sz                927 arch/arc/mm/cache.c 	__dma_cache_wback(start, sz);
sz                975 arch/arc/mm/cache.c 		unsigned int off, sz;
sz                981 arch/arc/mm/cache.c 		sz = min_t(unsigned int, tot_sz, PAGE_SIZE - off);
sz                982 arch/arc/mm/cache.c 		__sync_icache_dcache(phy, kstart, sz);
sz                983 arch/arc/mm/cache.c 		kstart += sz;
sz                984 arch/arc/mm/cache.c 		tot_sz -= sz;
sz               1132 arch/arc/mm/cache.c SYSCALL_DEFINE3(cacheflush, uint32_t, start, uint32_t, sz, uint32_t, flags)
sz                 26 arch/arc/plat-hsdk/platform.c 	if (cpuinfo_arc700[cpu].iccm.sz)
sz                 33 arch/arc/plat-hsdk/platform.c 	if (cpuinfo_arc700[cpu].dccm.sz)
sz                366 arch/arm/common/dmabounce.c 		size_t sz, enum dma_data_direction dir)
sz                372 arch/arm/common/dmabounce.c 		__func__, addr, sz, dir);
sz                390 arch/arm/common/dmabounce.c 			__func__, buf->safe + off, buf->ptr + off, sz);
sz                391 arch/arm/common/dmabounce.c 		memcpy(buf->ptr + off, buf->safe + off, sz);
sz                406 arch/arm/common/dmabounce.c 		size_t sz, enum dma_data_direction dir)
sz                412 arch/arm/common/dmabounce.c 		__func__, addr, sz, dir);
sz                430 arch/arm/common/dmabounce.c 			__func__,buf->ptr + off, buf->safe + off, sz);
sz                431 arch/arm/common/dmabounce.c 		memcpy(buf->safe + off, buf->ptr + off, sz);
sz                 83 arch/arm/include/asm/barrier.h 						    unsigned long sz)
sz                 92 arch/arm/include/asm/barrier.h 	: "r" (idx), "Ir" (sz)
sz                200 arch/arm/include/asm/bitops.h #define find_first_zero_bit(p,sz)	_find_first_zero_bit_le(p,sz)
sz                201 arch/arm/include/asm/bitops.h #define find_next_zero_bit(p,sz,off)	_find_next_zero_bit_le(p,sz,off)
sz                202 arch/arm/include/asm/bitops.h #define find_first_bit(p,sz)		_find_first_bit_le(p,sz)
sz                203 arch/arm/include/asm/bitops.h #define find_next_bit(p,sz,off)		_find_next_bit_le(p,sz,off)
sz                209 arch/arm/include/asm/bitops.h #define find_first_zero_bit(p,sz)	_find_first_zero_bit_be(p,sz)
sz                210 arch/arm/include/asm/bitops.h #define find_next_zero_bit(p,sz,off)	_find_next_zero_bit_be(p,sz,off)
sz                211 arch/arm/include/asm/bitops.h #define find_first_bit(p,sz)		_find_first_bit_be(p,sz)
sz                212 arch/arm/include/asm/bitops.h #define find_next_bit(p,sz,off)		_find_next_bit_be(p,sz,off)
sz                 63 arch/arm/mach-ebsa110/include/mach/io.h extern void insb(unsigned int port, void *buf, int sz);
sz                 65 arch/arm/mach-ebsa110/include/mach/io.h extern void insw(unsigned int port, void *buf, int sz);
sz                 67 arch/arm/mach-ebsa110/include/mach/io.h extern void insl(unsigned int port, void *buf, int sz);
sz                 70 arch/arm/mach-ebsa110/include/mach/io.h extern void outsb(unsigned int port, const void *buf, int sz);
sz                 72 arch/arm/mach-ebsa110/include/mach/io.h extern void outsw(unsigned int port, const void *buf, int sz);
sz                 74 arch/arm/mach-ebsa110/include/mach/io.h extern void outsl(unsigned int port, const void *buf, int sz);
sz                160 arch/arm/mach-orion5x/ts78xx-setup.c 	int sz;
sz                163 arch/arm/mach-orion5x/ts78xx-setup.c 		sz = min_t(int, 4 - off, len);
sz                164 arch/arm/mach-orion5x/ts78xx-setup.c 		writesb(io_base, buf, sz);
sz                165 arch/arm/mach-orion5x/ts78xx-setup.c 		buf += sz;
sz                166 arch/arm/mach-orion5x/ts78xx-setup.c 		len -= sz;
sz                169 arch/arm/mach-orion5x/ts78xx-setup.c 	sz = len >> 2;
sz                170 arch/arm/mach-orion5x/ts78xx-setup.c 	if (sz) {
sz                172 arch/arm/mach-orion5x/ts78xx-setup.c 		writesl(io_base, buf32, sz);
sz                173 arch/arm/mach-orion5x/ts78xx-setup.c 		buf += sz << 2;
sz                174 arch/arm/mach-orion5x/ts78xx-setup.c 		len -= sz << 2;
sz                186 arch/arm/mach-orion5x/ts78xx-setup.c 	int sz;
sz                189 arch/arm/mach-orion5x/ts78xx-setup.c 		sz = min_t(int, 4 - off, len);
sz                190 arch/arm/mach-orion5x/ts78xx-setup.c 		readsb(io_base, buf, sz);
sz                191 arch/arm/mach-orion5x/ts78xx-setup.c 		buf += sz;
sz                192 arch/arm/mach-orion5x/ts78xx-setup.c 		len -= sz;
sz                195 arch/arm/mach-orion5x/ts78xx-setup.c 	sz = len >> 2;
sz                196 arch/arm/mach-orion5x/ts78xx-setup.c 	if (sz) {
sz                198 arch/arm/mach-orion5x/ts78xx-setup.c 		readsl(io_base, buf32, sz);
sz                199 arch/arm/mach-orion5x/ts78xx-setup.c 		buf += sz << 2;
sz                200 arch/arm/mach-orion5x/ts78xx-setup.c 		len -= sz << 2;
sz                670 arch/arm/mach-rpc/ecard.c #define ec_set_resource(ec,nr,st,sz)				\
sz                674 arch/arm/mach-rpc/ecard.c 		(ec)->resource[nr].end = (st) + (sz) - 1;	\
sz                 36 arch/arm/mach-s3c24xx/include/mach/io.h #define DECLARE_DYN_OUT(sz,fnsuffix,instr) \
sz                 51 arch/arm/mach-s3c24xx/include/mach/io.h #define DECLARE_DYN_IN(sz,fnsuffix,instr)				\
sz                 52 arch/arm/mach-s3c24xx/include/mach/io.h static inline unsigned sz __in##fnsuffix (unsigned int port)		\
sz                 63 arch/arm/mach-s3c24xx/include/mach/io.h 	return (unsigned sz)value;					\
sz                 71 arch/arm/mach-s3c24xx/include/mach/io.h #define DECLARE_IO(sz,fnsuffix,instr)	\
sz                 72 arch/arm/mach-s3c24xx/include/mach/io.h 	DECLARE_DYN_IN(sz,fnsuffix,instr) \
sz                 73 arch/arm/mach-s3c24xx/include/mach/io.h 	DECLARE_DYN_OUT(sz,fnsuffix,instr)
sz                113 arch/arm/mach-tegra/iomap.h #define IO_TO_VIRT_BETWEEN(p, st, sz)	((p) >= (st) && (p) < ((st) + (sz)))
sz                719 arch/arm/mm/mmu.c static void __init *early_alloc(unsigned long sz)
sz                721 arch/arm/mm/mmu.c 	void *ptr = memblock_alloc(sz, sz);
sz                725 arch/arm/mm/mmu.c 		      __func__, sz, sz);
sz                730 arch/arm/mm/mmu.c static void *__init late_alloc(unsigned long sz)
sz                732 arch/arm/mm/mmu.c 	void *ptr = (void *)__get_free_pages(GFP_PGTABLE_KERNEL, get_order(sz));
sz                741 arch/arm/mm/mmu.c 				void *(*alloc)(unsigned long sz))
sz                760 arch/arm/mm/mmu.c 				  void *(*alloc)(unsigned long sz),
sz                801 arch/arm/mm/mmu.c 				      void *(*alloc)(unsigned long sz), bool ng)
sz                833 arch/arm/mm/mmu.c 				  void *(*alloc)(unsigned long sz), bool ng)
sz                908 arch/arm/mm/mmu.c 				    void *(*alloc)(unsigned long sz),
sz               1025 arch/arm/net/bpf_jit_32.c 			      s16 off, struct jit_ctx *ctx, const u8 sz){
sz               1031 arch/arm/net/bpf_jit_32.c 	if (!is_ldst_imm(off, sz)) {
sz               1037 arch/arm/net/bpf_jit_32.c 	switch (sz) {
sz               1060 arch/arm/net/bpf_jit_32.c 			      s16 off, struct jit_ctx *ctx, const u8 sz){
sz               1065 arch/arm/net/bpf_jit_32.c 	if (!is_ldst_imm(off, sz)) {
sz               1074 arch/arm/net/bpf_jit_32.c 	switch (sz) {
sz                259 arch/arm64/include/asm/atomic_ll_sc.h #define __CMPXCHG_CASE(w, sfx, name, sz, mb, acq, rel, cl, constraint)	\
sz                260 arch/arm64/include/asm/atomic_ll_sc.h static inline u##sz							\
sz                261 arch/arm64/include/asm/atomic_ll_sc.h __ll_sc__cmpxchg_case_##name##sz(volatile void *ptr,			\
sz                263 arch/arm64/include/asm/atomic_ll_sc.h 					 u##sz new)			\
sz                266 arch/arm64/include/asm/atomic_ll_sc.h 	u##sz oldval;							\
sz                273 arch/arm64/include/asm/atomic_ll_sc.h 	if (sz < 32)							\
sz                274 arch/arm64/include/asm/atomic_ll_sc.h 		old = (u##sz)old;					\
sz                287 arch/arm64/include/asm/atomic_ll_sc.h 	  [v] "+Q" (*(u##sz *)ptr)					\
sz                340 arch/arm64/include/asm/atomic_lse.h #define __CMPXCHG_CASE(w, sfx, name, sz, mb, cl...)			\
sz                341 arch/arm64/include/asm/atomic_lse.h static __always_inline u##sz						\
sz                342 arch/arm64/include/asm/atomic_lse.h __lse__cmpxchg_case_##name##sz(volatile void *ptr,			\
sz                343 arch/arm64/include/asm/atomic_lse.h 					      u##sz old,		\
sz                344 arch/arm64/include/asm/atomic_lse.h 					      u##sz new)		\
sz                347 arch/arm64/include/asm/atomic_lse.h 	register u##sz x1 asm ("x1") = old;				\
sz                348 arch/arm64/include/asm/atomic_lse.h 	register u##sz x2 asm ("x2") = new;				\
sz                 45 arch/arm64/include/asm/barrier.h 						    unsigned long sz)
sz                 53 arch/arm64/include/asm/barrier.h 	: "r" (idx), "Ir" (sz)
sz                 21 arch/arm64/include/asm/cmpxchg.h #define __XCHG_CASE(w, sfx, name, sz, mb, nop_lse, acq, acq_lse, rel, cl)	\
sz                 22 arch/arm64/include/asm/cmpxchg.h static inline u##sz __xchg_case_##name##sz(u##sz x, volatile void *ptr)		\
sz                 24 arch/arm64/include/asm/cmpxchg.h 	u##sz ret;								\
sz                 38 arch/arm64/include/asm/cmpxchg.h 	: "=&r" (ret), "=&r" (tmp), "+Q" (*(u##sz *)ptr)			\
sz                106 arch/arm64/include/asm/cmpxchg.h #define __CMPXCHG_CASE(name, sz)			\
sz                107 arch/arm64/include/asm/cmpxchg.h static inline u##sz __cmpxchg_case_##name##sz(volatile void *ptr,	\
sz                108 arch/arm64/include/asm/cmpxchg.h 					      u##sz old,		\
sz                109 arch/arm64/include/asm/cmpxchg.h 					      u##sz new)		\
sz                111 arch/arm64/include/asm/cmpxchg.h 	return __lse_ll_sc_body(_cmpxchg_case_##name##sz,		\
sz                232 arch/arm64/include/asm/cmpxchg.h #define __CMPWAIT_CASE(w, sfx, sz)					\
sz                233 arch/arm64/include/asm/cmpxchg.h static inline void __cmpwait_case_##sz(volatile void *ptr,		\
sz                 58 arch/arm64/include/asm/hugetlb.h 			   pte_t *ptep, unsigned long sz);
sz                 60 arch/arm64/include/asm/hugetlb.h 				 pte_t *ptep, pte_t pte, unsigned long sz);
sz                 40 arch/arm64/include/asm/percpu.h #define PERCPU_RW_OPS(sz)						\
sz                 41 arch/arm64/include/asm/percpu.h static inline unsigned long __percpu_read_##sz(void *ptr)		\
sz                 43 arch/arm64/include/asm/percpu.h 	return READ_ONCE(*(u##sz *)ptr);				\
sz                 46 arch/arm64/include/asm/percpu.h static inline void __percpu_write_##sz(void *ptr, unsigned long val)	\
sz                 48 arch/arm64/include/asm/percpu.h 	WRITE_ONCE(*(u##sz *)ptr, (u##sz)val);				\
sz                 51 arch/arm64/include/asm/percpu.h #define __PERCPU_OP_CASE(w, sfx, name, sz, op_llsc, op_lse)		\
sz                 53 arch/arm64/include/asm/percpu.h __percpu_##name##_case_##sz(void *ptr, unsigned long val)		\
sz                 56 arch/arm64/include/asm/percpu.h 	u##sz tmp;							\
sz                 68 arch/arm64/include/asm/percpu.h 	  [ptr] "+Q"(*(u##sz *)ptr)					\
sz                 69 arch/arm64/include/asm/percpu.h 	: [val] "r" ((u##sz)(val)));					\
sz                 72 arch/arm64/include/asm/percpu.h #define __PERCPU_RET_OP_CASE(w, sfx, name, sz, op_llsc, op_lse)		\
sz                 73 arch/arm64/include/asm/percpu.h static inline u##sz							\
sz                 74 arch/arm64/include/asm/percpu.h __percpu_##name##_return_case_##sz(void *ptr, unsigned long val)	\
sz                 77 arch/arm64/include/asm/percpu.h 	u##sz ret;							\
sz                 90 arch/arm64/include/asm/percpu.h 	  [ptr] "+Q"(*(u##sz *)ptr)					\
sz                 91 arch/arm64/include/asm/percpu.h 	: [val] "r" ((u##sz)(val)));					\
sz                 24 arch/arm64/kernel/sys32.c 		       compat_size_t, sz, struct compat_statfs64 __user *, buf)
sz                 35 arch/arm64/kernel/sys32.c 	if (sz == 88)
sz                 36 arch/arm64/kernel/sys32.c 		sz = 84;
sz                 38 arch/arm64/kernel/sys32.c 	return kcompat_sys_statfs64(pathname, sz, buf);
sz                 41 arch/arm64/kernel/sys32.c COMPAT_SYSCALL_DEFINE3(aarch32_fstatfs64, unsigned int, fd, compat_size_t, sz,
sz                 45 arch/arm64/kernel/sys32.c 	if (sz == 88)
sz                 46 arch/arm64/kernel/sys32.c 		sz = 84;
sz                 48 arch/arm64/kernel/sys32.c 	return kcompat_sys_fstatfs64(fd, sz, buf);
sz                636 arch/arm64/kernel/traps.c 						   unsigned int sz)
sz                639 arch/arm64/kernel/traps.c 	arm64_skip_faulting_instruction(regs, sz);
sz                205 arch/arm64/mm/hugetlbpage.c 			  pte_t *ptep, pte_t pte, unsigned long sz)
sz                210 arch/arm64/mm/hugetlbpage.c 	ncontig = num_contig_ptes(sz, &pgsize);
sz                217 arch/arm64/mm/hugetlbpage.c 		      unsigned long addr, unsigned long sz)
sz                229 arch/arm64/mm/hugetlbpage.c 	if (sz == PUD_SIZE) {
sz                231 arch/arm64/mm/hugetlbpage.c 	} else if (sz == (CONT_PTE_SIZE)) {
sz                236 arch/arm64/mm/hugetlbpage.c 		WARN_ON(addr & (sz - 1));
sz                245 arch/arm64/mm/hugetlbpage.c 	} else if (sz == PMD_SIZE) {
sz                251 arch/arm64/mm/hugetlbpage.c 	} else if (sz == (CONT_PMD_SIZE)) {
sz                253 arch/arm64/mm/hugetlbpage.c 		WARN_ON(addr & (sz - 1));
sz                261 arch/arm64/mm/hugetlbpage.c 		       unsigned long addr, unsigned long sz)
sz                273 arch/arm64/mm/hugetlbpage.c 	if (sz != PUD_SIZE && pud_none(pud))
sz                280 arch/arm64/mm/hugetlbpage.c 	if (sz == CONT_PMD_SIZE)
sz                285 arch/arm64/mm/hugetlbpage.c 	if (!(sz == PMD_SIZE || sz == CONT_PMD_SIZE) &&
sz                291 arch/arm64/mm/hugetlbpage.c 	if (sz == CONT_PTE_SIZE)
sz                314 arch/arm64/mm/hugetlbpage.c 		    pte_t *ptep, unsigned long sz)
sz                319 arch/arm64/mm/hugetlbpage.c 	ncontig = num_contig_ptes(sz, &pgsize);
sz                117 arch/arm64/net/bpf_jit.h 	int sz = (sf) ? 64 : 32;	\
sz                118 arch/arm64/net/bpf_jit.h 	A64_UBFM(sf, Rd, Rn, (unsigned)-(shift) % sz, sz - 1 - (shift)); \
sz                171 arch/arm64/net/bpf_jit_comp.c #define STACK_ALIGN(sz) (((sz) + 15) & ~15)
sz                 42 arch/ia64/include/uapi/asm/intrinsics.h #define IA64_FETCHADD(tmp,v,n,sz,sem)						\
sz                 44 arch/ia64/include/uapi/asm/intrinsics.h 	switch (sz) {								\
sz               1839 arch/ia64/kernel/mca.c 	long sz = sizeof(struct ia64_mca_cpu);
sz               1855 arch/ia64/kernel/mca.c 							get_order(sz));
sz                478 arch/ia64/kernel/perfmon.c 	int		(*cmd_getsize)(void *arg, size_t *sz);
sz               2479 arch/ia64/kernel/perfmon.c pfm_ctx_getsize(void *arg, size_t *sz)
sz               2484 arch/ia64/kernel/perfmon.c 	*sz = 0;
sz               2494 arch/ia64/kernel/perfmon.c 	*sz = fmt->fmt_arg_size;
sz               2495 arch/ia64/kernel/perfmon.c 	DPRINT(("arg_size=%lu\n", *sz));
sz               4714 arch/ia64/kernel/perfmon.c 	size_t base_sz, sz, xtra_sz = 0;
sz               4717 arch/ia64/kernel/perfmon.c 	int (*getsize)(void *arg, size_t *sz);
sz               4755 arch/ia64/kernel/perfmon.c 	sz = xtra_sz + base_sz*count;
sz               4759 arch/ia64/kernel/perfmon.c 	if (unlikely(sz > PFM_MAX_ARGSIZE)) {
sz               4760 arch/ia64/kernel/perfmon.c 		printk(KERN_ERR "perfmon: [%d] argument too big %lu\n", task_pid_nr(current), sz);
sz               4779 arch/ia64/kernel/perfmon.c 	if (sz && copy_from_user(args_k, arg, sz)) {
sz               4780 arch/ia64/kernel/perfmon.c 		DPRINT(("cannot copy_from_user %lu bytes @%p\n", sz, arg));
sz               4796 arch/ia64/kernel/perfmon.c 		DPRINT(("restart_args sz=%lu xtra_sz=%lu\n", sz, xtra_sz));
sz                 29 arch/ia64/mm/hugetlbpage.c huge_pte_alloc(struct mm_struct *mm, unsigned long addr, unsigned long sz)
sz                 48 arch/ia64/mm/hugetlbpage.c huge_pte_offset (struct mm_struct *mm, unsigned long addr, unsigned long sz)
sz                 41 arch/m68k/include/asm/openprom.h 	char * (*v2_dumb_mem_alloc)(char *va, unsigned sz);
sz                 42 arch/m68k/include/asm/openprom.h 	void (*v2_dumb_mem_free)(char *va, unsigned sz);
sz                 45 arch/m68k/include/asm/openprom.h 	char * (*v2_dumb_mmap)(char *virta, int which_io, unsigned paddr, unsigned sz);
sz                113 arch/mips/include/asm/mips-cm.h #define GCR_ACCESSOR_RO(sz, off, name)					\
sz                114 arch/mips/include/asm/mips-cm.h 	CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_GCB_OFS + off, name)		\
sz                115 arch/mips/include/asm/mips-cm.h 	CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_COCB_OFS + off, redir_##name)
sz                117 arch/mips/include/asm/mips-cm.h #define GCR_ACCESSOR_RW(sz, off, name)					\
sz                118 arch/mips/include/asm/mips-cm.h 	CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_GCB_OFS + off, name)		\
sz                119 arch/mips/include/asm/mips-cm.h 	CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_COCB_OFS + off, redir_##name)
sz                121 arch/mips/include/asm/mips-cm.h #define GCR_CX_ACCESSOR_RO(sz, off, name)				\
sz                122 arch/mips/include/asm/mips-cm.h 	CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_CLCB_OFS + off, cl_##name)	\
sz                123 arch/mips/include/asm/mips-cm.h 	CPS_ACCESSOR_RO(gcr, sz, MIPS_CM_COCB_OFS + off, co_##name)
sz                125 arch/mips/include/asm/mips-cm.h #define GCR_CX_ACCESSOR_RW(sz, off, name)				\
sz                126 arch/mips/include/asm/mips-cm.h 	CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_CLCB_OFS + off, cl_##name)	\
sz                127 arch/mips/include/asm/mips-cm.h 	CPS_ACCESSOR_RW(gcr, sz, MIPS_CM_COCB_OFS + off, co_##name)
sz                 64 arch/mips/include/asm/mips-cpc.h #define CPC_ACCESSOR_RO(sz, off, name)					\
sz                 65 arch/mips/include/asm/mips-cpc.h 	CPS_ACCESSOR_RO(cpc, sz, MIPS_CPC_GCB_OFS + off, name)		\
sz                 66 arch/mips/include/asm/mips-cpc.h 	CPS_ACCESSOR_RO(cpc, sz, MIPS_CPC_COCB_OFS + off, redir_##name)
sz                 68 arch/mips/include/asm/mips-cpc.h #define CPC_ACCESSOR_RW(sz, off, name)					\
sz                 69 arch/mips/include/asm/mips-cpc.h 	CPS_ACCESSOR_RW(cpc, sz, MIPS_CPC_GCB_OFS + off, name)		\
sz                 70 arch/mips/include/asm/mips-cpc.h 	CPS_ACCESSOR_RW(cpc, sz, MIPS_CPC_COCB_OFS + off, redir_##name)
sz                 72 arch/mips/include/asm/mips-cpc.h #define CPC_CX_ACCESSOR_RO(sz, off, name)				\
sz                 73 arch/mips/include/asm/mips-cpc.h 	CPS_ACCESSOR_RO(cpc, sz, MIPS_CPC_CLCB_OFS + off, cl_##name)	\
sz                 74 arch/mips/include/asm/mips-cpc.h 	CPS_ACCESSOR_RO(cpc, sz, MIPS_CPC_COCB_OFS + off, co_##name)
sz                 76 arch/mips/include/asm/mips-cpc.h #define CPC_CX_ACCESSOR_RW(sz, off, name)				\
sz                 77 arch/mips/include/asm/mips-cpc.h 	CPS_ACCESSOR_RW(cpc, sz, MIPS_CPC_CLCB_OFS + off, cl_##name)	\
sz                 78 arch/mips/include/asm/mips-cpc.h 	CPS_ACCESSOR_RW(cpc, sz, MIPS_CPC_COCB_OFS + off, co_##name)
sz                 22 arch/mips/include/asm/mips-cps.h #define CPS_ACCESSOR_R(unit, sz, name)					\
sz                 23 arch/mips/include/asm/mips-cps.h static inline uint##sz##_t read_##unit##_##name(void)			\
sz                 27 arch/mips/include/asm/mips-cps.h 	switch (sz) {							\
sz                 45 arch/mips/include/asm/mips-cps.h #define CPS_ACCESSOR_W(unit, sz, name)					\
sz                 46 arch/mips/include/asm/mips-cps.h static inline void write_##unit##_##name(uint##sz##_t val)		\
sz                 48 arch/mips/include/asm/mips-cps.h 	switch (sz) {							\
sz                 70 arch/mips/include/asm/mips-cps.h #define CPS_ACCESSOR_M(unit, sz, name)					\
sz                 71 arch/mips/include/asm/mips-cps.h static inline void change_##unit##_##name(uint##sz##_t mask,		\
sz                 72 arch/mips/include/asm/mips-cps.h 					  uint##sz##_t val)		\
sz                 74 arch/mips/include/asm/mips-cps.h 	uint##sz##_t reg_val = read_##unit##_##name();			\
sz                 80 arch/mips/include/asm/mips-cps.h static inline void set_##unit##_##name(uint##sz##_t val)		\
sz                 85 arch/mips/include/asm/mips-cps.h static inline void clear_##unit##_##name(uint##sz##_t val)		\
sz                 90 arch/mips/include/asm/mips-cps.h #define CPS_ACCESSOR_RO(unit, sz, off, name)				\
sz                 92 arch/mips/include/asm/mips-cps.h 	CPS_ACCESSOR_R(unit, sz, name)
sz                 94 arch/mips/include/asm/mips-cps.h #define CPS_ACCESSOR_WO(unit, sz, off, name)				\
sz                 96 arch/mips/include/asm/mips-cps.h 	CPS_ACCESSOR_W(unit, sz, name)
sz                 98 arch/mips/include/asm/mips-cps.h #define CPS_ACCESSOR_RW(unit, sz, off, name)				\
sz                100 arch/mips/include/asm/mips-cps.h 	CPS_ACCESSOR_R(unit, sz, name)					\
sz                101 arch/mips/include/asm/mips-cps.h 	CPS_ACCESSOR_W(unit, sz, name)					\
sz                102 arch/mips/include/asm/mips-cps.h 	CPS_ACCESSOR_M(unit, sz, name)
sz                 30 arch/mips/include/asm/mips-gic.h #define GIC_ACCESSOR_RO(sz, off, name)					\
sz                 31 arch/mips/include/asm/mips-gic.h 	CPS_ACCESSOR_RO(gic, sz, MIPS_GIC_SHARED_OFS + off, name)
sz                 34 arch/mips/include/asm/mips-gic.h #define GIC_ACCESSOR_RW(sz, off, name)					\
sz                 35 arch/mips/include/asm/mips-gic.h 	CPS_ACCESSOR_RW(gic, sz, MIPS_GIC_SHARED_OFS + off, name)
sz                 38 arch/mips/include/asm/mips-gic.h #define GIC_VX_ACCESSOR_RO(sz, off, name)				\
sz                 39 arch/mips/include/asm/mips-gic.h 	CPS_ACCESSOR_RO(gic, sz, MIPS_GIC_LOCAL_OFS + off, vl_##name)	\
sz                 40 arch/mips/include/asm/mips-gic.h 	CPS_ACCESSOR_RO(gic, sz, MIPS_GIC_REDIR_OFS + off, vo_##name)
sz                 43 arch/mips/include/asm/mips-gic.h #define GIC_VX_ACCESSOR_RW(sz, off, name)				\
sz                 44 arch/mips/include/asm/mips-gic.h 	CPS_ACCESSOR_RW(gic, sz, MIPS_GIC_LOCAL_OFS + off, vl_##name)	\
sz                 45 arch/mips/include/asm/mips-gic.h 	CPS_ACCESSOR_RW(gic, sz, MIPS_GIC_REDIR_OFS + off, vo_##name)
sz                 48 arch/mips/include/asm/mips-gic.h #define GIC_ACCESSOR_RO_INTR_REG(sz, off, stride, name)			\
sz                 56 arch/mips/include/asm/mips-gic.h 	BUILD_BUG_ON(sz != 32);						\
sz                 61 arch/mips/include/asm/mips-gic.h #define GIC_ACCESSOR_RW_INTR_REG(sz, off, stride, name)			\
sz                 62 arch/mips/include/asm/mips-gic.h 	GIC_ACCESSOR_RO_INTR_REG(sz, off, stride, name)			\
sz                 67 arch/mips/include/asm/mips-gic.h 	BUILD_BUG_ON(sz != 32);						\
sz                 72 arch/mips/include/asm/mips-gic.h #define GIC_VX_ACCESSOR_RO_INTR_REG(sz, off, stride, name)		\
sz                 73 arch/mips/include/asm/mips-gic.h 	GIC_ACCESSOR_RO_INTR_REG(sz, MIPS_GIC_LOCAL_OFS + off,		\
sz                 75 arch/mips/include/asm/mips-gic.h 	GIC_ACCESSOR_RO_INTR_REG(sz, MIPS_GIC_REDIR_OFS + off,		\
sz                 79 arch/mips/include/asm/mips-gic.h #define GIC_VX_ACCESSOR_RW_INTR_REG(sz, off, stride, name)		\
sz                 80 arch/mips/include/asm/mips-gic.h 	GIC_ACCESSOR_RW_INTR_REG(sz, MIPS_GIC_LOCAL_OFS + off,		\
sz                 82 arch/mips/include/asm/mips-gic.h 	GIC_ACCESSOR_RW_INTR_REG(sz, MIPS_GIC_REDIR_OFS + off,		\
sz                150 arch/mips/include/asm/mips-gic.h #define GIC_VX_ACCESSOR_RO_INTR_BIT(sz, off, name)			\
sz                151 arch/mips/include/asm/mips-gic.h 	GIC_ACCESSOR_RO_INTR_BIT(sz, MIPS_GIC_LOCAL_OFS + off,		\
sz                153 arch/mips/include/asm/mips-gic.h 	GIC_ACCESSOR_RO_INTR_BIT(sz, MIPS_GIC_REDIR_OFS + off,		\
sz                157 arch/mips/include/asm/mips-gic.h #define GIC_VX_ACCESSOR_RW_INTR_BIT(sz, off, name)			\
sz                158 arch/mips/include/asm/mips-gic.h 	GIC_ACCESSOR_RW_INTR_BIT(sz, MIPS_GIC_LOCAL_OFS + off,		\
sz                160 arch/mips/include/asm/mips-gic.h 	GIC_ACCESSOR_RW_INTR_BIT(sz, MIPS_GIC_REDIR_OFS + off,		\
sz                268 arch/mips/kernel/signal.c 	int sz;
sz                270 arch/mips/kernel/signal.c 	sz = save_msa_extcontext(buf);
sz                271 arch/mips/kernel/signal.c 	if (sz < 0)
sz                272 arch/mips/kernel/signal.c 		return sz;
sz                273 arch/mips/kernel/signal.c 	buf += sz;
sz                276 arch/mips/kernel/signal.c 	if (!sz)
sz                283 arch/mips/kernel/signal.c 	sz += sizeof(((struct extcontext *)NULL)->magic);
sz                284 arch/mips/kernel/signal.c 	return sz;
sz                477 arch/mips/kernel/signal.c 	size_t sz = 0;
sz                488 arch/mips/kernel/signal.c 		sz += sizeof(struct msa_extcontext);
sz                491 arch/mips/kernel/signal.c 	if (sz)
sz                492 arch/mips/kernel/signal.c 		sz += sizeof(((struct extcontext *)NULL)->magic);
sz                494 arch/mips/kernel/signal.c 	return sz;
sz                 25 arch/mips/mm/hugetlbpage.c 		      unsigned long sz)
sz                 40 arch/mips/mm/hugetlbpage.c 		       unsigned long sz)
sz                140 arch/parisc/include/asm/io.h #define ioremap_nocache(off, sz)	ioremap((off), (sz))
sz                129 arch/parisc/kernel/module.c #define mask(x,sz)		((x) & ~((1<<(sz))-1))
sz                 49 arch/parisc/mm/hugetlbpage.c 			unsigned long addr, unsigned long sz)
sz                 74 arch/parisc/mm/hugetlbpage.c 		       unsigned long addr, unsigned long sz)
sz                171 arch/powerpc/include/asm/opal.h 		       uint32_t addr, uint32_t data, uint32_t sz);
sz                173 arch/powerpc/include/asm/opal.h 		      uint32_t addr, __be32 *data, uint32_t sz);
sz                 58 arch/powerpc/include/asm/string.h extern int memcpy_mcsafe(void *dst, const void *src, __kernel_size_t sz);
sz                177 arch/powerpc/kernel/dma-iommu.c 		size_t sz, enum dma_data_direction dir)
sz                180 arch/powerpc/kernel/dma-iommu.c 		dma_direct_sync_single_for_device(dev, addr, sz, dir);
sz                685 arch/powerpc/kernel/iommu.c 	unsigned long sz;
sz                694 arch/powerpc/kernel/iommu.c 	sz = BITS_TO_LONGS(tbl->it_size) * sizeof(unsigned long);
sz                696 arch/powerpc/kernel/iommu.c 	page = alloc_pages_node(nid, GFP_KERNEL, get_order(sz));
sz                698 arch/powerpc/kernel/iommu.c 		panic("iommu_init_table: Can't allocate %ld bytes\n", sz);
sz                700 arch/powerpc/kernel/iommu.c 	memset(tbl->it_map, 0, sz);
sz               1045 arch/powerpc/kernel/iommu.c 	unsigned long flags, i, sz = (tbl->it_size + 7) >> 3;
sz               1071 arch/powerpc/kernel/iommu.c 		memset(tbl->it_map, 0xff, sz);
sz               1084 arch/powerpc/kernel/iommu.c 	unsigned long flags, i, sz = (tbl->it_size + 7) >> 3;
sz               1090 arch/powerpc/kernel/iommu.c 	memset(tbl->it_map, 0, sz);
sz                 35 arch/powerpc/mm/hugetlbpage.c pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr, unsigned long sz)
sz                119 arch/powerpc/mm/hugetlbpage.c pte_t *huge_pte_alloc(struct mm_struct *mm, unsigned long addr, unsigned long sz)
sz                125 arch/powerpc/mm/hugetlbpage.c 	unsigned pshift = __ffs(sz);
sz                129 arch/powerpc/mm/hugetlbpage.c 	addr &= ~(sz-1);
sz                594 arch/powerpc/mm/numa.c 	unsigned long base, size, sz;
sz                628 arch/powerpc/mm/numa.c 		sz = numa_enforce_memory_limit(base, size);
sz                629 arch/powerpc/mm/numa.c 		if (sz)
sz                630 arch/powerpc/mm/numa.c 			memblock_set_node(base, sz, &memblock.memory, nid);
sz                 42 arch/powerpc/platforms/cell/spufs/coredump.c 	int i, sz, total = 0;
sz                 48 arch/powerpc/platforms/cell/spufs/coredump.c 		sz = spufs_coredump_read[i].size;
sz                 54 arch/powerpc/platforms/cell/spufs/coredump.c 		total += roundup(sz, 4);
sz                122 arch/powerpc/platforms/cell/spufs/coredump.c 	int sz, rc, total = 0;
sz                134 arch/powerpc/platforms/cell/spufs/coredump.c 	sz = spufs_coredump_read[i].size;
sz                138 arch/powerpc/platforms/cell/spufs/coredump.c 	en.n_descsz = sz;
sz                157 arch/powerpc/platforms/cell/spufs/coredump.c 	} while (rc == bufsz && total < sz);
sz                162 arch/powerpc/platforms/cell/spufs/coredump.c 	skip = roundup(cprm->pos - total + sz, 4) - cprm->pos;
sz                780 arch/powerpc/platforms/powermac/low_i2c.c 	int channel, sz;
sz                801 arch/powerpc/platforms/powermac/low_i2c.c 		sz = sizeof(struct pmac_i2c_bus) + sizeof(struct adb_request);
sz                802 arch/powerpc/platforms/powermac/low_i2c.c 		bus = kzalloc(sz, GFP_KERNEL);
sz                899 arch/powerpc/platforms/powermac/low_i2c.c 	int sz;
sz                924 arch/powerpc/platforms/powermac/low_i2c.c 		sz = sizeof(struct pmac_i2c_bus) + sizeof(struct smu_i2c_cmd);
sz                925 arch/powerpc/platforms/powermac/low_i2c.c 		bus = kzalloc(sz, GFP_KERNEL);
sz                197 arch/powerpc/sysdev/fsl_pci.c 	u64 mem, sz, paddr_hi = 0;
sz                344 arch/powerpc/sysdev/fsl_pci.c 	sz = min(mem, paddr_lo);
sz                345 arch/powerpc/sysdev/fsl_pci.c 	mem_log = ilog2(sz);
sz                368 arch/powerpc/sysdev/fsl_pci.c 		hose->dma_window_size = (resource_size_t)sz;
sz                375 arch/powerpc/sysdev/fsl_pci.c 		if (sz != mem) {
sz                416 arch/powerpc/sysdev/fsl_pci.c 		sz -= 1ull << mem_log;
sz                418 arch/powerpc/sysdev/fsl_pci.c 		if (sz) {
sz                419 arch/powerpc/sysdev/fsl_pci.c 			mem_log = ilog2(sz);
sz                201 arch/riscv/mm/init.c 				      phys_addr_t sz, pgprot_t prot)
sz                205 arch/riscv/mm/init.c 	BUG_ON(sz != PAGE_SIZE);
sz                247 arch/riscv/mm/init.c 				      phys_addr_t sz, pgprot_t prot)
sz                253 arch/riscv/mm/init.c 	if (sz == PMD_SIZE) {
sz                269 arch/riscv/mm/init.c 	create_pte_mapping(ptep, va, pa, sz, prot);
sz                291 arch/riscv/mm/init.c 				      phys_addr_t sz, pgprot_t prot)
sz                297 arch/riscv/mm/init.c 	if (sz == PGDIR_SIZE) {
sz                313 arch/riscv/mm/init.c 	create_pgd_next_mapping(nextp, va, pa, sz, prot);
sz                 51 arch/s390/include/asm/hugetlb.h 				  pte_t *ptep, unsigned long sz)
sz                402 arch/s390/kernel/perf_cpum_cf_diag.c static size_t cf_diag_getctr(void *data, size_t sz, unsigned long auth)
sz                408 arch/s390/kernel/perf_cpum_cf_diag.c 	memset(data, 0, sz);
sz                409 arch/s390/kernel/perf_cpum_cf_diag.c 	sz -= sizeof(*trailer);			/* Always room for trailer */
sz                416 arch/s390/kernel/perf_cpum_cf_diag.c 		done = cf_diag_getctrset(ctrdata, i, sz - offset);
sz                193 arch/s390/mm/hugetlbpage.c 			unsigned long addr, unsigned long sz)
sz                205 arch/s390/mm/hugetlbpage.c 			if (sz == PUD_SIZE)
sz                207 arch/s390/mm/hugetlbpage.c 			else if (sz == PMD_SIZE)
sz                215 arch/s390/mm/hugetlbpage.c 		       unsigned long addr, unsigned long sz)
sz                553 arch/s390/mm/pgalloc.c 	unsigned long sz = _PAGE_TABLE_SIZE;
sz                559 arch/s390/mm/pgalloc.c 		base_pgt_cache = kmem_cache_create("base_pgt", sz, sz, 0, NULL);
sz                 26 arch/sh/mm/hugetlbpage.c 			unsigned long addr, unsigned long sz)
sz                 47 arch/sh/mm/hugetlbpage.c 		       unsigned long addr, unsigned long sz)
sz                 97 arch/sh/mm/tlb-debugfs.c 		const char *sz = "    ?";
sz                123 arch/sh/mm/tlb-debugfs.c 			sz = tlb_sizes[i].size;
sz                127 arch/sh/mm/tlb-debugfs.c 			   sz, valid ? "V" : "-",
sz                 10 arch/sparc/include/asm/io_32.h #define memset_io(d,c,sz)     _memset_io(d,c,sz)
sz                 11 arch/sparc/include/asm/io_32.h #define memcpy_fromio(d,s,sz) _memcpy_fromio(d,s,sz)
sz                 12 arch/sparc/include/asm/io_32.h #define memcpy_toio(d,s,sz)   _memcpy_toio(d,s,sz)
sz                 33 arch/sparc/include/asm/openprom.h 	char * (*v2_dumb_mem_alloc)(char *va, unsigned int sz);
sz                 34 arch/sparc/include/asm/openprom.h 	void (*v2_dumb_mem_free)(char *va, unsigned int sz);
sz                 37 arch/sparc/include/asm/openprom.h 	char * (*v2_dumb_mmap)(char *virta, int which_io, unsigned int paddr, unsigned int sz);
sz                 97 arch/sparc/kernel/iommu.c 	unsigned long i, order, sz, num_tsb_entries;
sz                109 arch/sparc/kernel/iommu.c 	sz = num_tsb_entries / 8;
sz                110 arch/sparc/kernel/iommu.c 	sz = (sz + 7UL) & ~7UL;
sz                111 arch/sparc/kernel/iommu.c 	iommu->tbl.map = kzalloc_node(sz, GFP_KERNEL, numa_node);
sz                264 arch/sparc/kernel/iommu.c 				  unsigned long offset, size_t sz,
sz                283 arch/sparc/kernel/iommu.c 	npages = IO_PAGE_ALIGN(oaddr + sz) - (oaddr & IO_PAGE_MASK);
sz                387 arch/sparc/kernel/iommu.c 			      size_t sz, enum dma_data_direction direction,
sz                404 arch/sparc/kernel/iommu.c 	npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK);
sz                661 arch/sparc/kernel/iommu.c 				       dma_addr_t bus_addr, size_t sz,
sz                676 arch/sparc/kernel/iommu.c 	npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK);
sz                 66 arch/sparc/kernel/ioport.c static void __iomem *_sparc_ioremap(struct resource *res, u32 bus, u32 pa, int sz);
sz                216 arch/sparc/kernel/ioport.c _sparc_ioremap(struct resource *res, u32 bus, u32 pa, int sz)
sz                221 arch/sparc/kernel/ioport.c 	    (offset + sz + PAGE_SIZE-1) & PAGE_MASK,
sz               1043 arch/sparc/kernel/ldc.c 	unsigned long sz, num_tsb_entries, tsbsize, order;
sz               1054 arch/sparc/kernel/ldc.c 	sz = num_tsb_entries / 8;
sz               1055 arch/sparc/kernel/ldc.c 	sz = (sz + 7UL) & ~7UL;
sz               1056 arch/sparc/kernel/ldc.c 	iommu->map = kzalloc(sz, GFP_KERNEL);
sz               1058 arch/sparc/kernel/ldc.c 		printk(KERN_ERR PFX "Alloc of arena map failed, sz=%lu\n", sz);
sz                354 arch/sparc/kernel/pci_sun4v.c 				  unsigned long offset, size_t sz,
sz                375 arch/sparc/kernel/pci_sun4v.c 	npages = IO_PAGE_ALIGN(oaddr + sz) - (oaddr & IO_PAGE_MASK);
sz                428 arch/sparc/kernel/pci_sun4v.c 			      size_t sz, enum dma_data_direction direction,
sz                451 arch/sparc/kernel/pci_sun4v.c 	npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK);
sz                871 arch/sparc/kernel/pci_sun4v.c 	unsigned long num_tsb_entries, sz;
sz                897 arch/sparc/kernel/pci_sun4v.c 	sz = (num_tsb_entries + 7) / 8;
sz                898 arch/sparc/kernel/pci_sun4v.c 	sz = (sz + 7UL) & ~7UL;
sz                899 arch/sparc/kernel/pci_sun4v.c 	iommu->tbl.map = kzalloc(sz, GFP_KERNEL);
sz                908 arch/sparc/kernel/pci_sun4v.c 	sz = probe_existing_entries(pbm, &iommu->tbl);
sz                909 arch/sparc/kernel/pci_sun4v.c 	if (sz)
sz                911 arch/sparc/kernel/pci_sun4v.c 		       pbm->name, sz);
sz                857 arch/sparc/kernel/traps_64.c 	int i, sz;
sz                901 arch/sparc/kernel/traps_64.c 	sz = NR_CPUS * (2 * sizeof(struct cheetah_err_info));
sz                903 arch/sparc/kernel/traps_64.c 		if ((PAGE_SIZE << order) >= sz)
sz                910 arch/sparc/kernel/traps_64.c 			    "error logging scoreboard (%d bytes).\n", sz);
sz                277 arch/sparc/mm/hugetlbpage.c 			unsigned long addr, unsigned long sz)
sz                287 arch/sparc/mm/hugetlbpage.c 	if (sz >= PUD_SIZE)
sz                292 arch/sparc/mm/hugetlbpage.c 	if (sz >= PMD_SIZE)
sz                298 arch/sparc/mm/hugetlbpage.c 		       unsigned long addr, unsigned long sz)
sz               2776 arch/sparc/mm/init_64.c unsigned long pte_sz_bits(unsigned long sz)
sz               2779 arch/sparc/mm/init_64.c 		switch (sz) {
sz               2791 arch/sparc/mm/init_64.c 		switch (sz) {
sz                361 arch/sparc/net/bpf_jit_comp_32.c 				unsigned int sz = BASE_STACKFRAME;
sz                362 arch/sparc/net/bpf_jit_comp_32.c 				sz += BPF_MEMWORDS * sizeof(u32);
sz                363 arch/sparc/net/bpf_jit_comp_32.c 				emit_alloc_stack(sz);
sz                503 arch/sparc/net/bpf_jit_comp_32.c 						unsigned int sz = BASE_STACKFRAME;
sz                504 arch/sparc/net/bpf_jit_comp_32.c 						sz += BPF_MEMWORDS * sizeof(u32);
sz                505 arch/sparc/net/bpf_jit_comp_32.c 						emit_release_stack(sz);
sz                139 arch/unicore32/kernel/pci.c 	unsigned int sz = SZ_128M >> PAGE_SHIFT;
sz                144 arch/unicore32/kernel/pci.c 	if (zone_size[0] <= sz)
sz                147 arch/unicore32/kernel/pci.c 	zone_size[1] = zone_size[0] - sz;
sz                148 arch/unicore32/kernel/pci.c 	zone_size[0] = sz;
sz                334 arch/x86/boot/tools/build.c 	unsigned int i, sz, setup_sectors, init_sz;
sz                388 arch/x86/boot/tools/build.c 	sz = sb.st_size;
sz                389 arch/x86/boot/tools/build.c 	printf("System is %d kB\n", (sz+1023)/1024);
sz                390 arch/x86/boot/tools/build.c 	kernel = mmap(NULL, sz, PROT_READ, MAP_SHARED, fd, 0);
sz                394 arch/x86/boot/tools/build.c 	sys_size = (sz + 15 + 4) / 16;
sz                418 arch/x86/boot/tools/build.c 	crc = partial_crc32(kernel, sz, crc);
sz                419 arch/x86/boot/tools/build.c 	if (fwrite(kernel, 1, sz, dest) != sz)
sz                423 arch/x86/boot/tools/build.c 	while (sz++ < (sys_size*16) - 4) {
sz               3659 arch/x86/events/intel/core.c 		size_t sz = X86_PMC_IDX_MAX * sizeof(struct event_constraint);
sz               3661 arch/x86/events/intel/core.c 		cpuc->constraint_list = kzalloc_node(sz, GFP_KERNEL, cpu_to_node(cpu));
sz                947 arch/x86/events/intel/ds.c 	int sz = sizeof(struct pebs_basic);
sz                950 arch/x86/events/intel/ds.c 		sz += sizeof(struct pebs_meminfo);
sz                952 arch/x86/events/intel/ds.c 		sz += sizeof(struct pebs_gprs);
sz                954 arch/x86/events/intel/ds.c 		sz += sizeof(struct pebs_xmm);
sz                956 arch/x86/events/intel/ds.c 		sz += x86_pmu.lbr_nr * sizeof(struct pebs_lbr_entry);
sz                958 arch/x86/events/intel/ds.c 	cpuc->pebs_record_size = sz;
sz                107 arch/x86/include/asm/setup.h #define RESERVE_BRK(name,sz)						\
sz                116 arch/x86/include/asm/setup.h 			: : "i" (sz));					\
sz                136 arch/x86/include/asm/setup.h #define RESERVE_BRK(name,sz)				\
sz                139 arch/x86/include/asm/setup.h 1:	.skip sz;					\
sz                246 arch/x86/kernel/crash.c 					unsigned long *sz)
sz                269 arch/x86/kernel/crash.c 				IS_ENABLED(CONFIG_X86_64), addr, sz);
sz                524 arch/x86/kernel/fpu/xstate.c #define XCHECK_SZ(sz, nr, nr_macro, __struct) do {			\
sz                526 arch/x86/kernel/fpu/xstate.c 	    WARN_ONCE(sz != sizeof(__struct),				\
sz                528 arch/x86/kernel/fpu/xstate.c 		__stringify(nr_macro), sizeof(__struct), sz)) {		\
sz                543 arch/x86/kernel/fpu/xstate.c 	int sz = xfeature_size(nr);
sz                548 arch/x86/kernel/fpu/xstate.c 	XCHECK_SZ(sz, nr, XFEATURE_YMM,       struct ymmh_struct);
sz                549 arch/x86/kernel/fpu/xstate.c 	XCHECK_SZ(sz, nr, XFEATURE_BNDREGS,   struct mpx_bndreg_state);
sz                550 arch/x86/kernel/fpu/xstate.c 	XCHECK_SZ(sz, nr, XFEATURE_BNDCSR,    struct mpx_bndcsr_state);
sz                551 arch/x86/kernel/fpu/xstate.c 	XCHECK_SZ(sz, nr, XFEATURE_OPMASK,    struct avx_512_opmask_state);
sz                552 arch/x86/kernel/fpu/xstate.c 	XCHECK_SZ(sz, nr, XFEATURE_ZMM_Hi256, struct avx_512_zmm_uppers_state);
sz                553 arch/x86/kernel/fpu/xstate.c 	XCHECK_SZ(sz, nr, XFEATURE_Hi16_ZMM,  struct avx_512_hi16_state);
sz                554 arch/x86/kernel/fpu/xstate.c 	XCHECK_SZ(sz, nr, XFEATURE_PKRU,      struct pkru_state);
sz               6736 arch/x86/kvm/svm.c 			     unsigned long dst_paddr, int sz, int *err)
sz               6746 arch/x86/kvm/svm.c 	sz = round_up(sz + offset, 16);
sz               6748 arch/x86/kvm/svm.c 	return __sev_issue_dbg_cmd(kvm, src_paddr, dst_paddr, sz, err, false);
sz                510 arch/x86/platform/efi/quirks.c 	int i, sz, ret = 0;
sz                532 arch/x86/platform/efi/quirks.c 	sz = sizeof(efi_config_table_64_t);
sz                534 arch/x86/platform/efi/quirks.c 	p = tablep = early_memremap(tables, nr_tables * sz);
sz                548 arch/x86/platform/efi/quirks.c 		p += sz;
sz                550 arch/x86/platform/efi/quirks.c 	early_memunmap(tablep, nr_tables * sz);
sz               2012 arch/x86/platform/uv/tlb_uv.c 	int sz = sizeof(cpumask_t);
sz               2014 arch/x86/platform/uv/tlb_uv.c 	hmaster->cpumask = kzalloc_node(sz, GFP_KERNEL, hmaster->osnode);
sz                 61 arch/xtensa/include/asm/cacheflush.h static inline void __flush_dcache_range(unsigned long va, unsigned long sz)
sz                 29 arch/xtensa/kernel/jump_label.c 	size_t sz;
sz                 33 arch/xtensa/kernel/jump_label.c static void local_patch_text(unsigned long addr, const void *data, size_t sz)
sz                 35 arch/xtensa/kernel/jump_label.c 	memcpy((void *)addr, data, sz);
sz                 36 arch/xtensa/kernel/jump_label.c 	local_flush_icache_range(addr, addr + sz);
sz                 44 arch/xtensa/kernel/jump_label.c 		local_patch_text(patch->addr, patch->data, patch->sz);
sz                 49 arch/xtensa/kernel/jump_label.c 		__invalidate_icache_range(patch->addr, patch->sz);
sz                 54 arch/xtensa/kernel/jump_label.c static void patch_text(unsigned long addr, const void *data, size_t sz)
sz                 60 arch/xtensa/kernel/jump_label.c 			.sz = sz,
sz                 69 arch/xtensa/kernel/jump_label.c 		local_patch_text(addr, data, sz);
sz                 36 arch/xtensa/kernel/pci-dma.c 			size_t sz = min_t(size_t, size, PAGE_SIZE - off);
sz                 39 arch/xtensa/kernel/pci-dma.c 			fn((unsigned long)vaddr + off, sz);
sz                 43 arch/xtensa/kernel/pci-dma.c 			size -= sz;
sz                 64 block/bio.c    	unsigned int sz = sizeof(struct bio) + extra_size;
sz                 78 block/bio.c    		else if (bslab->slab_size == sz) {
sz                105 block/bio.c    	slab = kmem_cache_create(bslab->name, sz, ARCH_KMALLOC_MINALIGN,
sz                112 block/bio.c    	bslab->slab_size = sz;
sz                275 block/blk-lib.c 	unsigned int sz;
sz                291 block/blk-lib.c 			sz = min((sector_t) PAGE_SIZE, nr_sects << 9);
sz                292 block/blk-lib.c 			bi_size = bio_add_page(bio, ZERO_PAGE(0), sz, 0);
sz                295 block/blk-lib.c 			if (bi_size < sz)
sz                203 block/bsg-lib.c 	size_t sz = (sizeof(struct scatterlist) * req->nr_phys_segments);
sz                207 block/bsg-lib.c 	buf->sg_list = kzalloc(sz, GFP_KERNEL);
sz                176 block/partitions/efi.c 	uint32_t sz = 0;
sz                217 block/partitions/efi.c 		sz = le32_to_cpu(mbr->partition_record[part].size_in_lba);
sz                218 block/partitions/efi.c 		if (sz != (uint32_t) total_sectors - 1 && sz != 0xFFFFFFFF)
sz                220 block/partitions/efi.c 				 sz, min_t(uint32_t,
sz                835 crypto/asymmetric_keys/asym_tpm.c 	uint32_t sz;
sz                864 crypto/asymmetric_keys/asym_tpm.c 	sz = get_unaligned_be32(cur + 8);
sz                865 crypto/asymmetric_keys/asym_tpm.c 	if (len < sz + 12)
sz                886 crypto/asymmetric_keys/asym_tpm.c 	cur += sz;
sz                887 crypto/asymmetric_keys/asym_tpm.c 	len -= sz;
sz                892 crypto/asymmetric_keys/asym_tpm.c 	sz = get_unaligned_be32(cur);
sz                893 crypto/asymmetric_keys/asym_tpm.c 	if (len < 4 + sz)
sz                897 crypto/asymmetric_keys/asym_tpm.c 	cur += 4 + sz;
sz                898 crypto/asymmetric_keys/asym_tpm.c 	len -= 4 + sz;
sz                901 crypto/asymmetric_keys/asym_tpm.c 	sz = get_unaligned_be32(cur);
sz                902 crypto/asymmetric_keys/asym_tpm.c 	if (sz > 256)
sz                909 crypto/asymmetric_keys/asym_tpm.c 	tk->pub_key_len = sz;
sz                 15 crypto/ecdh_helper.c static inline u8 *ecdh_pack_data(void *dst, const void *src, size_t sz)
sz                 17 crypto/ecdh_helper.c 	memcpy(dst, src, sz);
sz                 18 crypto/ecdh_helper.c 	return dst + sz;
sz                 21 crypto/ecdh_helper.c static inline const u8 *ecdh_unpack_data(void *dst, const void *src, size_t sz)
sz                 23 crypto/ecdh_helper.c 	memcpy(dst, src, sz);
sz                 24 crypto/ecdh_helper.c 	return src + sz;
sz               3373 drivers/acpi/nfit/core.c int acpi_nfit_init(struct acpi_nfit_desc *acpi_desc, void *data, acpi_size sz)
sz               3425 drivers/acpi/nfit/core.c 	end = data + sz;
sz               3621 drivers/acpi/nfit/core.c 	acpi_size sz;
sz               3640 drivers/acpi/nfit/core.c 	sz = tbl->length;
sz               3666 drivers/acpi/nfit/core.c 				sz - sizeof(struct acpi_table_nfit));
sz                341 drivers/acpi/nfit/nfit.h int acpi_nfit_init(struct acpi_nfit_desc *acpi_desc, void *nfit, acpi_size sz);
sz                109 drivers/acpi/sbshc.c 	u8 temp, sz = 0;
sz                142 drivers/acpi/sbshc.c 		sz = 1;
sz                145 drivers/acpi/sbshc.c 		sz = 2;
sz                148 drivers/acpi/sbshc.c 		if (smb_hc_read(hc, ACPI_SMB_BLOCK_COUNT, &sz)) {
sz                152 drivers/acpi/sbshc.c 		sz &= 0x1f;
sz                155 drivers/acpi/sbshc.c 	for (i = 0; i < sz; ++i)
sz               6127 drivers/ata/libata-core.c 	size_t sz;
sz               6134 drivers/ata/libata-core.c 	sz = sizeof(struct ata_host) + (max_ports + 1) * sizeof(void *);
sz               6135 drivers/ata/libata-core.c 	host = kzalloc(sz, GFP_KERNEL);
sz               1396 drivers/atm/firestream.c 	int sz = nentries * sizeof (struct FS_QENTRY);
sz               1404 drivers/atm/firestream.c 	p = aligned_kmalloc (sz, GFP_KERNEL, 0x10);
sz               1405 drivers/atm/firestream.c 	fs_dprintk (FS_DEBUG_ALLOC, "Alloc queue: %p(%d)\n", p, sz);
sz                132 drivers/block/cryptoloop.c 		const int sz = min(size, LOOP_IV_SECTOR_SIZE);
sz                136 drivers/block/cryptoloop.c 		sg_set_page(&sg_in, in_page, sz, in_offs);
sz                137 drivers/block/cryptoloop.c 		sg_set_page(&sg_out, out_page, sz, out_offs);
sz                139 drivers/block/cryptoloop.c 		skcipher_request_set_crypt(req, &sg_in, &sg_out, sz, iv);
sz                145 drivers/block/cryptoloop.c 		size -= sz;
sz                146 drivers/block/cryptoloop.c 		in_offs += sz;
sz                147 drivers/block/cryptoloop.c 		out_offs += sz;
sz                 88 drivers/block/zram/zcomp.c 	ssize_t sz = 0;
sz                 94 drivers/block/zram/zcomp.c 			sz += scnprintf(buf + sz, PAGE_SIZE - sz - 2,
sz                 97 drivers/block/zram/zcomp.c 			sz += scnprintf(buf + sz, PAGE_SIZE - sz - 2,
sz                107 drivers/block/zram/zcomp.c 		sz += scnprintf(buf + sz, PAGE_SIZE - sz - 2,
sz                110 drivers/block/zram/zcomp.c 	sz += scnprintf(buf + sz, PAGE_SIZE - sz, "\n");
sz                111 drivers/block/zram/zcomp.c 	return sz;
sz                447 drivers/block/zram/zram_drv.c 	size_t sz;
sz                470 drivers/block/zram/zram_drv.c 	sz = strlen(file_name);
sz                471 drivers/block/zram/zram_drv.c 	if (sz > 0 && file_name[sz - 1] == '\n')
sz                472 drivers/block/zram/zram_drv.c 		file_name[sz - 1] = 0x00;
sz                974 drivers/block/zram/zram_drv.c 	size_t sz;
sz                978 drivers/block/zram/zram_drv.c 	sz = zcomp_available_show(zram->compressor, buf);
sz                981 drivers/block/zram/zram_drv.c 	return sz;
sz                989 drivers/block/zram/zram_drv.c 	size_t sz;
sz                993 drivers/block/zram/zram_drv.c 	sz = strlen(compressor);
sz                994 drivers/block/zram/zram_drv.c 	if (sz > 0 && compressor[sz - 1] == '\n')
sz                995 drivers/block/zram/zram_drv.c 		compressor[sz - 1] = 0x00;
sz                 44 drivers/char/mem.c 	unsigned long sz;
sz                 46 drivers/char/mem.c 	sz = PAGE_SIZE - (start & (PAGE_SIZE - 1));
sz                 48 drivers/char/mem.c 	return min(sz, size);
sz                115 drivers/char/mem.c 	ssize_t read, sz;
sz                129 drivers/char/mem.c 		sz = size_inside_page(p, count);
sz                130 drivers/char/mem.c 		if (sz > 0) {
sz                131 drivers/char/mem.c 			if (clear_user(buf, sz))
sz                133 drivers/char/mem.c 			buf += sz;
sz                134 drivers/char/mem.c 			p += sz;
sz                135 drivers/char/mem.c 			count -= sz;
sz                136 drivers/char/mem.c 			read += sz;
sz                149 drivers/char/mem.c 		sz = size_inside_page(p, count);
sz                159 drivers/char/mem.c 			remaining = clear_user(buf, sz);
sz                170 drivers/char/mem.c 			probe = probe_kernel_read(bounce, ptr, sz);
sz                175 drivers/char/mem.c 			remaining = copy_to_user(buf, bounce, sz);
sz                181 drivers/char/mem.c 		buf += sz;
sz                182 drivers/char/mem.c 		p += sz;
sz                183 drivers/char/mem.c 		count -= sz;
sz                184 drivers/char/mem.c 		read += sz;
sz                202 drivers/char/mem.c 	ssize_t written, sz;
sz                217 drivers/char/mem.c 		sz = size_inside_page(p, count);
sz                219 drivers/char/mem.c 		buf += sz;
sz                220 drivers/char/mem.c 		p += sz;
sz                221 drivers/char/mem.c 		count -= sz;
sz                222 drivers/char/mem.c 		written += sz;
sz                229 drivers/char/mem.c 		sz = size_inside_page(p, count);
sz                249 drivers/char/mem.c 			copied = copy_from_user(ptr, buf, sz);
sz                252 drivers/char/mem.c 				written += sz - copied;
sz                259 drivers/char/mem.c 		buf += sz;
sz                260 drivers/char/mem.c 		p += sz;
sz                261 drivers/char/mem.c 		count -= sz;
sz                262 drivers/char/mem.c 		written += sz;
sz                440 drivers/char/mem.c 	ssize_t low_count, read, sz;
sz                453 drivers/char/mem.c 			sz = size_inside_page(p, low_count);
sz                454 drivers/char/mem.c 			if (clear_user(buf, sz))
sz                456 drivers/char/mem.c 			buf += sz;
sz                457 drivers/char/mem.c 			p += sz;
sz                458 drivers/char/mem.c 			read += sz;
sz                459 drivers/char/mem.c 			low_count -= sz;
sz                460 drivers/char/mem.c 			count -= sz;
sz                464 drivers/char/mem.c 			sz = size_inside_page(p, low_count);
sz                475 drivers/char/mem.c 			if (copy_to_user(buf, kbuf, sz))
sz                477 drivers/char/mem.c 			buf += sz;
sz                478 drivers/char/mem.c 			p += sz;
sz                479 drivers/char/mem.c 			read += sz;
sz                480 drivers/char/mem.c 			low_count -= sz;
sz                481 drivers/char/mem.c 			count -= sz;
sz                494 drivers/char/mem.c 			sz = size_inside_page(p, count);
sz                499 drivers/char/mem.c 			sz = vread(kbuf, (char *)p, sz);
sz                500 drivers/char/mem.c 			if (!sz)
sz                502 drivers/char/mem.c 			if (copy_to_user(buf, kbuf, sz)) {
sz                506 drivers/char/mem.c 			count -= sz;
sz                507 drivers/char/mem.c 			buf += sz;
sz                508 drivers/char/mem.c 			read += sz;
sz                509 drivers/char/mem.c 			p += sz;
sz                523 drivers/char/mem.c 	ssize_t written, sz;
sz                530 drivers/char/mem.c 		sz = size_inside_page(p, count);
sz                532 drivers/char/mem.c 		buf += sz;
sz                533 drivers/char/mem.c 		p += sz;
sz                534 drivers/char/mem.c 		count -= sz;
sz                535 drivers/char/mem.c 		written += sz;
sz                542 drivers/char/mem.c 		sz = size_inside_page(p, count);
sz                553 drivers/char/mem.c 		copied = copy_from_user(ptr, buf, sz);
sz                555 drivers/char/mem.c 			written += sz - copied;
sz                560 drivers/char/mem.c 		buf += sz;
sz                561 drivers/char/mem.c 		p += sz;
sz                562 drivers/char/mem.c 		count -= sz;
sz                563 drivers/char/mem.c 		written += sz;
sz                600 drivers/char/mem.c 			unsigned long sz = size_inside_page(p, count);
sz                607 drivers/char/mem.c 			n = copy_from_user(kbuf, buf, sz);
sz                612 drivers/char/mem.c 			vwrite(kbuf, (char *)p, sz);
sz                613 drivers/char/mem.c 			count -= sz;
sz                614 drivers/char/mem.c 			buf += sz;
sz                615 drivers/char/mem.c 			virtr += sz;
sz                616 drivers/char/mem.c 			p += sz;
sz                233 drivers/crypto/atmel-aes.c static const char *atmel_aes_reg_name(u32 offset, char *tmp, size_t sz)
sz                262 drivers/crypto/atmel-aes.c 		snprintf(tmp, sz, "KEYWR[%u]", (offset - AES_KEYWR(0)) >> 2);
sz                269 drivers/crypto/atmel-aes.c 		snprintf(tmp, sz, "IDATAR[%u]", (offset - AES_IDATAR(0)) >> 2);
sz                276 drivers/crypto/atmel-aes.c 		snprintf(tmp, sz, "ODATAR[%u]", (offset - AES_ODATAR(0)) >> 2);
sz                283 drivers/crypto/atmel-aes.c 		snprintf(tmp, sz, "IVR[%u]", (offset - AES_IVR(0)) >> 2);
sz                296 drivers/crypto/atmel-aes.c 		snprintf(tmp, sz, "GHASHR[%u]", (offset - AES_GHASHR(0)) >> 2);
sz                303 drivers/crypto/atmel-aes.c 		snprintf(tmp, sz, "TAGR[%u]", (offset - AES_TAGR(0)) >> 2);
sz                313 drivers/crypto/atmel-aes.c 		snprintf(tmp, sz, "GCMHR[%u]", (offset - AES_GCMHR(0)) >> 2);
sz                323 drivers/crypto/atmel-aes.c 		snprintf(tmp, sz, "TWR[%u]", (offset - AES_TWR(0)) >> 2);
sz                330 drivers/crypto/atmel-aes.c 		snprintf(tmp, sz, "ALPHAR[%u]", (offset - AES_ALPHAR(0)) >> 2);
sz                334 drivers/crypto/atmel-aes.c 		snprintf(tmp, sz, "0x%02x", offset);
sz                169 drivers/crypto/atmel-sha.c static const char *atmel_sha_reg_name(u32 offset, char *tmp, size_t sz, bool wr)
sz                212 drivers/crypto/atmel-sha.c 		snprintf(tmp, sz, "IDATAR[%u]", (offset - SHA_REG_DIN(0)) >> 2);
sz                232 drivers/crypto/atmel-sha.c 			snprintf(tmp, sz, "IDATAR[%u]",
sz                235 drivers/crypto/atmel-sha.c 			snprintf(tmp, sz, "ODATAR[%u]",
sz                243 drivers/crypto/atmel-sha.c 		snprintf(tmp, sz, "0x%02x", offset);
sz                 29 drivers/crypto/ccp/ccp-crypto-rsa.c 					    const u8 *buf, size_t sz)
sz                 33 drivers/crypto/ccp/ccp-crypto-rsa.c 	for (nskip = 0; nskip < sz; nskip++)
sz                 36 drivers/crypto/ccp/ccp-crypto-rsa.c 	*kplen = sz - nskip;
sz                145 drivers/crypto/hisilicon/qm.c #define QMC_ALIGN(sz)			ALIGN(sz, 32)
sz                683 drivers/crypto/qat/qat_common/qat_algs.c 	size_t sz = qat_req->buf.sz;
sz                691 drivers/crypto/qat/qat_common/qat_algs.c 	dma_unmap_single(dev, blp, sz, DMA_TO_DEVICE);
sz                720 drivers/crypto/qat/qat_common/qat_algs.c 	size_t sz_out, sz = struct_size(bufl, bufers, n + 1);
sz                725 drivers/crypto/qat/qat_common/qat_algs.c 	bufl = kzalloc_node(sz, GFP_ATOMIC,
sz                730 drivers/crypto/qat/qat_common/qat_algs.c 	blp = dma_map_single(dev, bufl, sz, DMA_TO_DEVICE);
sz                751 drivers/crypto/qat/qat_common/qat_algs.c 	qat_req->buf.sz = sz;
sz                813 drivers/crypto/qat/qat_common/qat_algs.c 		dma_unmap_single(dev, blp, sz, DMA_TO_DEVICE);
sz                 72 drivers/crypto/qat/qat_common/qat_crypto.h 	size_t sz;
sz                412 drivers/dma-buf/dma-resv.c 		size_t sz = 0;
sz                425 drivers/dma-buf/dma-resv.c 			sz += sizeof(*shared) * fobj->shared_max;
sz                428 drivers/dma-buf/dma-resv.c 			sz += sizeof(*shared);
sz                430 drivers/dma-buf/dma-resv.c 		if (sz) {
sz                433 drivers/dma-buf/dma-resv.c 			nshared = krealloc(shared, sz,
sz                441 drivers/dma-buf/dma-resv.c 				nshared = krealloc(shared, sz, GFP_KERNEL);
sz                188 drivers/dma/dw-edma/dw-edma-core.c 	desc->xfer_sz += child->ll_region.sz;
sz                382 drivers/dma/dw-edma/dw-edma-core.c 			burst->sz = xfer->xfer.cyclic.len;
sz                384 drivers/dma/dw-edma/dw-edma-core.c 			burst->sz = sg_dma_len(sg);
sz                386 drivers/dma/dw-edma/dw-edma-core.c 		chunk->ll_region.sz += burst->sz;
sz                387 drivers/dma/dw-edma/dw-edma-core.c 		desc->alloc_sz += burst->sz;
sz                639 drivers/dma/dw-edma/dw-edma-core.c 	ll_chunk = dw->ll_region.sz;
sz                640 drivers/dma/dw-edma/dw-edma-core.c 	dt_chunk = dw->dt_region.sz;
sz                713 drivers/dma/dw-edma/dw-edma-core.c 		dt_region->sz = dt_chunk;
sz                 48 drivers/dma/dw-edma/dw-edma-core.h 	u32				sz;
sz                 54 drivers/dma/dw-edma/dw-edma-core.h 	size_t				sz;
sz                137 drivers/dma/dw-edma/dw-edma-pcie.c 	dw->rg_region.sz = pdata->rg_sz;
sz                143 drivers/dma/dw-edma/dw-edma-pcie.c 	dw->ll_region.sz = pdata->ll_sz;
sz                149 drivers/dma/dw-edma/dw-edma-pcie.c 	dw->dt_region.sz = pdata->dt_sz;
sz                214 drivers/dma/dw-edma/dw-edma-v0-core.c 		SET_LL(&lli[i].transfer_size, child->sz);
sz                119 drivers/dma/qcom/hidma_dbg.c 	resource_size_t sz;
sz                124 drivers/dma/qcom/hidma_dbg.c 	sz = resource_size(dmadev->trca_resource);
sz                125 drivers/dma/qcom/hidma_dbg.c 	seq_printf(s, "dev_trca_size=%pa\n", &sz);
sz                128 drivers/dma/qcom/hidma_dbg.c 	sz = resource_size(dmadev->evca_resource);
sz                129 drivers/dma/qcom/hidma_dbg.c 	seq_printf(s, "dev_evca_size=%pa\n", &sz);
sz                716 drivers/dma/qcom/hidma_ll.c 	size_t sz;
sz                735 drivers/dma/qcom/hidma_ll.c 	sz = sizeof(struct hidma_tre);
sz                736 drivers/dma/qcom/hidma_ll.c 	lldev->trepool = devm_kcalloc(lldev->dev, nr_tres, sz, GFP_KERNEL);
sz                746 drivers/dma/qcom/hidma_ll.c 	sz = (HIDMA_TRE_SIZE + 1) * nr_tres;
sz                747 drivers/dma/qcom/hidma_ll.c 	lldev->tre_ring = dmam_alloc_coherent(dev, sz, &lldev->tre_dma,
sz                765 drivers/dma/qcom/hidma_ll.c 	sz = (HIDMA_EVRE_SIZE + 1) * nr_tres;
sz                766 drivers/dma/qcom/hidma_ll.c 	lldev->evre_ring = dmam_alloc_coherent(dev, sz, &lldev->evre_dma,
sz                785 drivers/dma/qcom/hidma_ll.c 	sz = nr_tres * sizeof(struct hidma_tre *);
sz                786 drivers/dma/qcom/hidma_ll.c 	rc = kfifo_alloc(&lldev->handoff_fifo, sz, GFP_KERNEL);
sz                328 drivers/dma/ti/dma-crossbar.c 	int sz;
sz                378 drivers/dma/ti/dma-crossbar.c 	prop = of_find_property(node, "ti,reserved-dma-request-ranges", &sz);
sz                382 drivers/dma/ti/dma-crossbar.c 		size_t nelm = sz / sizeof(*rsv_events);
sz               2054 drivers/dma/ti/edma.c 			       size_t sz)
sz               2060 drivers/dma/ti/edma.c 	size_t nelm = sz / sizeof(s16);
sz               2104 drivers/dma/ti/edma.c 	int sz, ret;
sz               2112 drivers/dma/ti/edma.c 					&sz);
sz               2114 drivers/dma/ti/edma.c 			ret = edma_xbar_event_map(dev, info, sz);
sz               2122 drivers/dma/ti/edma.c 	prop = of_find_property(dev->of_node, "ti,edma-memcpy-channels", &sz);
sz               2125 drivers/dma/ti/edma.c 		size_t nelm = sz / sizeof(s32);
sz               2143 drivers/dma/ti/edma.c 				&sz);
sz               2148 drivers/dma/ti/edma.c 		size_t nelm = sz / sizeof(*tmp);
sz                 87 drivers/edac/pnd2_edac.c 	int (*rd_reg)(int port, int off, int op, void *data, size_t sz, char *name);
sz                193 drivers/edac/pnd2_edac.c static int apl_rd_reg(int port, int off, int op, void *data, size_t sz, char *name)
sz                198 drivers/edac/pnd2_edac.c 	switch (sz) {
sz                205 drivers/edac/pnd2_edac.c 					sz == 8 ? *((u32 *)(data + 4)) : 0, *((u32 *)data), ret);
sz                265 drivers/edac/pnd2_edac.c static int dnv_rd_reg(int port, int off, int op, void *data, size_t sz, char *name)
sz                299 drivers/edac/pnd2_edac.c 		if (sz == 8)
sz                307 drivers/edac/pnd2_edac.c 			(sz == 8) ? *(u32 *)(data + 4) : 0, *(u32 *)data);
sz                250 drivers/firmware/efi/capsule.c 			u64 sz = min_t(u64, imagesize,
sz                253 drivers/firmware/efi/capsule.c 			sglist[j].length = sz;
sz                256 drivers/firmware/efi/capsule.c 			imagesize -= sz;
sz                504 drivers/firmware/efi/efi.c int __init efi_config_parse_tables(void *config_tables, int count, int sz,
sz                536 drivers/firmware/efi/efi.c 		tablep += sz;
sz                628 drivers/firmware/efi/efi.c 	int sz, ret;
sz                634 drivers/firmware/efi/efi.c 		sz = sizeof(efi_config_table_64_t);
sz                636 drivers/firmware/efi/efi.c 		sz = sizeof(efi_config_table_32_t);
sz                642 drivers/firmware/efi/efi.c 				       efi.systab->nr_tables * sz);
sz                648 drivers/firmware/efi/efi.c 	ret = efi_config_parse_tables(config_tables, efi.systab->nr_tables, sz,
sz                651 drivers/firmware/efi/efi.c 	early_memunmap(config_tables, efi.systab->nr_tables * sz);
sz                150 drivers/firmware/efi/runtime-map.c 	size_t sz = efi_get_runtime_map_size();
sz                152 drivers/firmware/efi/runtime-map.c 	if (sz > bufsz)
sz                153 drivers/firmware/efi/runtime-map.c 		sz = bufsz;
sz                155 drivers/firmware/efi/runtime-map.c 	memcpy(buf, efi.memmap.map, sz);
sz                377 drivers/firmware/tegra/bpmp-debugfs.c 	const size_t sz = SZ_256K;
sz                389 drivers/firmware/tegra/bpmp-debugfs.c 	virt = dma_alloc_coherent(bpmp->dev, sz, &phys,
sz                396 drivers/firmware/tegra/bpmp-debugfs.c 	ret = mrq_debugfs_dumpdir(bpmp, phys, sz, &nbytes);
sz                402 drivers/firmware/tegra/bpmp-debugfs.c 	dma_free_coherent(bpmp->dev, sz, virt, phys);
sz                583 drivers/gpio/gpio-mmio.c 	       unsigned long sz, void __iomem *dat, void __iomem *set,
sz                589 drivers/gpio/gpio-mmio.c 	if (!is_power_of_2(sz))
sz                592 drivers/gpio/gpio-mmio.c 	gc->bgpio_bits = sz * 8;
sz                654 drivers/gpio/gpio-mmio.c 	resource_size_t sz;
sz                660 drivers/gpio/gpio-mmio.c 	sz = resource_size(r);
sz                661 drivers/gpio/gpio-mmio.c 	if (sz != sane_sz)
sz                716 drivers/gpio/gpio-mmio.c 	unsigned long sz;
sz                735 drivers/gpio/gpio-mmio.c 	sz = resource_size(r);
sz                737 drivers/gpio/gpio-mmio.c 	dat = bgpio_map(pdev, "dat", sz);
sz                741 drivers/gpio/gpio-mmio.c 	set = bgpio_map(pdev, "set", sz);
sz                745 drivers/gpio/gpio-mmio.c 	clr = bgpio_map(pdev, "clr", sz);
sz                749 drivers/gpio/gpio-mmio.c 	dirout = bgpio_map(pdev, "dirout", sz);
sz                753 drivers/gpio/gpio-mmio.c 	dirin = bgpio_map(pdev, "dirin", sz);
sz                761 drivers/gpio/gpio-mmio.c 	err = bgpio_init(gc, dev, sz, dat, set, clr, dirout, dirin, flags);
sz                604 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 	int sz;
sz                618 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 	sz = ARRAY_SIZE(amdgpu_underscan_enum_list);
sz                622 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 				    amdgpu_underscan_enum_list, sz);
sz                636 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 	sz = ARRAY_SIZE(amdgpu_audio_enum_list);
sz                640 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 					 amdgpu_audio_enum_list, sz);
sz                642 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 	sz = ARRAY_SIZE(amdgpu_dither_enum_list);
sz                646 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 					 amdgpu_dither_enum_list, sz);
sz                567 drivers/gpu/drm/etnaviv/etnaviv_gem.c 	unsigned sz = sizeof(*etnaviv_obj);
sz                586 drivers/gpu/drm/etnaviv/etnaviv_gem.c 	etnaviv_obj = kzalloc(sz, GFP_KERNEL);
sz                 35 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c 	size_t sz = size_vstruct(nr_bos, sizeof(submit->bos[0]), sizeof(*submit));
sz                 37 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c 	submit = kzalloc(sz, GFP_KERNEL);
sz               2741 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	const size_t sz = eb_element_size();
sz               2749 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	return !(count < 1 || count > INT_MAX || count > SIZE_MAX / sz - 1);
sz                 29 drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c 		u32 sz = min_t(u64, ce->vm->total >> 4, prandom_u32_state(&prng));
sz                 30 drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c 		u32 phys_sz = sz % (max_block_size + 1);
sz                 34 drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c 		sz = round_up(sz, PAGE_SIZE);
sz                 38 drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c 			 phys_sz, sz, val);
sz                 40 drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c 		obj = huge_gem_object(i915, phys_sz, sz);
sz                 35 drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c 		u32 sz = min_t(u64, ce->vm->total >> 4, prandom_u32_state(&prng));
sz                 36 drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c 		u32 phys_sz = sz % (max_block_size + 1);
sz                 40 drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c 		sz = round_up(sz, PAGE_SIZE);
sz                 44 drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c 			 phys_sz, sz, val);
sz                 46 drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c 		obj = huge_gem_object(i915, phys_sz, sz);
sz                120 drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c 		u32 sz = min_t(u64, ce->vm->total >> 4, prandom_u32_state(&prng));
sz                121 drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c 		u32 phys_sz = sz % (max_block_size + 1);
sz                125 drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c 		sz = round_up(sz, PAGE_SIZE);
sz                129 drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c 			 phys_sz, sz, val);
sz                131 drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c 		src = huge_gem_object(i915, phys_sz, sz);
sz                151 drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c 		dst = huge_gem_object(i915, phys_sz, sz);
sz                150 drivers/gpu/drm/i915/gt/intel_context.h static inline struct intel_ring *__intel_context_ring_size(u64 sz)
sz                152 drivers/gpu/drm/i915/gt/intel_context.h 	return u64_to_ptr(struct intel_ring, sz);
sz                 19 drivers/gpu/drm/i915/gt/intel_engine_pool.c bucket_for_size(struct intel_engine_pool *pool, size_t sz)
sz                 28 drivers/gpu/drm/i915/gt/intel_engine_pool.c 	n = fls(sz >> PAGE_SHIFT) - 1;
sz                 85 drivers/gpu/drm/i915/gt/intel_engine_pool.c node_create(struct intel_engine_pool *pool, size_t sz)
sz                 99 drivers/gpu/drm/i915/gt/intel_engine_pool.c 	obj = i915_gem_object_create_internal(engine->i915, sz);
sz                 48 drivers/gpu/drm/i915/gt/mock_engine.c 	const unsigned long sz = PAGE_SIZE / 2;
sz                 51 drivers/gpu/drm/i915/gt/mock_engine.c 	ring = kzalloc(sizeof(*ring) + sz, GFP_KERNEL);
sz                 56 drivers/gpu/drm/i915/gt/mock_engine.c 	ring->size = sz;
sz                 57 drivers/gpu/drm/i915/gt/mock_engine.c 	ring->effective_size = sz;
sz                722 drivers/gpu/drm/i915/i915_gem_gtt.c static struct i915_page_directory *__alloc_pd(size_t sz)
sz                726 drivers/gpu/drm/i915/i915_gem_gtt.c 	pd = kzalloc(sz, I915_GFP_ALLOW_FAIL);
sz                115 drivers/gpu/drm/i915/i915_utils.h 	size_t sz;
sz                117 drivers/gpu/drm/i915/i915_utils.h 	if (check_mul_overflow(count, arr, &sz))
sz                120 drivers/gpu/drm/i915/i915_utils.h 	if (check_add_overflow(sz, base, &sz))
sz                123 drivers/gpu/drm/i915/i915_utils.h 	*size = sz;
sz                140 drivers/gpu/drm/i915/i915_utils.h #define check_struct_size(p, member, n, sz) \
sz                143 drivers/gpu/drm/i915/i915_utils.h 				   n, sz))
sz                 70 drivers/gpu/drm/i915/intel_runtime_pm.c 				char *buf, int sz, int indent)
sz                 76 drivers/gpu/drm/i915/intel_runtime_pm.c 	stack_trace_snprint(buf, sz, entries, nr_entries, indent);
sz               1087 drivers/gpu/drm/i915/selftests/i915_request.c 		int sz;
sz               1092 drivers/gpu/drm/i915/selftests/i915_request.c 		sz = rq->ring->emit - rq->head;
sz               1093 drivers/gpu/drm/i915/selftests/i915_request.c 		if (sz < 0)
sz               1094 drivers/gpu/drm/i915/selftests/i915_request.c 			sz += rq->ring->size;
sz               1095 drivers/gpu/drm/i915/selftests/i915_request.c 		ret /= sz;
sz                 30 drivers/gpu/drm/i915/selftests/i915_syncmap.c 	     char *buf, unsigned long *sz,
sz                 43 drivers/gpu/drm/i915/selftests/i915_syncmap.c 				len = scnprintf(buf, *sz, "|   ");
sz                 45 drivers/gpu/drm/i915/selftests/i915_syncmap.c 				len = scnprintf(buf, *sz, "    ");
sz                 47 drivers/gpu/drm/i915/selftests/i915_syncmap.c 			*sz -= len;
sz                 49 drivers/gpu/drm/i915/selftests/i915_syncmap.c 		len = scnprintf(buf, *sz, "%x-> ", idx);
sz                 51 drivers/gpu/drm/i915/selftests/i915_syncmap.c 		*sz -= len;
sz                 55 drivers/gpu/drm/i915/selftests/i915_syncmap.c 	len = scnprintf(buf, *sz, "0x%016llx", p->prefix << p->height << SHIFT);
sz                 57 drivers/gpu/drm/i915/selftests/i915_syncmap.c 	*sz -= len;
sz                 59 drivers/gpu/drm/i915/selftests/i915_syncmap.c 	scnprintf(buf - X, *sz + X, "%*s", X, "XXXXXXXXXXXXXXXXX");
sz                 63 drivers/gpu/drm/i915/selftests/i915_syncmap.c 			len = scnprintf(buf, *sz, " %x:%x,",
sz                 66 drivers/gpu/drm/i915/selftests/i915_syncmap.c 			*sz -= len;
sz                 69 drivers/gpu/drm/i915/selftests/i915_syncmap.c 		*sz += 1;
sz                 72 drivers/gpu/drm/i915/selftests/i915_syncmap.c 	len = scnprintf(buf, *sz, "\n");
sz                 74 drivers/gpu/drm/i915/selftests/i915_syncmap.c 	*sz -= len;
sz                 78 drivers/gpu/drm/i915/selftests/i915_syncmap.c 			buf = __sync_print(__sync_child(p)[i], buf, sz,
sz                 89 drivers/gpu/drm/i915/selftests/i915_syncmap.c i915_syncmap_print_to_buf(struct i915_syncmap *p, char *buf, unsigned long sz)
sz                 97 drivers/gpu/drm/i915/selftests/i915_syncmap.c 	__sync_print(p, buf, &sz, 0, 1, 0);
sz                256 drivers/gpu/drm/i915/selftests/i915_vma.c #define VALID(sz, fl) { .size = (sz), .flags = (fl), .assert = assert_pin_valid, .string = #sz ", " #fl ", (valid) " }
sz                257 drivers/gpu/drm/i915/selftests/i915_vma.c #define __INVALID(sz, fl, check, eval) { .size = (sz), .flags = (fl), .assert = (check), .string = #sz ", " #fl ", (invalid " #eval ")" }
sz                258 drivers/gpu/drm/i915/selftests/i915_vma.c #define INVALID(sz, fl) __INVALID(sz, fl, assert_pin_einval, EINVAL)
sz                259 drivers/gpu/drm/i915/selftests/i915_vma.c #define NOSPACE(sz, fl) __INVALID(sz, fl, assert_pin_enospc, ENOSPC)
sz                708 drivers/gpu/drm/i915/selftests/i915_vma.c 	unsigned int sz, offset;
sz                724 drivers/gpu/drm/i915/selftests/i915_vma.c 		for_each_prime_number_from(sz, 1, npages) {
sz                725 drivers/gpu/drm/i915/selftests/i915_vma.c 			for_each_prime_number_from(offset, 0, npages - sz) {
sz                730 drivers/gpu/drm/i915/selftests/i915_vma.c 				view.partial.size = sz;
sz                732 drivers/gpu/drm/i915/selftests/i915_vma.c 				if (sz == npages)
sz                745 drivers/gpu/drm/i915/selftests/i915_vma.c 				if (!assert_pin(vma, &view, sz*PAGE_SIZE, p->name)) {
sz                747 drivers/gpu/drm/i915/selftests/i915_vma.c 					       p->name, offset, sz);
sz                752 drivers/gpu/drm/i915/selftests/i915_vma.c 				if (!assert_partial(obj, vma, offset, sz)) {
sz                754 drivers/gpu/drm/i915/selftests/i915_vma.c 					       p->name, offset, sz);
sz                287 drivers/gpu/drm/i915/selftests/scatterlist.c 			unsigned long sz = size + offset;
sz                295 drivers/gpu/drm/i915/selftests/scatterlist.c 				err = alloc_table(&pt, sz, sz, *npages, &prng,
sz                 33 drivers/gpu/drm/msm/msm_gem_submit.c 	uint64_t sz = struct_size(submit, bos, nr_bos) +
sz                 36 drivers/gpu/drm/msm/msm_gem_submit.c 	if (sz > SIZE_MAX)
sz                 39 drivers/gpu/drm/msm/msm_gem_submit.c 	submit = kmalloc(sz, GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY);
sz                121 drivers/gpu/drm/msm/msm_perf.c 		size_t sz, loff_t *ppos)
sz                134 drivers/gpu/drm/msm/msm_perf.c 	n = min((int)sz, perf->buftot - perf->bufpos);
sz                101 drivers/gpu/drm/msm/msm_rd.c static void rd_write(struct msm_rd_state *rd, const void *buf, int sz)
sz                106 drivers/gpu/drm/msm/msm_rd.c 	while (sz > 0) {
sz                118 drivers/gpu/drm/msm/msm_rd.c 		n = min(sz, circ_space_to_end(&rd->fifo));
sz                122 drivers/gpu/drm/msm/msm_rd.c 		sz  -= n;
sz                130 drivers/gpu/drm/msm/msm_rd.c 		enum rd_sect_type type, const void *buf, int sz)
sz                133 drivers/gpu/drm/msm/msm_rd.c 	rd_write(rd, &sz, 4);
sz                134 drivers/gpu/drm/msm/msm_rd.c 	rd_write(rd, buf, sz);
sz                138 drivers/gpu/drm/msm/msm_rd.c 		size_t sz, loff_t *ppos)
sz                156 drivers/gpu/drm/msm/msm_rd.c 	n = min_t(int, sz, circ_count_to_end(&rd->fifo));
sz               1970 drivers/gpu/drm/nouveau/nouveau_bios.c 	const int sz = sizeof(hwsq_signature);
sz               1973 drivers/gpu/drm/nouveau/nouveau_bios.c 	hwsq_offset = findstr(bios->data, bios->length, hwsq_signature, sz);
sz               1978 drivers/gpu/drm/nouveau/nouveau_bios.c 	return load_nv17_hwsq_ucode_entry(dev, bios, hwsq_offset + sz, 0);
sz                218 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c static void *alloc_dma(struct dmm_txn *txn, size_t sz, dma_addr_t *pa)
sz                230 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c 	txn->current_pa += sz;
sz                231 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c 	txn->current_va += sz;
sz               2099 drivers/gpu/drm/radeon/r100.c 	int sz;
sz               2120 drivers/gpu/drm/radeon/r100.c 	sz = wblocks * hblocks * block_bytes;
sz               2121 drivers/gpu/drm/radeon/r100.c 	return sz;
sz               1401 drivers/gpu/drm/radeon/radeon_display.c 	int sz;
sz               1411 drivers/gpu/drm/radeon/radeon_display.c 		sz = ARRAY_SIZE(radeon_tmds_pll_enum_list);
sz               1415 drivers/gpu/drm/radeon/radeon_display.c 					    radeon_tmds_pll_enum_list, sz);
sz               1425 drivers/gpu/drm/radeon/radeon_display.c 	sz = ARRAY_SIZE(radeon_tv_std_enum_list);
sz               1429 drivers/gpu/drm/radeon/radeon_display.c 				    radeon_tv_std_enum_list, sz);
sz               1431 drivers/gpu/drm/radeon/radeon_display.c 	sz = ARRAY_SIZE(radeon_underscan_enum_list);
sz               1435 drivers/gpu/drm/radeon/radeon_display.c 				    radeon_underscan_enum_list, sz);
sz               1449 drivers/gpu/drm/radeon/radeon_display.c 	sz = ARRAY_SIZE(radeon_audio_enum_list);
sz               1453 drivers/gpu/drm/radeon/radeon_display.c 					 radeon_audio_enum_list, sz);
sz               1455 drivers/gpu/drm/radeon/radeon_display.c 	sz = ARRAY_SIZE(radeon_dither_enum_list);
sz               1459 drivers/gpu/drm/radeon/radeon_display.c 					 radeon_dither_enum_list, sz);
sz               1461 drivers/gpu/drm/radeon/radeon_display.c 	sz = ARRAY_SIZE(radeon_output_csc_enum_list);
sz               1465 drivers/gpu/drm/radeon/radeon_display.c 					 radeon_output_csc_enum_list, sz);
sz                334 drivers/gpu/drm/selftests/test-drm_mm.c #define B(st, sz) { (st), (sz), "{ " #st ", " #sz "}" }
sz                 37 drivers/hid/hid-picolcd_cir.c 	int i, w, sz;
sz                 58 drivers/hid/hid-picolcd_cir.c 	sz = size > 0 ? min((int)raw_data[0], size-1) : 0;
sz                 59 drivers/hid/hid-picolcd_cir.c 	for (i = 0; i+1 < sz; i += 2) {
sz                471 drivers/hid/hid-sensor-hub.c 	int sz;
sz                496 drivers/hid/hid-sensor-hub.c 		sz = (report->field[i]->report_size *
sz                508 drivers/hid/hid-sensor-hub.c 			ptr += sz;
sz                516 drivers/hid/hid-sensor-hub.c 			hsdev->pending.raw_data = kmemdup(ptr, sz, GFP_ATOMIC);
sz                518 drivers/hid/hid-sensor-hub.c 				hsdev->pending.raw_size = sz;
sz                526 drivers/hid/hid-sensor-hub.c 					report->field[i]->logical, sz, ptr,
sz                530 drivers/hid/hid-sensor-hub.c 					report->field[i]->usage->hid, sz, ptr,
sz                533 drivers/hid/hid-sensor-hub.c 		ptr += sz;
sz                305 drivers/hid/hid-wiimote-core.c #define wiiproto_req_wreg(wdata, os, buf, sz) \
sz                306 drivers/hid/hid-wiimote-core.c 			wiiproto_req_wmem((wdata), false, (os), (buf), (sz))
sz                308 drivers/hid/hid-wiimote-core.c #define wiiproto_req_weeprom(wdata, os, buf, sz) \
sz                309 drivers/hid/hid-wiimote-core.c 			wiiproto_req_wmem((wdata), true, (os), (buf), (sz))
sz                275 drivers/hid/hid-wiimote.h #define wiiproto_req_rreg(wdata, os, sz) \
sz                276 drivers/hid/hid-wiimote.h 				wiiproto_req_rmem((wdata), false, (os), (sz))
sz                277 drivers/hid/hid-wiimote.h #define wiiproto_req_reeprom(wdata, os, sz) \
sz                278 drivers/hid/hid-wiimote.h 				wiiproto_req_rmem((wdata), true, (os), (sz))
sz                687 drivers/hwmon/asus_atk0110.c static int atk_acpi_print(char *buf, size_t sz, union acpi_object *obj)
sz                693 drivers/hwmon/asus_atk0110.c 		ret = snprintf(buf, sz, "0x%08llx\n", obj->integer.value);
sz                696 drivers/hwmon/asus_atk0110.c 		ret = snprintf(buf, sz, "%s\n", obj->string.pointer);
sz                703 drivers/hwmon/asus_atk0110.c static void atk_pack_print(char *buf, size_t sz, union acpi_object *pack)
sz                711 drivers/hwmon/asus_atk0110.c 		ret = atk_acpi_print(buf, sz, obj);
sz                712 drivers/hwmon/asus_atk0110.c 		if (ret >= sz)
sz                715 drivers/hwmon/asus_atk0110.c 		sz -= ret;
sz                581 drivers/hwtracing/stm/core.c 	ssize_t sz;
sz                584 drivers/hwtracing/stm/core.c 	for (pos = 0, sz = 0; pos < count; pos += sz) {
sz                585 drivers/hwtracing/stm/core.c 		sz = min_t(unsigned int, count - pos, 8);
sz                586 drivers/hwtracing/stm/core.c 		sz = data->packet(data, m, c, STP_PACKET_DATA, flags, sz,
sz                588 drivers/hwtracing/stm/core.c 		if (sz <= 0)
sz                597 drivers/hwtracing/stm/core.c 	return sz < 0 ? sz : pos;
sz                 18 drivers/hwtracing/stm/p_basic.c 	ssize_t sz;
sz                 20 drivers/hwtracing/stm/p_basic.c 	sz = stm_data_write(data, m, c, true, buf, count);
sz                 21 drivers/hwtracing/stm/p_basic.c 	if (sz > 0)
sz                 24 drivers/hwtracing/stm/p_basic.c 	return sz;
sz                269 drivers/hwtracing/stm/p_sys-t.c 	ssize_t sz;
sz                271 drivers/hwtracing/stm/p_sys-t.c 	sz = data->packet(data, m, c, STP_PACKET_DATA, STP_PACKET_TIMESTAMPED,
sz                273 drivers/hwtracing/stm/p_sys-t.c 	if (sz <= 0)
sz                274 drivers/hwtracing/stm/p_sys-t.c 		return sz;
sz                278 drivers/hwtracing/stm/p_sys-t.c 	sz = stm_data_write(data, m, c, false, &payload, sizeof(payload));
sz                279 drivers/hwtracing/stm/p_sys-t.c 	if (sz <= 0)
sz                280 drivers/hwtracing/stm/p_sys-t.c 		return sz;
sz                295 drivers/hwtracing/stm/p_sys-t.c 	ssize_t sz;
sz                302 drivers/hwtracing/stm/p_sys-t.c 		sz = sys_t_clock_sync(data, m, c);
sz                303 drivers/hwtracing/stm/p_sys-t.c 		if (sz <= 0)
sz                304 drivers/hwtracing/stm/p_sys-t.c 			return sz;
sz                319 drivers/hwtracing/stm/p_sys-t.c 	sz = data->packet(data, m, c, STP_PACKET_DATA, STP_PACKET_TIMESTAMPED,
sz                321 drivers/hwtracing/stm/p_sys-t.c 	if (sz <= 0)
sz                322 drivers/hwtracing/stm/p_sys-t.c 		return sz;
sz                325 drivers/hwtracing/stm/p_sys-t.c 	sz = stm_data_write(data, m, c, false, op->node.uuid.b, UUID_SIZE);
sz                326 drivers/hwtracing/stm/p_sys-t.c 	if (sz <= 0)
sz                327 drivers/hwtracing/stm/p_sys-t.c 		return sz;
sz                333 drivers/hwtracing/stm/p_sys-t.c 		sz = data->packet(data, m, c, STP_PACKET_DATA, 0, 2,
sz                335 drivers/hwtracing/stm/p_sys-t.c 		if (sz <= 0)
sz                336 drivers/hwtracing/stm/p_sys-t.c 			return sz;
sz                343 drivers/hwtracing/stm/p_sys-t.c 		sz = stm_data_write(data, m, c, false, &ts, sizeof(ts));
sz                344 drivers/hwtracing/stm/p_sys-t.c 		if (sz <= 0)
sz                345 drivers/hwtracing/stm/p_sys-t.c 			return sz;
sz                349 drivers/hwtracing/stm/p_sys-t.c 	sz = stm_data_write(data, m, c, false, buf, count);
sz                350 drivers/hwtracing/stm/p_sys-t.c 	if (sz > 0)
sz                353 drivers/hwtracing/stm/p_sys-t.c 	return sz;
sz                 20 drivers/ide/rapide.c 			       void __iomem *ctrl, unsigned int sz, int irq)
sz                 27 drivers/ide/rapide.c 		port += sz;
sz               1248 drivers/iio/industrialio-core.c 	ssize_t sz;
sz               1253 drivers/iio/industrialio-core.c 		sz = sizeof("realtime\n");
sz               1257 drivers/iio/industrialio-core.c 		sz = sizeof("monotonic\n");
sz               1261 drivers/iio/industrialio-core.c 		sz = sizeof("monotonic_raw\n");
sz               1265 drivers/iio/industrialio-core.c 		sz = sizeof("realtime_coarse\n");
sz               1269 drivers/iio/industrialio-core.c 		sz = sizeof("monotonic_coarse\n");
sz               1273 drivers/iio/industrialio-core.c 		sz = sizeof("boottime\n");
sz               1277 drivers/iio/industrialio-core.c 		sz = sizeof("tai\n");
sz               1283 drivers/iio/industrialio-core.c 	memcpy(buf, name, sz);
sz               1284 drivers/iio/industrialio-core.c 	return sz;
sz                100 drivers/infiniband/core/cache.c 	int				sz;
sz                470 drivers/infiniband/core/cache.c 	while (i < table->sz && (found < 0 || empty < 0)) {
sz                648 drivers/infiniband/core/cache.c 	for (ix = 0; ix < table->sz; ix++) {
sz                749 drivers/infiniband/core/cache.c 	for (i = 0; i < table->sz; i++) {
sz                768 drivers/infiniband/core/cache.c static struct ib_gid_table *alloc_gid_table(int sz)
sz                775 drivers/infiniband/core/cache.c 	table->data_vec = kcalloc(sz, sizeof(*table->data_vec), GFP_KERNEL);
sz                781 drivers/infiniband/core/cache.c 	table->sz = sz;
sz                799 drivers/infiniband/core/cache.c 	for (i = 0; i < table->sz; i++) {
sz                827 drivers/infiniband/core/cache.c 	for (i = 0; i < table->sz; ++i) {
sz                882 drivers/infiniband/core/cache.c 	for (i = 0; i < num_default_gids && i < table->sz; i++)
sz                968 drivers/infiniband/core/cache.c 	if (index < 0 || index >= table->sz ||
sz               1210 drivers/infiniband/core/cache.c 	if (index < 0 || index >= table->sz)
sz                150 drivers/infiniband/hw/efa/efa_verbs.c #define field_avail(x, fld, sz) (offsetof(typeof(x), fld) + \
sz                151 drivers/infiniband/hw/efa/efa_verbs.c 				 FIELD_SIZEOF(typeof(x), fld) <= (sz))
sz               12481 drivers/infiniband/hw/hfi1/chip.c 	size_t sz;
sz               12498 drivers/infiniband/hw/hfi1/chip.c 	sz = 0;
sz               12511 drivers/infiniband/hw/hfi1/chip.c 				sz += strlen(name);
sz               12514 drivers/infiniband/hw/hfi1/chip.c 					sz += bit_type_32_sz;
sz               12515 drivers/infiniband/hw/hfi1/chip.c 				sz++;
sz               12523 drivers/infiniband/hw/hfi1/chip.c 				sz += strlen(name);
sz               12526 drivers/infiniband/hw/hfi1/chip.c 					sz += bit_type_32_sz;
sz               12527 drivers/infiniband/hw/hfi1/chip.c 				sz++;
sz               12532 drivers/infiniband/hw/hfi1/chip.c 			sz += strlen(dev_cntrs[i].name) + 1;
sz               12535 drivers/infiniband/hw/hfi1/chip.c 				sz += bit_type_32_sz;
sz               12552 drivers/infiniband/hw/hfi1/chip.c 	dd->cntrnameslen = sz;
sz               12553 drivers/infiniband/hw/hfi1/chip.c 	dd->cntrnames = kmalloc(sz, GFP_KERNEL);
sz               12622 drivers/infiniband/hw/hfi1/chip.c 	sz = 0;
sz               12635 drivers/infiniband/hw/hfi1/chip.c 				sz += strlen(name);
sz               12638 drivers/infiniband/hw/hfi1/chip.c 					sz += bit_type_32_sz;
sz               12639 drivers/infiniband/hw/hfi1/chip.c 				sz++;
sz               12644 drivers/infiniband/hw/hfi1/chip.c 			sz += strlen(port_cntrs[i].name) + 1;
sz               12647 drivers/infiniband/hw/hfi1/chip.c 				sz += bit_type_32_sz;
sz               12654 drivers/infiniband/hw/hfi1/chip.c 	dd->portcntrnameslen = sz;
sz               12655 drivers/infiniband/hw/hfi1/chip.c 	dd->portcntrnames = kmalloc(sz, GFP_KERNEL);
sz               1395 drivers/infiniband/hw/hfi1/debugfs.c 	size_t sz = seq_get_buf(s, &buffer);
sz               1397 drivers/infiniband/hw/hfi1/debugfs.c 	if (sz < sizeof(u64))
sz               2248 drivers/infiniband/hw/hfi1/hfi.h 	size_t sz;
sz               1950 drivers/infiniband/hw/hfi1/pio.c 			int sz = roundup_pow_of_two(vl_scontexts[i]);
sz               1954 drivers/infiniband/hw/hfi1/pio.c 						 sz * sizeof(struct
sz               1959 drivers/infiniband/hw/hfi1/pio.c 			newmap->map[i]->mask = (1 << ilog2(sz)) - 1;
sz               1964 drivers/infiniband/hw/hfi1/pio.c 			for (j = 0; j < sz; j++) {
sz                939 drivers/infiniband/hw/hfi1/sdma.c 	int ret, vl, sz;
sz                965 drivers/infiniband/hw/hfi1/sdma.c 	sz = sizeof(struct sdma_rht_map_elem) +
sz                986 drivers/infiniband/hw/hfi1/sdma.c 			rht_node->map[vl] = kzalloc(sz, GFP_KERNEL);
sz               1013 drivers/infiniband/hw/hfi1/sdma.c 				rht_node->map[vl] = kzalloc(sz, GFP_KERNEL);
sz               1240 drivers/infiniband/hw/hfi1/sdma.c 			int sz = roundup_pow_of_two(vl_engines[i]);
sz               1245 drivers/infiniband/hw/hfi1/sdma.c 					sz * sizeof(struct sdma_engine *),
sz               1249 drivers/infiniband/hw/hfi1/sdma.c 			newmap->map[i]->mask = (1 << ilog2(sz)) - 1;
sz               1251 drivers/infiniband/hw/hfi1/sdma.c 			for (j = 0; j < sz; j++) {
sz               1587 drivers/infiniband/hw/hfi1/verbs.c 	size_t sz = ARRAY_SIZE(ibp->sl_to_sc);
sz               1590 drivers/infiniband/hw/hfi1/verbs.c 	for (i = 0; i < sz; i++) {
sz                430 drivers/infiniband/hw/mlx4/main.c #define field_avail(type, fld, sz) (offsetof(type, fld) + \
sz                431 drivers/infiniband/hw/mlx4/main.c 				    sizeof(((type *)0)->fld) <= (sz))
sz                192 drivers/infiniband/hw/mlx5/cmd.c 	int sz = MLX5_ST_SZ_BYTES(ppcnt_reg);
sz                197 drivers/infiniband/hw/mlx5/cmd.c 	return  mlx5_core_access_reg(dev, in, sz, out, sz, MLX5_REG_PPCNT,
sz                235 drivers/infiniband/hw/mlx5/mad.c 		int sz = MLX5_ST_SZ_BYTES(query_vport_counter_out);
sz                237 drivers/infiniband/hw/mlx5/mad.c 		out_cnt = kvzalloc(sz, GFP_KERNEL);
sz                244 drivers/infiniband/hw/mlx5/mad.c 						    mdev_port_num, out_cnt, sz);
sz                250 drivers/infiniband/hw/mlx5/mad.c 		int sz = MLX5_ST_SZ_BYTES(ppcnt_reg);
sz                252 drivers/infiniband/hw/mlx5/mad.c 		out_cnt = kvzalloc(sz, GFP_KERNEL);
sz                259 drivers/infiniband/hw/mlx5/mad.c 					       out_cnt, sz);
sz               5557 drivers/infiniband/hw/mlx5/main.c 	int sz = MLX5_ST_SZ_BYTES(ppcnt_reg);
sz               5561 drivers/infiniband/hw/mlx5/main.c 	out = kvzalloc(sz, GFP_KERNEL);
sz                 67 drivers/infiniband/hw/mlx5/mlx5_ib.h #define field_avail(type, fld, sz) (offsetof(type, fld) +		\
sz                 68 drivers/infiniband/hw/mlx5/mlx5_ib.h 				    sizeof(((type *)0)->fld) <= (sz))
sz               4114 drivers/infiniband/hw/mlx5/qp.c 		eseg->inline_hdr.sz = cpu_to_be16(left);
sz               6199 drivers/infiniband/hw/mlx5/qp.c 	int sz = 1 << init_attr->log_ind_tbl_size;
sz               6229 drivers/infiniband/hw/mlx5/qp.c 	inlen = MLX5_ST_SZ_BYTES(create_rqt_in) + sizeof(u32) * sz;
sz               6238 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(rqtc, rqtc, rqt_actual_size, sz);
sz               6239 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(rqtc, rqtc, rqt_max_size, sz);
sz               6241 drivers/infiniband/hw/mlx5/qp.c 	for (i = 0; i < sz; i++)
sz               1506 drivers/infiniband/hw/qib/qib.h 	size_t sz;
sz                108 drivers/infiniband/hw/qib/qib_file_ops.c 	size_t sz;
sz                120 drivers/infiniband/hw/qib/qib_file_ops.c 	sz = sizeof(*kinfo);
sz                123 drivers/infiniband/hw/qib/qib_file_ops.c 		sz -= 7 * sizeof(u64);
sz                124 drivers/infiniband/hw/qib/qib_file_ops.c 	if (ubase_size < sz) {
sz                251 drivers/infiniband/hw/qib/qib_file_ops.c 	sz = (ubase_size < sizeof(*kinfo)) ? ubase_size : sizeof(*kinfo);
sz                252 drivers/infiniband/hw/qib/qib_file_ops.c 	if (copy_to_user(ubase, kinfo, sz))
sz                754 drivers/infiniband/hw/qib/qib_file_ops.c 	unsigned long sz;
sz                762 drivers/infiniband/hw/qib/qib_file_ops.c 	sz = dd->flags & QIB_HAS_HDRSUPP ? 2 * PAGE_SIZE : PAGE_SIZE;
sz                763 drivers/infiniband/hw/qib/qib_file_ops.c 	if ((vma->vm_end - vma->vm_start) > sz) {
sz               1882 drivers/infiniband/hw/qib/qib_file_ops.c 	size_t sz;
sz               1897 drivers/infiniband/hw/qib/qib_file_ops.c 	sz = sizeof(info);
sz               1899 drivers/infiniband/hw/qib/qib_file_ops.c 	if (copy_to_user(uinfo, &info, sz)) {
sz               1201 drivers/infiniband/hw/qib/qib_iba7322.c 	.msg = #fldname , .sz = sizeof(#fldname) }
sz               1203 drivers/infiniband/hw/qib/qib_iba7322.c 	fldname##Mask##_##port), .msg = #fldname , .sz = sizeof(#fldname) }
sz               1221 drivers/infiniband/hw/qib/qib_iba7322.c 	{ .mask = 0, .sz = 0 }
sz               1225 drivers/infiniband/hw/qib/qib_iba7322.c 	.msg = #fldname, .sz = sizeof(#fldname) }
sz               1227 drivers/infiniband/hw/qib/qib_iba7322.c 	.msg = #fldname, .sz = sizeof(#fldname) }
sz               1243 drivers/infiniband/hw/qib/qib_iba7322.c 	{ .mask = 0, .sz = 0 }
sz               1254 drivers/infiniband/hw/qib/qib_iba7322.c 		.sz = 11},
sz               1290 drivers/infiniband/hw/qib/qib_iba7322.c 	{ .mask = 0, .sz = 0 }
sz               1298 drivers/infiniband/hw/qib/qib_iba7322.c 	.msg = #fldname, .sz = sizeof(#fldname) }
sz               1303 drivers/infiniband/hw/qib/qib_iba7322.c 	.msg = #fldname "_P", .sz = sizeof(#fldname "_P") }
sz               1308 drivers/infiniband/hw/qib/qib_iba7322.c 	.msg = #fldname "_P", .sz = sizeof(#fldname "_P") }
sz               1316 drivers/infiniband/hw/qib/qib_iba7322.c 	.msg = #fldname "_C", .sz = sizeof(#fldname "_C") }
sz               1320 drivers/infiniband/hw/qib/qib_iba7322.c 	.msg = #fldname, .sz = sizeof(#fldname) }
sz               1329 drivers/infiniband/hw/qib/qib_iba7322.c 	{ .mask = 0, .sz = 0 }
sz               1386 drivers/infiniband/hw/qib/qib_iba7322.c 				took = min_t(size_t, msp->sz - (size_t)1, len);
sz                208 drivers/infiniband/sw/rdmavt/cq.c 	u32 sz;
sz                232 drivers/infiniband/sw/rdmavt/cq.c 		sz = sizeof(struct ib_uverbs_wc) * (entries + 1);
sz                233 drivers/infiniband/sw/rdmavt/cq.c 		sz += sizeof(*u_wc);
sz                234 drivers/infiniband/sw/rdmavt/cq.c 		u_wc = vmalloc_user(sz);
sz                238 drivers/infiniband/sw/rdmavt/cq.c 		sz = sizeof(struct ib_wc) * (entries + 1);
sz                239 drivers/infiniband/sw/rdmavt/cq.c 		sz += sizeof(*k_wc);
sz                240 drivers/infiniband/sw/rdmavt/cq.c 		k_wc = vzalloc_node(sz, rdi->dparms.node);
sz                250 drivers/infiniband/sw/rdmavt/cq.c 		cq->ip = rvt_create_mmap_info(rdi, sz, udata, u_wc);
sz                384 drivers/infiniband/sw/rdmavt/cq.c 	u32 sz;
sz                398 drivers/infiniband/sw/rdmavt/cq.c 		sz = sizeof(struct ib_uverbs_wc) * (cqe + 1);
sz                399 drivers/infiniband/sw/rdmavt/cq.c 		sz += sizeof(*u_wc);
sz                400 drivers/infiniband/sw/rdmavt/cq.c 		u_wc = vmalloc_user(sz);
sz                404 drivers/infiniband/sw/rdmavt/cq.c 		sz = sizeof(struct ib_wc) * (cqe + 1);
sz                405 drivers/infiniband/sw/rdmavt/cq.c 		sz += sizeof(*k_wc);
sz                406 drivers/infiniband/sw/rdmavt/cq.c 		k_wc = vzalloc_node(sz, rdi->dparms.node);
sz                476 drivers/infiniband/sw/rdmavt/cq.c 		rvt_update_mmap_info(rdi, ip, sz, u_wc);
sz               1071 drivers/infiniband/sw/rdmavt/qp.c 	size_t sz;
sz               1112 drivers/infiniband/sw/rdmavt/qp.c 		sz = struct_size(swq, sg_list, init_attr->cap.max_send_sge);
sz               1113 drivers/infiniband/sw/rdmavt/qp.c 		swq = vzalloc_node(array_size(sz, sqsize), rdi->dparms.node);
sz               1117 drivers/infiniband/sw/rdmavt/qp.c 		sz = sizeof(*qp);
sz               1128 drivers/infiniband/sw/rdmavt/qp.c 		qp = kzalloc_node(sz + sg_list_sz, GFP_KERNEL,
sz               1164 drivers/infiniband/sw/rdmavt/qp.c 			sz = 0;
sz               1168 drivers/infiniband/sw/rdmavt/qp.c 			sz = (sizeof(struct ib_sge) * qp->r_rq.max_sge) +
sz               1170 drivers/infiniband/sw/rdmavt/qp.c 			err = rvt_alloc_rq(&qp->r_rq, qp->r_rq.size * sz,
sz               1243 drivers/infiniband/sw/rdmavt/qp.c 			u32 s = sizeof(struct rvt_rwq) + qp->r_rq.size * sz;
sz                 81 drivers/infiniband/sw/rdmavt/srq.c 	u32 sz;
sz                 98 drivers/infiniband/sw/rdmavt/srq.c 	sz = sizeof(struct ib_sge) * srq->rq.max_sge +
sz                100 drivers/infiniband/sw/rdmavt/srq.c 	if (rvt_alloc_rq(&srq->rq, srq->rq.size * sz,
sz                111 drivers/infiniband/sw/rdmavt/srq.c 		u32 s = sizeof(struct rvt_rwq) + srq->rq.size * sz;
sz                179 drivers/infiniband/sw/rdmavt/srq.c 		u32 sz, size, n, head, tail;
sz                186 drivers/infiniband/sw/rdmavt/srq.c 		sz = sizeof(struct rvt_rwqe) +
sz                189 drivers/infiniband/sw/rdmavt/srq.c 		if (rvt_alloc_rq(&tmp_rq, size * sz, dev->dparms.node,
sz                248 drivers/infiniband/sw/rdmavt/srq.c 			p = (struct rvt_rwqe *)((char *)p + sz);
sz                272 drivers/infiniband/sw/rdmavt/srq.c 			u32 s = sizeof(struct rvt_rwq) + size * sz;
sz                427 drivers/iommu/io-pgtable-arm-v7s.c 			size_t sz = ARM_V7S_BLOCK_SIZE(lvl);
sz                430 drivers/iommu/io-pgtable-arm-v7s.c 			if (WARN_ON(__arm_v7s_unmap(data, NULL, iova + i * sz,
sz                431 drivers/iommu/io-pgtable-arm-v7s.c 						    sz, lvl, tblp) != sz))
sz                338 drivers/iommu/io-pgtable-arm.c 		size_t sz = ARM_LPAE_BLOCK_SIZE(lvl, data);
sz                341 drivers/iommu/io-pgtable-arm.c 		if (__arm_lpae_unmap(data, NULL, iova, sz, lvl, tblp) != sz) {
sz                241 drivers/irqchip/irq-bcm6345-l1.c 	resource_size_t sz;
sz                247 drivers/irqchip/irq-bcm6345-l1.c 	sz = resource_size(&res);
sz                248 drivers/irqchip/irq-bcm6345-l1.c 	n_words = sz / REG_BYTES_PER_IRQ_WORD;
sz                260 drivers/irqchip/irq-bcm6345-l1.c 	cpu->map_base = ioremap(res.start, sz);
sz                249 drivers/irqchip/irq-bcm7038-l1.c 	resource_size_t sz;
sz                255 drivers/irqchip/irq-bcm7038-l1.c 	sz = resource_size(&res);
sz                256 drivers/irqchip/irq-bcm7038-l1.c 	n_words = sz / REG_BYTES_PER_IRQ_WORD;
sz                270 drivers/irqchip/irq-bcm7038-l1.c 	cpu->map_base = ioremap(res.start, sz);
sz               2408 drivers/irqchip/irq-gic-v3-its.c 	int sz;
sz               2422 drivers/irqchip/irq-gic-v3-its.c 	sz = nr_ites * its->ite_size;
sz               2423 drivers/irqchip/irq-gic-v3-its.c 	sz = max(sz, ITS_ITT_ALIGN) + ITS_ITT_ALIGN - 1;
sz               2424 drivers/irqchip/irq-gic-v3-its.c 	itt = kzalloc_node(sz, GFP_KERNEL, its->numa_node);
sz               2444 drivers/irqchip/irq-gic-v3-its.c 	gic_flush_dcache_to_poc(itt, sz);
sz                 29 drivers/lightnvm/pblk-sysfs.c 	ssize_t sz = 0;
sz                 40 drivers/lightnvm/pblk-sysfs.c 		sz += snprintf(page + sz, PAGE_SIZE - sz,
sz                 48 drivers/lightnvm/pblk-sysfs.c 	return sz;
sz                 94 drivers/lightnvm/pblk-sysfs.c 	ssize_t sz;
sz                 96 drivers/lightnvm/pblk-sysfs.c 	sz = snprintf(page, PAGE_SIZE,
sz                105 drivers/lightnvm/pblk-sysfs.c 	return sz;
sz                117 drivers/lightnvm/pblk-sysfs.c 	ssize_t sz = 0;
sz                123 drivers/lightnvm/pblk-sysfs.c 		sz = snprintf(page, PAGE_SIZE,
sz                133 drivers/lightnvm/pblk-sysfs.c 		sz += snprintf(page + sz, PAGE_SIZE - sz,
sz                145 drivers/lightnvm/pblk-sysfs.c 		sz = snprintf(page, PAGE_SIZE,
sz                153 drivers/lightnvm/pblk-sysfs.c 		sz += snprintf(page + sz, PAGE_SIZE - sz,
sz                161 drivers/lightnvm/pblk-sysfs.c 	return sz;
sz                171 drivers/lightnvm/pblk-sysfs.c 	ssize_t sz = 0;
sz                281 drivers/lightnvm/pblk-sysfs.c 	sz = snprintf(page, PAGE_SIZE - sz,
sz                285 drivers/lightnvm/pblk-sysfs.c 	sz += snprintf(page + sz, PAGE_SIZE - sz,
sz                295 drivers/lightnvm/pblk-sysfs.c 	sz += snprintf(page + sz, PAGE_SIZE - sz,
sz                300 drivers/lightnvm/pblk-sysfs.c 	sz += snprintf(page + sz, PAGE_SIZE - sz,
sz                306 drivers/lightnvm/pblk-sysfs.c 	return sz;
sz                314 drivers/lightnvm/pblk-sysfs.c 	ssize_t sz = 0;
sz                316 drivers/lightnvm/pblk-sysfs.c 	sz = snprintf(page, PAGE_SIZE - sz,
sz                319 drivers/lightnvm/pblk-sysfs.c 	sz += snprintf(page + sz, PAGE_SIZE - sz,
sz                323 drivers/lightnvm/pblk-sysfs.c 	sz += snprintf(page + sz, PAGE_SIZE - sz,
sz                328 drivers/lightnvm/pblk-sysfs.c 	sz += snprintf(page + sz, PAGE_SIZE - sz,
sz                334 drivers/lightnvm/pblk-sysfs.c 	return sz;
sz                345 drivers/lightnvm/pblk-sysfs.c 	int sz;
sz                347 drivers/lightnvm/pblk-sysfs.c 	sz = snprintf(page, PAGE_SIZE,
sz                352 drivers/lightnvm/pblk-sysfs.c 		sz += snprintf(page + sz, PAGE_SIZE - sz, "NaN\n");
sz                361 drivers/lightnvm/pblk-sysfs.c 		sz += snprintf(page + sz, PAGE_SIZE - sz, "%llu.%05u\n",
sz                365 drivers/lightnvm/pblk-sysfs.c 	return sz;
sz                395 drivers/lightnvm/pblk-sysfs.c 	int sz = 0;
sz                404 drivers/lightnvm/pblk-sysfs.c 			sz += snprintf(page + sz, PAGE_SIZE - sz,
sz                406 drivers/lightnvm/pblk-sysfs.c 		sz += snprintf(page + sz, PAGE_SIZE - sz, "\n");
sz                408 drivers/lightnvm/pblk-sysfs.c 		return sz;
sz                414 drivers/lightnvm/pblk-sysfs.c 	sz += snprintf(page + sz, PAGE_SIZE - sz, "0:%lld%% ",
sz                422 drivers/lightnvm/pblk-sysfs.c 		sz += snprintf(page + sz, PAGE_SIZE - sz, "%d:%lld%% ",
sz                425 drivers/lightnvm/pblk-sysfs.c 	sz += snprintf(page + sz, PAGE_SIZE - sz, "\n");
sz                427 drivers/lightnvm/pblk-sysfs.c 	return sz;
sz                 90 drivers/md/dm-cache-policy-internal.h 	ssize_t sz = *sz_ptr;
sz                 95 drivers/md/dm-cache-policy-internal.h 	*sz_ptr = sz;
sz               1663 drivers/md/dm-cache-policy-smq.c 	ssize_t sz = *sz_ptr;
sz               1671 drivers/md/dm-cache-policy-smq.c 	*sz_ptr = sz;
sz               3110 drivers/md/dm-cache-target.c 	ssize_t sz = *sz_ptr;
sz               3137 drivers/md/dm-cache-target.c 	*sz_ptr = sz;
sz               3156 drivers/md/dm-cache-target.c 	ssize_t sz = 0;
sz               3206 drivers/md/dm-cache-target.c 		emit_flags(cache, result, maxlen, &sz);
sz               3211 drivers/md/dm-cache-target.c 		if (sz < maxlen) {
sz               3212 drivers/md/dm-cache-target.c 			r = policy_emit_config_values(cache->policy, result, maxlen, &sz);
sz                579 drivers/md/dm-clone-target.c 	unsigned int i, sz;
sz                582 drivers/md/dm-clone-target.c 	sz = 1 << HASH_TABLE_BITS;
sz                584 drivers/md/dm-clone-target.c 	clone->ht = kvmalloc(sz * sizeof(struct hash_table_bucket), GFP_KERNEL);
sz                588 drivers/md/dm-clone-target.c 	for (i = 0; i < sz; i++) {
sz               1396 drivers/md/dm-clone-target.c 	ssize_t sz = *sz_ptr;
sz               1410 drivers/md/dm-clone-target.c 	*sz_ptr = sz;
sz               1416 drivers/md/dm-clone-target.c 	ssize_t sz = *sz_ptr;
sz               1423 drivers/md/dm-clone-target.c 	*sz_ptr = sz;
sz               1439 drivers/md/dm-clone-target.c 	ssize_t sz = 0;
sz               1481 drivers/md/dm-clone-target.c 		emit_flags(clone, result, maxlen, &sz);
sz               1482 drivers/md/dm-clone-target.c 		emit_core_args(clone, result, maxlen, &sz);
sz               2818 drivers/md/dm-crypt.c 	unsigned i, sz = 0;
sz                311 drivers/md/dm-delay.c 	int sz = 0;
sz                446 drivers/md/dm-dust.c 	unsigned int sz = 0;
sz               1603 drivers/md/dm-era-target.c 	ssize_t sz = 0;
sz                414 drivers/md/dm-flakey.c 	unsigned sz = 0;
sz               2921 drivers/md/dm-integrity.c 	size_t sz = 0;
sz                799 drivers/md/dm-log-userspace-base.c 	size_t sz = (size_t)maxlen;
sz                805 drivers/md/dm-log-userspace-base.c 					 NULL, 0, result, &sz);
sz                808 drivers/md/dm-log-userspace-base.c 			sz = 0;
sz                813 drivers/md/dm-log-userspace-base.c 		sz = 0;
sz                824 drivers/md/dm-log-userspace-base.c 	return (r) ? 0 : (int)sz;
sz                823 drivers/md/dm-log-writes.c 	unsigned sz = 0;
sz                784 drivers/md/dm-log.c 	int sz = 0;
sz                798 drivers/md/dm-log.c 	return sz;
sz                804 drivers/md/dm-log.c 	int sz = 0;
sz                822 drivers/md/dm-log.c 	return sz;
sz               1668 drivers/md/dm-mpath.c 	int sz = 0;
sz               1738 drivers/md/dm-mpath.c 				sz += pg->ps.type->status(&pg->ps, NULL, type,
sz               1739 drivers/md/dm-mpath.c 							  result + sz,
sz               1740 drivers/md/dm-mpath.c 							  maxlen - sz);
sz               1752 drivers/md/dm-mpath.c 					sz += pg->ps.type->status(&pg->ps,
sz               1753 drivers/md/dm-mpath.c 					      &p->path, type, result + sz,
sz               1754 drivers/md/dm-mpath.c 					      maxlen - sz);
sz               1764 drivers/md/dm-mpath.c 				sz += pg->ps.type->status(&pg->ps, NULL, type,
sz               1765 drivers/md/dm-mpath.c 							  result + sz,
sz               1766 drivers/md/dm-mpath.c 							  maxlen - sz);
sz               1776 drivers/md/dm-mpath.c 					sz += pg->ps.type->status(&pg->ps,
sz               1777 drivers/md/dm-mpath.c 					      &p->path, type, result + sz,
sz               1778 drivers/md/dm-mpath.c 					      maxlen - sz);
sz                 89 drivers/md/dm-queue-length.c 	unsigned sz = 0;
sz                108 drivers/md/dm-queue-length.c 	return sz;
sz               3511 drivers/md/dm-raid.c 	unsigned int sz = 0;
sz               1396 drivers/md/dm-raid1.c 	unsigned int m, sz = 0;
sz               1415 drivers/md/dm-raid1.c 		sz += log->type->status(log, type, result+sz, maxlen-sz);
sz               1420 drivers/md/dm-raid1.c 		sz = log->type->status(log, type, result, maxlen);
sz                 91 drivers/md/dm-round-robin.c 	int sz = 0;
sz                106 drivers/md/dm-round-robin.c 	return sz;
sz                 85 drivers/md/dm-service-time.c 	unsigned sz = 0;
sz                105 drivers/md/dm-service-time.c 	return sz;
sz                910 drivers/md/dm-snap-persistent.c 	unsigned sz = 0;
sz                920 drivers/md/dm-snap-persistent.c 	return sz;
sz                 91 drivers/md/dm-snap-transient.c 	unsigned sz = 0;
sz                100 drivers/md/dm-snap-transient.c 	return sz;
sz               2313 drivers/md/dm-snap.c 	unsigned sz = 0;
sz               2356 drivers/md/dm-snap.c 		sz += snap->store->type->status(snap->store, type, result + sz,
sz               2357 drivers/md/dm-snap.c 						maxlen - sz);
sz                447 drivers/md/dm-stats.c 	unsigned sz = 0;
sz                803 drivers/md/dm-stats.c 	unsigned sz = 0;
sz                866 drivers/md/dm-stats.c 		if (unlikely(sz + 1 >= maxlen))
sz                399 drivers/md/dm-stripe.c 	unsigned int sz = 0;
sz                493 drivers/md/dm-switch.c 	unsigned sz = 0;
sz               3898 drivers/md/dm-thin.c 		       unsigned sz, unsigned maxlen)
sz               3931 drivers/md/dm-thin.c 	unsigned sz = 0;
sz               4044 drivers/md/dm-thin.c 		emit_flags(&pt->requested_pf, result, sz, maxlen);
sz               4417 drivers/md/dm-thin.c 	ssize_t sz = 0;
sz                148 drivers/md/dm-unstripe.c 	unsigned int sz = 0;
sz                526 drivers/md/dm-verity-fec.c unsigned verity_fec_status_table(struct dm_verity *v, unsigned sz,
sz                530 drivers/md/dm-verity-fec.c 		return sz;
sz                541 drivers/md/dm-verity-fec.c 	return sz;
sz                 74 drivers/md/dm-verity-fec.h extern unsigned verity_fec_status_table(struct dm_verity *v, unsigned sz,
sz                109 drivers/md/dm-verity-fec.h 					       unsigned sz, char *result,
sz                112 drivers/md/dm-verity-fec.h 	return sz;
sz                683 drivers/md/dm-verity-target.c 	unsigned sz = 0;
sz                739 drivers/md/dm-verity-target.c 		sz = verity_fec_status_table(v, sz, result, maxlen);
sz               2271 drivers/md/dm-writecache.c 	unsigned sz = 0;
sz                873 drivers/md/dm.c 	sector_t sz = (sector_t)geo->cylinders * geo->heads * geo->sectors;
sz                875 drivers/md/dm.c 	if (geo->start > sz) {
sz                215 drivers/media/dvb-frontends/au8522_dig.c static int au8522_mse2snr_lookup(struct mse2snr_tab *tab, int sz, int mse,
sz                221 drivers/media/dvb-frontends/au8522_dig.c 	for (i = 0; i < sz; i++) {
sz                422 drivers/media/i2c/tda1997x.c 	int sz = 0;
sz                430 drivers/media/i2c/tda1997x.c 		sz++;
sz                433 drivers/media/i2c/tda1997x.c 	return sz;
sz                 71 drivers/media/mc/mc-devnode.c 		size_t sz, loff_t *off)
sz                 79 drivers/media/mc/mc-devnode.c 	return devnode->fops->read(filp, buf, sz, off);
sz                 83 drivers/media/mc/mc-devnode.c 		size_t sz, loff_t *off)
sz                 91 drivers/media/mc/mc-devnode.c 	return devnode->fops->write(filp, buf, sz, off);
sz                133 drivers/media/pci/cx18/cx18-dvb.c 		size_t sz = (*fw)->size;
sz                134 drivers/media/pci/cx18/cx18-dvb.c 		if (sz < 2 || sz > 64 || (sz % 2) != 0) {
sz                136 drivers/media/pci/cx18/cx18-dvb.c 				 fn, (unsigned long) sz);
sz                137 drivers/media/pci/cx18/cx18-firmware.c 	int sz;
sz                149 drivers/media/pci/cx18/cx18-firmware.c 	sz = fw->size;
sz                170 drivers/media/pci/cx18/cx18-firmware.c 		if (offset + seghdr.size > sz)
sz                371 drivers/media/pci/cx18/cx18-firmware.c 	int sz, retries;
sz                392 drivers/media/pci/cx18/cx18-firmware.c 	sz = load_cpu_fw_direct(CX18_CPU_FIRMWARE, cx->enc_mem, cx);
sz                393 drivers/media/pci/cx18/cx18-firmware.c 	if (sz <= 0)
sz                394 drivers/media/pci/cx18/cx18-firmware.c 		return sz;
sz                400 drivers/media/pci/cx18/cx18-firmware.c 	sz = load_apu_fw_direct(CX18_APU_FIRMWARE, cx->enc_mem, cx,
sz                402 drivers/media/pci/cx18/cx18-firmware.c 	if (sz <= 0)
sz                403 drivers/media/pci/cx18/cx18-firmware.c 		return sz;
sz                435 drivers/media/pci/cx18/cx18-firmware.c 	sz = cx18_vapi_result(cx, api_args, CX18_CPU_DEBUG_PEEK32, 1, 0);
sz                436 drivers/media/pci/cx18/cx18-firmware.c 	if (sz < 0)
sz                437 drivers/media/pci/cx18/cx18-firmware.c 		return sz;
sz                137 drivers/media/platform/am437x/am437x-vpfe.h static inline u8 ccdc_data_size_max_bit(enum vpfe_ccdc_data_size sz)
sz                139 drivers/media/platform/am437x/am437x-vpfe.h 	return sz == VPFE_CCDC_DATA_8BITS ? 7 : 15 - sz;
sz                 38 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c 	unsigned int sz;
sz                403 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c 	vsi->mv_buf.sz = (unsigned int)mem->size;
sz                420 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c 	vsi->seg_id_buf.sz = (unsigned int)mem->size;
sz                669 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c 	inst->vsi->mv_buf.sz = (unsigned long)inst->mv_buf.size;
sz                674 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c 	inst->vsi->seg_id_buf.sz = (unsigned long)inst->seg_id_buf.size;
sz                726 drivers/media/platform/qcom/venus/helpers.c 	u32 hfi_fmt, sz;
sz                752 drivers/media/platform/qcom/venus/helpers.c 		sz = ALIGN(height, 32) * ALIGN(width, 32) * 3 / 2 / 2;
sz                753 drivers/media/platform/qcom/venus/helpers.c 		return ALIGN(sz, SZ_4K);
sz                460 drivers/media/platform/qcom/venus/hfi_cmds.c 		struct hfi_buffer_size_actual *in = pdata, *sz = prop_data;
sz                462 drivers/media/platform/qcom/venus/hfi_cmds.c 		sz->size = in->size;
sz                463 drivers/media/platform/qcom/venus/hfi_cmds.c 		sz->type = in->type;
sz                464 drivers/media/platform/qcom/venus/hfi_cmds.c 		pkt->shdr.hdr.size += sizeof(u32) + sizeof(*sz);
sz                351 drivers/media/platform/vicodec/vicodec-core.c 					     u8 **pp, u32 sz)
sz                364 drivers/media/platform/vicodec/vicodec-core.c 		for (; p < *pp + sz; p++) {
sz                368 drivers/media/platform/vicodec/vicodec-core.c 				   *pp + sz - p);
sz                371 drivers/media/platform/vicodec/vicodec-core.c 				p = *pp + sz;
sz                375 drivers/media/platform/vicodec/vicodec-core.c 			if (*pp + sz - p < copy)
sz                376 drivers/media/platform/vicodec/vicodec-core.c 				copy = *pp + sz - p;
sz                397 drivers/media/platform/vicodec/vicodec-core.c 		if (*pp + sz - p < copy)
sz                398 drivers/media/platform/vicodec/vicodec-core.c 			copy = *pp + sz - p;
sz                579 drivers/media/platform/vicodec/vicodec-core.c 	u32 sz;
sz                602 drivers/media/platform/vicodec/vicodec-core.c 	sz = vb2_get_plane_payload(&src_buf->vb2_buf, 0);
sz                608 drivers/media/platform/vicodec/vicodec-core.c 		state = get_next_header(ctx, &p, p_src + sz - p);
sz                631 drivers/media/platform/vicodec/vicodec-core.c 		if (copy > p_src + sz - p)
sz                632 drivers/media/platform/vicodec/vicodec-core.c 			copy = p_src + sz - p;
sz                649 drivers/media/platform/vicodec/vicodec-core.c 	if (ctx->comp_has_frame && sz - ctx->cur_buf_offset >=
sz                653 drivers/media/platform/vicodec/vicodec-core.c 		u32 remaining = sz - ctx->cur_buf_offset - sizeof(*p_hdr);
sz               1470 drivers/media/platform/vicodec/vicodec-core.c 	unsigned int sz = vb2_get_plane_payload(&vbuf->vb2_buf, 0);
sz               1529 drivers/media/platform/vicodec/vicodec-core.c 			get_next_header(ctx, &p, p_src + sz - p);
sz                574 drivers/media/platform/vivid/vivid-vid-cap.c 		const struct v4l2_frmsize_discrete *sz =
sz                579 drivers/media/platform/vivid/vivid-vid-cap.c 		w = sz->width;
sz                580 drivers/media/platform/vivid/vivid-vid-cap.c 		h = sz->height;
sz                114 drivers/media/rc/streamzap.c static void sz_push(struct streamzap_ir *sz, struct ir_raw_event rawir)
sz                116 drivers/media/rc/streamzap.c 	dev_dbg(sz->dev, "Storing %s with duration %u us\n",
sz                118 drivers/media/rc/streamzap.c 	ir_raw_event_store_with_filter(sz->rdev, &rawir);
sz                121 drivers/media/rc/streamzap.c static void sz_push_full_pulse(struct streamzap_ir *sz,
sz                126 drivers/media/rc/streamzap.c 	if (sz->idle) {
sz                129 drivers/media/rc/streamzap.c 		sz->signal_last = sz->signal_start;
sz                130 drivers/media/rc/streamzap.c 		sz->signal_start = ktime_get_real();
sz                132 drivers/media/rc/streamzap.c 		delta = ktime_us_delta(sz->signal_start, sz->signal_last);
sz                139 drivers/media/rc/streamzap.c 			rawir.duration -= sz->sum;
sz                144 drivers/media/rc/streamzap.c 		sz_push(sz, rawir);
sz                146 drivers/media/rc/streamzap.c 		sz->idle = false;
sz                147 drivers/media/rc/streamzap.c 		sz->sum = 0;
sz                153 drivers/media/rc/streamzap.c 	sz->sum += rawir.duration;
sz                157 drivers/media/rc/streamzap.c 	sz_push(sz, rawir);
sz                160 drivers/media/rc/streamzap.c static void sz_push_half_pulse(struct streamzap_ir *sz,
sz                163 drivers/media/rc/streamzap.c 	sz_push_full_pulse(sz, (value & SZ_PULSE_MASK) >> 4);
sz                166 drivers/media/rc/streamzap.c static void sz_push_full_space(struct streamzap_ir *sz,
sz                174 drivers/media/rc/streamzap.c 	sz->sum += rawir.duration;
sz                176 drivers/media/rc/streamzap.c 	sz_push(sz, rawir);
sz                179 drivers/media/rc/streamzap.c static void sz_push_half_space(struct streamzap_ir *sz,
sz                182 drivers/media/rc/streamzap.c 	sz_push_full_space(sz, value & SZ_SPACE_MASK);
sz                193 drivers/media/rc/streamzap.c 	struct streamzap_ir *sz;
sz                200 drivers/media/rc/streamzap.c 	sz = urb->context;
sz                211 drivers/media/rc/streamzap.c 		dev_err(sz->dev, "urb terminated, status: %d\n", urb->status);
sz                217 drivers/media/rc/streamzap.c 	dev_dbg(sz->dev, "%s: received urb, len %d\n", __func__, len);
sz                219 drivers/media/rc/streamzap.c 		dev_dbg(sz->dev, "sz->buf_in[%d]: %x\n",
sz                220 drivers/media/rc/streamzap.c 			i, (unsigned char)sz->buf_in[i]);
sz                221 drivers/media/rc/streamzap.c 		switch (sz->decoder_state) {
sz                223 drivers/media/rc/streamzap.c 			if ((sz->buf_in[i] & SZ_PULSE_MASK) ==
sz                225 drivers/media/rc/streamzap.c 				sz->decoder_state = FullPulse;
sz                227 drivers/media/rc/streamzap.c 			} else if ((sz->buf_in[i] & SZ_SPACE_MASK)
sz                229 drivers/media/rc/streamzap.c 				sz_push_half_pulse(sz, sz->buf_in[i]);
sz                230 drivers/media/rc/streamzap.c 				sz->decoder_state = FullSpace;
sz                233 drivers/media/rc/streamzap.c 				sz_push_half_pulse(sz, sz->buf_in[i]);
sz                234 drivers/media/rc/streamzap.c 				sz_push_half_space(sz, sz->buf_in[i]);
sz                238 drivers/media/rc/streamzap.c 			sz_push_full_pulse(sz, sz->buf_in[i]);
sz                239 drivers/media/rc/streamzap.c 			sz->decoder_state = IgnorePulse;
sz                242 drivers/media/rc/streamzap.c 			if (sz->buf_in[i] == SZ_TIMEOUT) {
sz                245 drivers/media/rc/streamzap.c 					.duration = sz->rdev->timeout
sz                247 drivers/media/rc/streamzap.c 				sz->idle = true;
sz                248 drivers/media/rc/streamzap.c 				if (sz->timeout_enabled)
sz                249 drivers/media/rc/streamzap.c 					sz_push(sz, rawir);
sz                250 drivers/media/rc/streamzap.c 				ir_raw_event_handle(sz->rdev);
sz                251 drivers/media/rc/streamzap.c 				ir_raw_event_reset(sz->rdev);
sz                253 drivers/media/rc/streamzap.c 				sz_push_full_space(sz, sz->buf_in[i]);
sz                255 drivers/media/rc/streamzap.c 			sz->decoder_state = PulseSpace;
sz                258 drivers/media/rc/streamzap.c 			if ((sz->buf_in[i] & SZ_SPACE_MASK) ==
sz                260 drivers/media/rc/streamzap.c 				sz->decoder_state = FullSpace;
sz                263 drivers/media/rc/streamzap.c 			sz_push_half_space(sz, sz->buf_in[i]);
sz                264 drivers/media/rc/streamzap.c 			sz->decoder_state = PulseSpace;
sz                269 drivers/media/rc/streamzap.c 	ir_raw_event_handle(sz->rdev);
sz                275 drivers/media/rc/streamzap.c static struct rc_dev *streamzap_init_rc_dev(struct streamzap_ir *sz)
sz                278 drivers/media/rc/streamzap.c 	struct device *dev = sz->dev;
sz                287 drivers/media/rc/streamzap.c 	snprintf(sz->name, sizeof(sz->name), "Streamzap PC Remote Infrared Receiver (%04x:%04x)",
sz                288 drivers/media/rc/streamzap.c 		 le16_to_cpu(sz->usbdev->descriptor.idVendor),
sz                289 drivers/media/rc/streamzap.c 		 le16_to_cpu(sz->usbdev->descriptor.idProduct));
sz                290 drivers/media/rc/streamzap.c 	usb_make_path(sz->usbdev, sz->phys, sizeof(sz->phys));
sz                291 drivers/media/rc/streamzap.c 	strlcat(sz->phys, "/input0", sizeof(sz->phys));
sz                293 drivers/media/rc/streamzap.c 	rdev->device_name = sz->name;
sz                294 drivers/media/rc/streamzap.c 	rdev->input_phys = sz->phys;
sz                295 drivers/media/rc/streamzap.c 	usb_to_input_id(sz->usbdev, &rdev->input_id);
sz                297 drivers/media/rc/streamzap.c 	rdev->priv = sz;
sz                327 drivers/media/rc/streamzap.c 	struct streamzap_ir *sz = NULL;
sz                333 drivers/media/rc/streamzap.c 	sz = kzalloc(sizeof(struct streamzap_ir), GFP_KERNEL);
sz                334 drivers/media/rc/streamzap.c 	if (!sz)
sz                337 drivers/media/rc/streamzap.c 	sz->usbdev = usbdev;
sz                338 drivers/media/rc/streamzap.c 	sz->interface = intf;
sz                350 drivers/media/rc/streamzap.c 	sz->endpoint = &(iface_host->endpoint[0].desc);
sz                351 drivers/media/rc/streamzap.c 	if (!usb_endpoint_dir_in(sz->endpoint)) {
sz                353 drivers/media/rc/streamzap.c 			__func__, sz->endpoint->bEndpointAddress);
sz                358 drivers/media/rc/streamzap.c 	if (!usb_endpoint_xfer_int(sz->endpoint)) {
sz                360 drivers/media/rc/streamzap.c 			__func__, sz->endpoint->bmAttributes);
sz                365 drivers/media/rc/streamzap.c 	pipe = usb_rcvintpipe(usbdev, sz->endpoint->bEndpointAddress);
sz                376 drivers/media/rc/streamzap.c 	sz->buf_in = usb_alloc_coherent(usbdev, maxp, GFP_ATOMIC, &sz->dma_in);
sz                377 drivers/media/rc/streamzap.c 	if (!sz->buf_in)
sz                380 drivers/media/rc/streamzap.c 	sz->urb_in = usb_alloc_urb(0, GFP_KERNEL);
sz                381 drivers/media/rc/streamzap.c 	if (!sz->urb_in)
sz                384 drivers/media/rc/streamzap.c 	sz->dev = &intf->dev;
sz                385 drivers/media/rc/streamzap.c 	sz->buf_in_len = maxp;
sz                398 drivers/media/rc/streamzap.c 	sz->rdev = streamzap_init_rc_dev(sz);
sz                399 drivers/media/rc/streamzap.c 	if (!sz->rdev)
sz                402 drivers/media/rc/streamzap.c 	sz->idle = true;
sz                403 drivers/media/rc/streamzap.c 	sz->decoder_state = PulseSpace;
sz                405 drivers/media/rc/streamzap.c 	sz->timeout_enabled = true;
sz                406 drivers/media/rc/streamzap.c 	sz->rdev->timeout = ((US_TO_NS(SZ_TIMEOUT * SZ_RESOLUTION) &
sz                411 drivers/media/rc/streamzap.c 	sz->min_timeout = US_TO_NS(SZ_TIMEOUT * SZ_RESOLUTION);
sz                412 drivers/media/rc/streamzap.c 	sz->max_timeout = US_TO_NS(SZ_TIMEOUT * SZ_RESOLUTION);
sz                415 drivers/media/rc/streamzap.c 	sz->signal_start = ktime_get_real();
sz                418 drivers/media/rc/streamzap.c 	usb_fill_int_urb(sz->urb_in, usbdev, pipe, sz->buf_in,
sz                420 drivers/media/rc/streamzap.c 			 sz, sz->endpoint->bInterval);
sz                421 drivers/media/rc/streamzap.c 	sz->urb_in->transfer_dma = sz->dma_in;
sz                422 drivers/media/rc/streamzap.c 	sz->urb_in->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;
sz                424 drivers/media/rc/streamzap.c 	usb_set_intfdata(intf, sz);
sz                426 drivers/media/rc/streamzap.c 	if (usb_submit_urb(sz->urb_in, GFP_ATOMIC))
sz                427 drivers/media/rc/streamzap.c 		dev_err(sz->dev, "urb submit failed\n");
sz                429 drivers/media/rc/streamzap.c 	dev_info(sz->dev, "Registered %s on usb%d:%d\n", name,
sz                435 drivers/media/rc/streamzap.c 	usb_free_urb(sz->urb_in);
sz                437 drivers/media/rc/streamzap.c 	usb_free_coherent(usbdev, maxp, sz->buf_in, sz->dma_in);
sz                439 drivers/media/rc/streamzap.c 	kfree(sz);
sz                456 drivers/media/rc/streamzap.c 	struct streamzap_ir *sz = usb_get_intfdata(interface);
sz                461 drivers/media/rc/streamzap.c 	if (!sz)
sz                464 drivers/media/rc/streamzap.c 	sz->usbdev = NULL;
sz                465 drivers/media/rc/streamzap.c 	rc_unregister_device(sz->rdev);
sz                466 drivers/media/rc/streamzap.c 	usb_kill_urb(sz->urb_in);
sz                467 drivers/media/rc/streamzap.c 	usb_free_urb(sz->urb_in);
sz                468 drivers/media/rc/streamzap.c 	usb_free_coherent(usbdev, sz->buf_in_len, sz->buf_in, sz->dma_in);
sz                470 drivers/media/rc/streamzap.c 	kfree(sz);
sz                475 drivers/media/rc/streamzap.c 	struct streamzap_ir *sz = usb_get_intfdata(intf);
sz                477 drivers/media/rc/streamzap.c 	usb_kill_urb(sz->urb_in);
sz                484 drivers/media/rc/streamzap.c 	struct streamzap_ir *sz = usb_get_intfdata(intf);
sz                486 drivers/media/rc/streamzap.c 	if (usb_submit_urb(sz->urb_in, GFP_ATOMIC)) {
sz                487 drivers/media/rc/streamzap.c 		dev_err(sz->dev, "Error submitting urb\n");
sz                999 drivers/media/usb/gspca/sn9c20x.c 			const struct i2c_reg_u8 *buf, int sz)
sz               1001 drivers/media/usb/gspca/sn9c20x.c 	while (--sz >= 0) {
sz               1029 drivers/media/usb/gspca/sn9c20x.c 			const struct i2c_reg_u16 *buf, int sz)
sz               1031 drivers/media/usb/gspca/sn9c20x.c 	while (--sz >= 0) {
sz                305 drivers/media/v4l2-core/v4l2-dev.c 		size_t sz, loff_t *off)
sz                313 drivers/media/v4l2-core/v4l2-dev.c 		ret = vdev->fops->read(filp, buf, sz, off);
sz                317 drivers/media/v4l2-core/v4l2-dev.c 			video_device_node_name(vdev), sz, ret);
sz                322 drivers/media/v4l2-core/v4l2-dev.c 		size_t sz, loff_t *off)
sz                330 drivers/media/v4l2-core/v4l2-dev.c 		ret = vdev->fops->write(filp, buf, sz, off);
sz                334 drivers/media/v4l2-core/v4l2-dev.c 			video_device_node_name(vdev), sz, ret);
sz               1159 drivers/media/v4l2-core/v4l2-ioctl.c 	const unsigned sz = sizeof(fmt->description);
sz               1386 drivers/media/v4l2-core/v4l2-ioctl.c 			snprintf(fmt->description, sz, "%c%c%c%c%s",
sz               1397 drivers/media/v4l2-core/v4l2-ioctl.c 		WARN_ON(strscpy(fmt->description, descr, sz) < 0);
sz                240 drivers/memory/pl353-smc.c 	u32 reg, sz;
sz                244 drivers/memory/pl353-smc.c 		sz = 0;
sz                247 drivers/memory/pl353-smc.c 		sz = 1;
sz                250 drivers/memory/pl353-smc.c 		sz = 2;
sz                253 drivers/memory/pl353-smc.c 		sz = 3;
sz                261 drivers/memory/pl353-smc.c 	reg |= sz;
sz               2701 drivers/message/fusion/mptbase.c 	int sz;
sz               2741 drivers/message/fusion/mptbase.c 		sz = ioc->alloc_sz;
sz               2744 drivers/message/fusion/mptbase.c 		pci_free_consistent(ioc->pcidev, sz,
sz               2749 drivers/message/fusion/mptbase.c 		ioc->alloc_total -= sz;
sz               2753 drivers/message/fusion/mptbase.c 		sz = (ioc->req_depth * MPT_SENSE_BUFFER_ALLOC);
sz               2754 drivers/message/fusion/mptbase.c 		pci_free_consistent(ioc->pcidev, sz,
sz               2757 drivers/message/fusion/mptbase.c 		ioc->alloc_total -= sz;
sz               2761 drivers/message/fusion/mptbase.c 		sz = MPTCTL_EVENT_LOG_SIZE * sizeof(MPT_IOCTL_EVENTS);
sz               2764 drivers/message/fusion/mptbase.c 		ioc->alloc_total -= sz;
sz               2777 drivers/message/fusion/mptbase.c 		sz = ioc->spi_data.IocPg4Sz;
sz               2778 drivers/message/fusion/mptbase.c 		pci_free_consistent(ioc->pcidev, sz,
sz               2782 drivers/message/fusion/mptbase.c 		ioc->alloc_total -= sz;
sz               3087 drivers/message/fusion/mptbase.c 	int			 sz;
sz               3202 drivers/message/fusion/mptbase.c 		r = sz = facts->BlockSize;
sz               3203 drivers/message/fusion/mptbase.c 		vv = ((63 / (sz * 4)) + 1) & 0x03;
sz               3205 drivers/message/fusion/mptbase.c 		while ( sz )
sz               3208 drivers/message/fusion/mptbase.c 			sz = sz >> 1;
sz               3550 drivers/message/fusion/mptbase.c 	int sz;
sz               3555 drivers/message/fusion/mptbase.c 	sz = ioc->facts.FWImageSize;
sz               3557 drivers/message/fusion/mptbase.c 		 ioc->name, ioc->cached_fw, (void *)(ulong)ioc->cached_fw_dma, sz, sz));
sz               3558 drivers/message/fusion/mptbase.c 	pci_free_consistent(ioc->pcidev, sz, ioc->cached_fw, ioc->cached_fw_dma);
sz               3559 drivers/message/fusion/mptbase.c 	ioc->alloc_total -= sz;
sz               3585 drivers/message/fusion/mptbase.c 	int			 ii, sz, reply_sz;
sz               3590 drivers/message/fusion/mptbase.c 	if ((sz = ioc->facts.FWImageSize) == 0)
sz               3597 drivers/message/fusion/mptbase.c 	    ioc->name, ioc->cached_fw, (void *)(ulong)ioc->cached_fw_dma, sz, sz));
sz               3619 drivers/message/fusion/mptbase.c 	ptcsge->ImageSize = cpu_to_le32(sz);
sz               3622 drivers/message/fusion/mptbase.c 	flagsLength = MPT_SGE_FLAGS_SSIMPLE_READ | sz;
sz               4328 drivers/message/fusion/mptbase.c 	int		sz, ii, num_chain;
sz               4335 drivers/message/fusion/mptbase.c 		sz = ioc->req_depth * sizeof(int);
sz               4336 drivers/message/fusion/mptbase.c 		mem = kmalloc(sz, GFP_ATOMIC);
sz               4342 drivers/message/fusion/mptbase.c 			 	ioc->name, mem, sz));
sz               4343 drivers/message/fusion/mptbase.c 		mem = kmalloc(sz, GFP_ATOMIC);
sz               4349 drivers/message/fusion/mptbase.c 			 	ioc->name, mem, sz));
sz               4408 drivers/message/fusion/mptbase.c 	sz = num_chain * sizeof(int);
sz               4410 drivers/message/fusion/mptbase.c 		mem = kmalloc(sz, GFP_ATOMIC);
sz               4416 drivers/message/fusion/mptbase.c 			 	ioc->name, mem, sz));
sz               4420 drivers/message/fusion/mptbase.c 	memset(mem, 0xFF, sz);
sz               4442 drivers/message/fusion/mptbase.c 	int i, reply_sz, sz, total_size, num_chain;
sz               4486 drivers/message/fusion/mptbase.c 		sz = (ioc->req_sz * ioc->req_depth);
sz               4490 drivers/message/fusion/mptbase.c 			 	ioc->name, sz, sz));
sz               4491 drivers/message/fusion/mptbase.c 		total_size += sz;
sz               4493 drivers/message/fusion/mptbase.c 		sz = num_chain * ioc->req_sz; /* chain buffer pool size */
sz               4497 drivers/message/fusion/mptbase.c 			 	ioc->name, sz, sz, num_chain));
sz               4499 drivers/message/fusion/mptbase.c 		total_size += sz;
sz               4576 drivers/message/fusion/mptbase.c 		sz = (ioc->req_depth * MPT_SENSE_BUFFER_ALLOC);
sz               4578 drivers/message/fusion/mptbase.c 			pci_alloc_consistent(ioc->pcidev, sz, &ioc->sense_buf_pool_dma);
sz               4586 drivers/message/fusion/mptbase.c 		ioc->alloc_total += sz;
sz               4615 drivers/message/fusion/mptbase.c 		sz = ioc->alloc_sz;
sz               4617 drivers/message/fusion/mptbase.c 				sz,
sz               4621 drivers/message/fusion/mptbase.c 		ioc->alloc_total -= sz;
sz               4624 drivers/message/fusion/mptbase.c 		sz = (ioc->req_depth * MPT_SENSE_BUFFER_ALLOC);
sz               4626 drivers/message/fusion/mptbase.c 				sz,
sz               5374 drivers/message/fusion/mptbase.c 		int	 sz;
sz               5376 drivers/message/fusion/mptbase.c 		sz = MPT_MAX_SCSI_DEVICES * sizeof(int);
sz               5377 drivers/message/fusion/mptbase.c 		mem = kmalloc(sz, GFP_ATOMIC);
sz               5384 drivers/message/fusion/mptbase.c 			ioc->name, ioc->spi_data.nvram, sz));
sz               6701 drivers/message/fusion/mptbase.c 	int		 sz;
sz               6735 drivers/message/fusion/mptbase.c 	sz = (ioc->req_sz * ioc->req_depth) + 128;
sz               6736 drivers/message/fusion/mptbase.c 	sz = ((sz + 0x1000UL - 1UL) / 0x1000) * 0x1000;
sz               6738 drivers/message/fusion/mptbase.c 					ioc->req_sz, ioc->req_depth, ioc->req_sz*ioc->req_depth, sz);
sz               6745 drivers/message/fusion/mptbase.c 	sz = (ioc->reply_sz * ioc->reply_depth) + 128;
sz               6747 drivers/message/fusion/mptbase.c 					ioc->reply_sz, ioc->reply_depth, ioc->reply_sz*ioc->reply_depth, sz);
sz                205 drivers/message/fusion/mptctl.c 	int	sz;
sz                227 drivers/message/fusion/mptctl.c 	sz = min(ioc->reply_sz, 4*reply->u.reply.MsgLength);
sz                228 drivers/message/fusion/mptctl.c 	memcpy(ioc->ioctl_cmds.reply, reply, sz);
sz                251 drivers/message/fusion/mptctl.c 			sz = req->u.scsireq.SenseBufferLength;
sz                256 drivers/message/fusion/mptctl.c 			memcpy(ioc->ioctl_cmds.sense, sense_data, sz);
sz               1576 drivers/message/fusion/mptctl.c 		int sz = MPTCTL_EVENT_LOG_SIZE * sizeof(MPT_IOCTL_EVENTS);
sz               1577 drivers/message/fusion/mptctl.c 		ioc->events = kzalloc(sz, GFP_KERNEL);
sz               1584 drivers/message/fusion/mptctl.c 		ioc->alloc_total += sz;
sz               1746 drivers/message/fusion/mptctl.c 	int		sz, rc = 0;
sz               1780 drivers/message/fusion/mptctl.c 	sz = karg.dataSgeOffset * 4;
sz               1782 drivers/message/fusion/mptctl.c 		sz += ioc->SGE_size;
sz               1784 drivers/message/fusion/mptctl.c 		sz += ioc->SGE_size;
sz               1786 drivers/message/fusion/mptctl.c 	if (sz > ioc->req_sz) {
sz               1789 drivers/message/fusion/mptctl.c 			ioc->name, __FILE__, __LINE__, sz, ioc->req_sz);
sz               2235 drivers/message/fusion/mptctl.c 			sz = min(karg.maxReplyBytes,
sz               2238 drivers/message/fusion/mptctl.c 			 sz = min(ioc->reply_sz, 4*ioc->ioctl_cmds.reply[2]);
sz               2240 drivers/message/fusion/mptctl.c 		if (sz > 0) {
sz               2242 drivers/message/fusion/mptctl.c 				 ioc->ioctl_cmds.reply, sz)){
sz               2256 drivers/message/fusion/mptctl.c 		sz = min(karg.maxSenseBytes, MPT_SENSE_BUFFER_SIZE);
sz               2257 drivers/message/fusion/mptctl.c 		if (sz > 0) {
sz               2259 drivers/message/fusion/mptctl.c 				ioc->ioctl_cmds.sense, sz)) {
sz               2844 drivers/message/fusion/mptsas.c 	u32 sz;
sz               2868 drivers/message/fusion/mptsas.c 	sz = sizeof(struct rep_manu_request) + sizeof(struct rep_manu_reply);
sz               2870 drivers/message/fusion/mptsas.c 	data_out = pci_alloc_consistent(ioc->pcidev, sz, &data_out_dma);
sz               2961 drivers/message/fusion/mptsas.c 		pci_free_consistent(ioc->pcidev, sz, data_out, data_out_dma);
sz               2631 drivers/message/fusion/mptscsih.c 	int		 sz;
sz               2652 drivers/message/fusion/mptscsih.c 		sz = min_t(int, pReq->SenseBufferLength,
sz               2654 drivers/message/fusion/mptscsih.c 		memcpy(ioc->internal_cmds.sense, sense_data, sz);
sz                411 drivers/misc/cxl/guest.c static int _guest_afu_cr_readXX(int sz, struct cxl_afu *afu, int cr_idx,
sz                418 drivers/misc/cxl/guest.c 	if (afu->crs_len < sz)
sz                429 drivers/misc/cxl/guest.c 			virt_to_phys((void *)cr), sz);
sz                433 drivers/misc/cxl/guest.c 	switch (sz) {
sz                300 drivers/mmc/core/core.c 	unsigned int i, sz = 0;
sz                319 drivers/mmc/core/core.c 			sz += sg->length;
sz                320 drivers/mmc/core/core.c 		if (sz != mrq->data->blocks * mrq->data->blksz)
sz               1504 drivers/mmc/core/core.c 	unsigned int sz;
sz               1530 drivers/mmc/core/core.c 		sz = (card->csd.capacity << (card->csd.read_blkbits - 9)) >> 11;
sz               1531 drivers/mmc/core/core.c 		if (sz < 128)
sz               1533 drivers/mmc/core/core.c 		else if (sz < 512)
sz               1535 drivers/mmc/core/core.c 		else if (sz < 1024)
sz               1542 drivers/mmc/core/core.c 			sz = card->pref_erase % card->erase_size;
sz               1543 drivers/mmc/core/core.c 			if (sz)
sz               1544 drivers/mmc/core/core.c 				card->pref_erase += card->erase_size - sz;
sz                414 drivers/mmc/core/mmc_test.c 	unsigned long sz = size;
sz                427 drivers/mmc/core/mmc_test.c 			if (len > sz)
sz                428 drivers/mmc/core/mmc_test.c 				len = sz;
sz                438 drivers/mmc/core/mmc_test.c 			sz -= len;
sz                440 drivers/mmc/core/mmc_test.c 			if (!sz)
sz                443 drivers/mmc/core/mmc_test.c 	} while (sz && repeat);
sz                445 drivers/mmc/core/mmc_test.c 	if (sz)
sz                459 drivers/mmc/core/mmc_test.c 				       unsigned long sz,
sz                473 drivers/mmc/core/mmc_test.c 	while (sz) {
sz                476 drivers/mmc/core/mmc_test.c 		while (sz && cnt) {
sz                484 drivers/mmc/core/mmc_test.c 			if (len > sz)
sz                485 drivers/mmc/core/mmc_test.c 				len = sz;
sz                493 drivers/mmc/core/mmc_test.c 			sz -= len;
sz               1398 drivers/mmc/core/mmc_test.c static int mmc_test_area_map(struct mmc_test_card *test, unsigned long sz,
sz               1404 drivers/mmc/core/mmc_test.c 	t->blocks = sz >> 9;
sz               1407 drivers/mmc/core/mmc_test.c 		err = mmc_test_map_sg_max_scatter(t->mem, sz, t->sg,
sz               1411 drivers/mmc/core/mmc_test.c 		err = mmc_test_map_sg(t->mem, sz, t->sg, 1, t->max_segs,
sz               1435 drivers/mmc/core/mmc_test.c static int mmc_test_area_io_seq(struct mmc_test_card *test, unsigned long sz,
sz               1457 drivers/mmc/core/mmc_test.c 		if (sz > max_tfr)
sz               1458 drivers/mmc/core/mmc_test.c 			sz = max_tfr;
sz               1461 drivers/mmc/core/mmc_test.c 	ret = mmc_test_area_map(test, sz, max_scatter, min_sg_len);
sz               1473 drivers/mmc/core/mmc_test.c 			dev_addr += sz >> 9;
sz               1483 drivers/mmc/core/mmc_test.c 		mmc_test_print_avg_rate(test, sz, count, &ts1, &ts2);
sz               1488 drivers/mmc/core/mmc_test.c static int mmc_test_area_io(struct mmc_test_card *test, unsigned long sz,
sz               1492 drivers/mmc/core/mmc_test.c 	return mmc_test_area_io_seq(test, sz, dev_addr, write, max_scatter,
sz               1543 drivers/mmc/core/mmc_test.c 	unsigned long min_sz = 64 * 1024, sz;
sz               1551 drivers/mmc/core/mmc_test.c 	sz = (unsigned long)test->card->pref_erase << 9;
sz               1552 drivers/mmc/core/mmc_test.c 	t->max_sz = sz;
sz               1554 drivers/mmc/core/mmc_test.c 		t->max_sz += sz;
sz               1555 drivers/mmc/core/mmc_test.c 	while (t->max_sz > TEST_AREA_MAX_SIZE && t->max_sz > sz)
sz               1556 drivers/mmc/core/mmc_test.c 		t->max_sz -= sz;
sz               1688 drivers/mmc/core/mmc_test.c 	unsigned long sz;
sz               1692 drivers/mmc/core/mmc_test.c 	for (sz = 512; sz < t->max_tfr; sz <<= 1) {
sz               1693 drivers/mmc/core/mmc_test.c 		dev_addr = t->dev_addr + (sz >> 9);
sz               1694 drivers/mmc/core/mmc_test.c 		ret = mmc_test_area_io(test, sz, dev_addr, 0, 0, 1);
sz               1698 drivers/mmc/core/mmc_test.c 	sz = t->max_tfr;
sz               1700 drivers/mmc/core/mmc_test.c 	return mmc_test_area_io(test, sz, dev_addr, 0, 0, 1);
sz               1709 drivers/mmc/core/mmc_test.c 	unsigned long sz;
sz               1716 drivers/mmc/core/mmc_test.c 	for (sz = 512; sz < t->max_tfr; sz <<= 1) {
sz               1717 drivers/mmc/core/mmc_test.c 		dev_addr = t->dev_addr + (sz >> 9);
sz               1718 drivers/mmc/core/mmc_test.c 		ret = mmc_test_area_io(test, sz, dev_addr, 1, 0, 1);
sz               1725 drivers/mmc/core/mmc_test.c 	sz = t->max_tfr;
sz               1727 drivers/mmc/core/mmc_test.c 	return mmc_test_area_io(test, sz, dev_addr, 1, 0, 1);
sz               1736 drivers/mmc/core/mmc_test.c 	unsigned long sz;
sz               1747 drivers/mmc/core/mmc_test.c 	for (sz = 512; sz < t->max_sz; sz <<= 1) {
sz               1748 drivers/mmc/core/mmc_test.c 		dev_addr = t->dev_addr + (sz >> 9);
sz               1750 drivers/mmc/core/mmc_test.c 		ret = mmc_erase(test->card, dev_addr, sz >> 9, MMC_TRIM_ARG);
sz               1754 drivers/mmc/core/mmc_test.c 		mmc_test_print_rate(test, sz, &ts1, &ts2);
sz               1758 drivers/mmc/core/mmc_test.c 	ret = mmc_erase(test->card, dev_addr, sz >> 9, MMC_TRIM_ARG);
sz               1762 drivers/mmc/core/mmc_test.c 	mmc_test_print_rate(test, sz, &ts1, &ts2);
sz               1766 drivers/mmc/core/mmc_test.c static int mmc_test_seq_read_perf(struct mmc_test_card *test, unsigned long sz)
sz               1773 drivers/mmc/core/mmc_test.c 	cnt = t->max_sz / sz;
sz               1777 drivers/mmc/core/mmc_test.c 		ret = mmc_test_area_io(test, sz, dev_addr, 0, 0, 0);
sz               1780 drivers/mmc/core/mmc_test.c 		dev_addr += (sz >> 9);
sz               1783 drivers/mmc/core/mmc_test.c 	mmc_test_print_avg_rate(test, sz, cnt, &ts1, &ts2);
sz               1793 drivers/mmc/core/mmc_test.c 	unsigned long sz;
sz               1796 drivers/mmc/core/mmc_test.c 	for (sz = 512; sz < t->max_tfr; sz <<= 1) {
sz               1797 drivers/mmc/core/mmc_test.c 		ret = mmc_test_seq_read_perf(test, sz);
sz               1801 drivers/mmc/core/mmc_test.c 	sz = t->max_tfr;
sz               1802 drivers/mmc/core/mmc_test.c 	return mmc_test_seq_read_perf(test, sz);
sz               1805 drivers/mmc/core/mmc_test.c static int mmc_test_seq_write_perf(struct mmc_test_card *test, unsigned long sz)
sz               1815 drivers/mmc/core/mmc_test.c 	cnt = t->max_sz / sz;
sz               1819 drivers/mmc/core/mmc_test.c 		ret = mmc_test_area_io(test, sz, dev_addr, 1, 0, 0);
sz               1822 drivers/mmc/core/mmc_test.c 		dev_addr += (sz >> 9);
sz               1825 drivers/mmc/core/mmc_test.c 	mmc_test_print_avg_rate(test, sz, cnt, &ts1, &ts2);
sz               1835 drivers/mmc/core/mmc_test.c 	unsigned long sz;
sz               1838 drivers/mmc/core/mmc_test.c 	for (sz = 512; sz < t->max_tfr; sz <<= 1) {
sz               1839 drivers/mmc/core/mmc_test.c 		ret = mmc_test_seq_write_perf(test, sz);
sz               1843 drivers/mmc/core/mmc_test.c 	sz = t->max_tfr;
sz               1844 drivers/mmc/core/mmc_test.c 	return mmc_test_seq_write_perf(test, sz);
sz               1853 drivers/mmc/core/mmc_test.c 	unsigned long sz;
sz               1864 drivers/mmc/core/mmc_test.c 	for (sz = 512; sz <= t->max_sz; sz <<= 1) {
sz               1871 drivers/mmc/core/mmc_test.c 		cnt = t->max_sz / sz;
sz               1875 drivers/mmc/core/mmc_test.c 			ret = mmc_erase(test->card, dev_addr, sz >> 9,
sz               1879 drivers/mmc/core/mmc_test.c 			dev_addr += (sz >> 9);
sz               1882 drivers/mmc/core/mmc_test.c 		mmc_test_print_avg_rate(test, sz, cnt, &ts1, &ts2);
sz               1899 drivers/mmc/core/mmc_test.c 			     unsigned long sz)
sz               1906 drivers/mmc/core/mmc_test.c 	ssz = sz >> 9;
sz               1924 drivers/mmc/core/mmc_test.c 		ret = mmc_test_area_io(test, sz, dev_addr, write, 0, 0);
sz               1929 drivers/mmc/core/mmc_test.c 		mmc_test_print_avg_rate(test, sz, cnt, &ts1, &ts2);
sz               1937 drivers/mmc/core/mmc_test.c 	unsigned long sz;
sz               1940 drivers/mmc/core/mmc_test.c 	for (sz = 512; sz < t->max_tfr; sz <<= 1) {
sz               1948 drivers/mmc/core/mmc_test.c 			ret = mmc_test_rnd_perf(test, write, 0, sz);
sz               1953 drivers/mmc/core/mmc_test.c 		ret = mmc_test_rnd_perf(test, write, 1, sz);
sz               1957 drivers/mmc/core/mmc_test.c 	sz = t->max_tfr;
sz               1960 drivers/mmc/core/mmc_test.c 		ret = mmc_test_rnd_perf(test, write, 0, sz);
sz               1965 drivers/mmc/core/mmc_test.c 	return mmc_test_rnd_perf(test, write, 1, sz);
sz               1988 drivers/mmc/core/mmc_test.c 	unsigned int dev_addr, i, cnt, sz, ssz;
sz               1992 drivers/mmc/core/mmc_test.c 	sz = t->max_tfr;
sz               2005 drivers/mmc/core/mmc_test.c 		if (sz > max_tfr)
sz               2006 drivers/mmc/core/mmc_test.c 			sz = max_tfr;
sz               2009 drivers/mmc/core/mmc_test.c 	ssz = sz >> 9;
sz               2013 drivers/mmc/core/mmc_test.c 	cnt = tot_sz / sz;
sz               2018 drivers/mmc/core/mmc_test.c 		ret = mmc_test_area_io(test, sz, dev_addr, write,
sz               2026 drivers/mmc/core/mmc_test.c 	mmc_test_print_avg_rate(test, sz, cnt, &ts1, &ts2);
sz               2462 drivers/mmc/core/mmc_test.c 				      unsigned long sz, int use_sbc, int write,
sz               2471 drivers/mmc/core/mmc_test.c 	ret = mmc_test_area_map(test, sz, 0, 0);
sz               2488 drivers/mmc/core/mmc_test.c 	unsigned long sz;
sz               2491 drivers/mmc/core/mmc_test.c 	for (sz = 512; sz <= t->max_tfr; sz += 512) {
sz               2492 drivers/mmc/core/mmc_test.c 		ret = __mmc_test_cmds_during_tfr(test, sz, use_sbc, write,
sz                209 drivers/mmc/core/sdio_io.c static inline unsigned int _sdio_align_size(unsigned int sz)
sz                216 drivers/mmc/core/sdio_io.c 	return ALIGN(sz, 4);
sz                233 drivers/mmc/core/sdio_io.c unsigned int sdio_align_size(struct sdio_func *func, unsigned int sz)
sz                239 drivers/mmc/core/sdio_io.c 	orig_sz = sz;
sz                246 drivers/mmc/core/sdio_io.c 	sz = _sdio_align_size(sz);
sz                252 drivers/mmc/core/sdio_io.c 	if (sz <= sdio_max_byte_size(func))
sz                253 drivers/mmc/core/sdio_io.c 		return sz;
sz                259 drivers/mmc/core/sdio_io.c 		if ((sz % func->cur_blksize) == 0)
sz                260 drivers/mmc/core/sdio_io.c 			return sz;
sz                266 drivers/mmc/core/sdio_io.c 		blk_sz = ((sz + func->cur_blksize - 1) /
sz                281 drivers/mmc/core/sdio_io.c 		byte_sz = _sdio_align_size(sz % func->cur_blksize);
sz                283 drivers/mmc/core/sdio_io.c 			blk_sz = sz / func->cur_blksize;
sz                 83 drivers/mtd/parsers/afs.c 	size_t sz;
sz                 86 drivers/mtd/parsers/afs.c 	ret = mtd_read(mtd, ptr, 4, &sz, (u_char *)&magic);
sz                 92 drivers/mtd/parsers/afs.c 	if (ret >= 0 && sz != 4)
sz                103 drivers/mtd/parsers/afs.c 	size_t sz;
sz                106 drivers/mtd/parsers/afs.c 	ret = mtd_read(mtd, ptr, 8, &sz, (u_char *)foot);
sz                112 drivers/mtd/parsers/afs.c 	if (ret >= 0 && sz != 8)
sz                132 drivers/mtd/parsers/afs.c 	size_t sz;
sz                143 drivers/mtd/parsers/afs.c 	ret = mtd_read(mtd, ptr, sizeof(fs), &sz, (u_char *)&fs);
sz                144 drivers/mtd/parsers/afs.c 	if (ret >= 0 && sz != sizeof(fs))
sz                182 drivers/mtd/parsers/afs.c 	ret = mtd_read(mtd, iis_ptr, sizeof(iis), &sz, (u_char *)&iis);
sz                189 drivers/mtd/parsers/afs.c 	if (sz != sizeof(iis))
sz                230 drivers/mtd/parsers/afs.c 	size_t sz;
sz                240 drivers/mtd/parsers/afs.c 	ret = mtd_read(mtd, ptr, sizeof(footer), &sz, (u_char *)footer);
sz                241 drivers/mtd/parsers/afs.c 	if ((ret < 0) || (ret >= 0 && sz != sizeof(footer))) {
sz                254 drivers/mtd/parsers/afs.c 	ret = mtd_read(mtd, ptr, sizeof(imginfo), &sz, (u_char *)imginfo);
sz                255 drivers/mtd/parsers/afs.c 	if ((ret < 0) || (ret >= 0 && sz != sizeof(imginfo))) {
sz                328 drivers/mtd/parsers/afs.c 	u_int off, sz;
sz                333 drivers/mtd/parsers/afs.c 	for (i = off = sz = 0; off < mtd->size; off += mtd->erasesize) {
sz                335 drivers/mtd/parsers/afs.c 			sz += sizeof(struct mtd_partition);
sz                339 drivers/mtd/parsers/afs.c 			sz += sizeof(struct mtd_partition);
sz                347 drivers/mtd/parsers/afs.c 	parts = kzalloc(sz, GFP_KERNEL);
sz                647 drivers/mtd/tests/oobtest.c 		size_t sz = mtd->oobavail;
sz                651 drivers/mtd/tests/oobtest.c 		prandom_bytes_state(&rnd_state, writebuf, sz * cnt);
sz                656 drivers/mtd/tests/oobtest.c 			ops.ooblen    = sz;
sz                660 drivers/mtd/tests/oobtest.c 			ops.oobbuf    = writebuf + pg * sz;
sz                 89 drivers/mtd/tests/speedtest.c 	size_t sz = pgsize * 2;
sz                 95 drivers/mtd/tests/speedtest.c 		err = mtdtest_write(mtd, addr, sz, buf);
sz                 98 drivers/mtd/tests/speedtest.c 		addr += sz;
sz                 99 drivers/mtd/tests/speedtest.c 		buf += sz;
sz                133 drivers/mtd/tests/speedtest.c 	size_t sz = pgsize * 2;
sz                139 drivers/mtd/tests/speedtest.c 		err = mtdtest_read(mtd, addr, sz, buf);
sz                142 drivers/mtd/tests/speedtest.c 		addr += sz;
sz                143 drivers/mtd/tests/speedtest.c 		buf += sz;
sz                 34 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h #define BNX2X_ILT_FREE(x, y, sz)
sz                 38 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h #define BNX2X_ILT_ZALLOC(x, y, sz)
sz               2191 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_nw_ioc_smem_read(struct bfa_ioc *ioc, void *tbuf, u32 soff, u32 sz)
sz               2208 drivers/net/ethernet/brocade/bna/bfa_ioc.c 	len = sz/sizeof(u32);
sz               3072 drivers/net/ethernet/chelsio/cxgb3/sge.c 		size_t sz = i == TXQ_CTRL ? 0 : sizeof(struct tx_sw_desc);
sz               3075 drivers/net/ethernet/chelsio/cxgb3/sge.c 					    sizeof(struct tx_desc), sz,
sz               1632 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h int t4_eeprom_ptov(unsigned int phys_addr, unsigned int fn, unsigned int sz);
sz               2717 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int t4_eeprom_ptov(unsigned int phys_addr, unsigned int fn, unsigned int sz)
sz               2719 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	fn *= sz;
sz                583 drivers/net/ethernet/chelsio/cxgb4vf/sge.c static inline void poison_buf(struct page *page, size_t sz)
sz                586 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	memset(page_address(page), POISON_BUF_VAL, sz);
sz               1745 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	unsigned int sz;
sz               1773 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 			sz = dpaa_bp->size +
sz               1775 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 			skb = build_skb(sg_vaddr, sz);
sz               1918 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	int i, j, err, sz;
sz               1926 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	sz = SKB_DATA_ALIGN(priv->tx_headroom + DPAA_SGT_SIZE);
sz               1927 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	sgt_buf = netdev_alloc_frag(sz);
sz               1930 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 			   sz);
sz               2853 drivers/net/ethernet/intel/ice/ice_common.c 	u16 i, sz = 0;
sz               2901 drivers/net/ethernet/intel/ice/ice_common.c 		sz += qg_list[i].num_qs * sizeof(qg_list[i].q_id);
sz               2904 drivers/net/ethernet/intel/ice/ice_common.c 		sz += sizeof(qg_list[i]) - sizeof(qg_list[i].q_id);
sz               2908 drivers/net/ethernet/intel/ice/ice_common.c 			sz += 2;
sz               2911 drivers/net/ethernet/intel/ice/ice_common.c 	if (buf_size != sz)
sz               2828 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	size_t sz = mvpp2_rxdesc_size_get(port, rx_desc);
sz               2845 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 			   status, err_str, sz);
sz               3116 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 				     int sz, bool left, bool last)
sz               3123 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	mvpp2_txdesc_size_set(port, tx_desc, sz);
sz               3125 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	buf_dma_addr = dma_map_single(dev->dev.parent, tso->data, sz,
sz               3178 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 			int sz = min_t(int, tso.size, left);
sz               3179 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 			left -= sz;
sz               3183 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 					       txq_pcpu, sz, left, len == 0))
sz               3185 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 			tso_build_data(skb, &tso, sz);
sz               4881 drivers/net/ethernet/marvell/sky2.c static const char *sky2_name(u8 chipid, char *buf, int sz)
sz               4899 drivers/net/ethernet/marvell/sky2.c 		strncpy(buf, name[chipid - CHIP_ID_YUKON_XL], sz);
sz               4901 drivers/net/ethernet/marvell/sky2.c 		snprintf(buf, sz, "(chip %#x)", chipid);
sz               1536 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	int i, sz = sizeof(*ring->dma);
sz               1543 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	ring->dma = dma_alloc_coherent(eth->dev, MTK_DMA_SIZE * sz,
sz               1550 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		u32 next_ptr = ring->phys + next * sz;
sz               1561 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		ring->dma_pdma = dma_alloc_coherent(eth->dev, MTK_DMA_SIZE * sz,
sz               1588 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			ring->phys + ((MTK_DMA_SIZE - 1) * sz),
sz               1591 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			ring->phys + ((MTK_DMA_SIZE - 1) * sz),
sz               1000 drivers/net/ethernet/mellanox/mlx5/core/en.h int mlx5e_redirect_rqt(struct mlx5e_priv *priv, u32 rqtn, int sz,
sz                240 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	int sz = MLX5_ST_SZ_BYTES(pbmc_reg);
sz                244 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	in = kzalloc(sz, GFP_KERNEL);
sz                249 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PBMC, 0, 0);
sz                257 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	int sz = MLX5_ST_SZ_BYTES(pbmc_reg);
sz                261 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	out = kzalloc(sz, GFP_KERNEL);
sz                266 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PBMC, 0, 1);
sz                275 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	int sz = MLX5_ST_SZ_BYTES(pptb_reg);
sz                282 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	in = kzalloc(sz, GFP_KERNEL);
sz                283 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	out = kzalloc(sz, GFP_KERNEL);
sz                290 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 0);
sz                307 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	int sz = MLX5_ST_SZ_BYTES(pptb_reg);
sz                314 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	in = kzalloc(sz, GFP_KERNEL);
sz                315 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	out = kzalloc(sz, GFP_KERNEL);
sz                323 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 0);
sz                327 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	memcpy(in, out, sz);
sz                338 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 1);
sz                448 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	int sz = MLX5_ST_SZ_BYTES(pplm_reg);
sz                459 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	err =  mlx5_core_access_reg(dev, in, sz, out, sz, MLX5_REG_PPLM, 0, 0);
sz                475 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	int sz = MLX5_ST_SZ_BYTES(pplm_reg);
sz                486 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	err =  mlx5_core_access_reg(dev, in, sz, out, sz, MLX5_REG_PPLM, 0, 0);
sz                508 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	int sz = MLX5_ST_SZ_BYTES(pplm_reg);
sz                521 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	err = mlx5_core_access_reg(dev, in, sz, out, sz, MLX5_REG_PPLM, 0, 0);
sz                547 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	return mlx5_core_access_reg(dev, out, sz, out, sz, MLX5_REG_PPLM, 0, 1);
sz                 38 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c 	int sz = MLX5_ST_SZ_BYTES(pbmc_reg);
sz                 45 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c 	out = kzalloc(sz, GFP_KERNEL);
sz                 92 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c 	int sz = MLX5_ST_SZ_BYTES(pbmc_reg);
sz                 98 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c 	in = kzalloc(sz, GFP_KERNEL);
sz                334 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c 		eseg->inline_hdr.sz = cpu_to_be16(MLX5E_XDP_MIN_INLINE);
sz               1502 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 			eseg->inline_hdr.sz = cpu_to_be16(inline_hdr_sz);
sz               2128 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	int sz = sizeof(struct mlx5_wqe_data_seg) * ndsegs;
sz               2132 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 		sz += sizeof(struct mlx5e_rx_wqe_ll);
sz               2135 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 		sz += sizeof(struct mlx5e_rx_wqe_cyc);
sz               2138 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	return order_base_2(sz);
sz               2435 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_create_rqt(struct mlx5e_priv *priv, int sz, struct mlx5e_rqt *rqt)
sz               2444 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	inlen = MLX5_ST_SZ_BYTES(create_rqt_in) + sizeof(u32) * sz;
sz               2451 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	MLX5_SET(rqtc, rqtc, rqt_actual_size, sz);
sz               2452 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	MLX5_SET(rqtc, rqtc, rqt_max_size, sz);
sz               2454 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	for (i = 0; i < sz; i++)
sz               2529 drivers/net/ethernet/mellanox/mlx5/core/en_main.c static void mlx5e_fill_rqt_rqns(struct mlx5e_priv *priv, int sz,
sz               2534 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	for (i = 0; i < sz; i++) {
sz               2541 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 				ix = mlx5e_bits_invert(i, ilog2(sz));
sz               2552 drivers/net/ethernet/mellanox/mlx5/core/en_main.c int mlx5e_redirect_rqt(struct mlx5e_priv *priv, u32 rqtn, int sz,
sz               2561 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	inlen = MLX5_ST_SZ_BYTES(modify_rqt_in) + sizeof(u32) * sz;
sz               2568 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	MLX5_SET(rqtc, rqtc, rqt_actual_size, sz);
sz               2570 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	mlx5e_fill_rqt_rqns(priv, sz, rrp, rqtc);
sz                592 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	int sz = MLX5_ST_SZ_BYTES(ppcnt_reg);
sz                601 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
sz                646 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	int sz = MLX5_ST_SZ_BYTES(ppcnt_reg);
sz                652 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
sz                707 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	int sz = MLX5_ST_SZ_BYTES(ppcnt_reg);
sz                716 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
sz                811 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	int sz = MLX5_ST_SZ_BYTES(ppcnt_reg);
sz                817 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
sz                824 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
sz                874 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	int sz = MLX5_ST_SZ_BYTES(ppcnt_reg);
sz                883 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
sz                978 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	int sz = MLX5_ST_SZ_BYTES(mpcnt_reg);
sz                986 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_MPCNT, 0, 0);
sz               1071 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	int sz = MLX5_ST_SZ_BYTES(ppcnt_reg);
sz               1083 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 		mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
sz               1102 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	int sz = MLX5_ST_SZ_BYTES(ppcnt_reg);
sz               1114 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 		mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
sz               1325 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	int sz = MLX5_ST_SZ_BYTES(ppcnt_reg);
sz               1337 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 		mlx5_core_access_reg(mdev, in, sz, out, sz,
sz                492 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	int i, ix, sz = MLX5E_INDIR_RQT_SIZE;
sz                494 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	mlx5e_build_default_indir_rqt(indirection_rqt, sz,
sz                497 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	for (i = 0; i < sz; i++) {
sz                500 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 			ix = mlx5e_bits_invert(i, ilog2(sz));
sz                509 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	int inlen, err, sz = MLX5E_INDIR_RQT_SIZE;
sz                515 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	inlen = MLX5_ST_SZ_BYTES(create_rqt_in) + sizeof(u32) * sz;
sz                522 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	MLX5_SET(rqtc, rqtc, rqt_actual_size, sz);
sz                523 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	MLX5_SET(rqtc, rqtc, rqt_max_size, sz);
sz                352 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c 		eseg->inline_hdr.sz = cpu_to_be16(ihs);
sz                664 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c 		eseg->inline_hdr.sz = cpu_to_be16(ihs);
sz                866 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	int sz = 0, i;
sz                871 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 			sz = ESW_POOLS[i];
sz                876 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	return sz;
sz                880 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c put_sz_to_pool(struct mlx5_eswitch *esw, int sz)
sz                885 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 		if (sz >= ESW_POOLS[i]) {
sz                900 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	int sz;
sz                902 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	sz = get_sz_from_pool(esw);
sz                903 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	if (!sz)
sz                908 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 						  sz,
sz                914 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 			 (int)PTR_ERR(fdb), table_prio, level, sz);
sz                915 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 		put_sz_to_pool(esw, sz);
sz                 78 drivers/net/ethernet/mellanox/mlx5/core/port.c 	int sz = MLX5_ST_SZ_BYTES(pcam_reg);
sz                 83 drivers/net/ethernet/mellanox/mlx5/core/port.c 	return mlx5_core_access_reg(dev, in, sz, pcam, sz, MLX5_REG_PCAM, 0, 0);
sz                 90 drivers/net/ethernet/mellanox/mlx5/core/port.c 	int sz = MLX5_ST_SZ_BYTES(mcam_reg);
sz                 95 drivers/net/ethernet/mellanox/mlx5/core/port.c 	return mlx5_core_access_reg(dev, in, sz, mcam, sz, MLX5_REG_MCAM, 0, 0);
sz                102 drivers/net/ethernet/mellanox/mlx5/core/port.c 	int sz = MLX5_ST_SZ_BYTES(qcam_reg);
sz                107 drivers/net/ethernet/mellanox/mlx5/core/port.c 	return mlx5_core_access_reg(mdev, in, sz, qcam, sz, MLX5_REG_QCAM, 0, 0);
sz                401 drivers/net/ethernet/mellanox/mlx5/core/port.c 			     u8 port_num, void *out, size_t sz)
sz                406 drivers/net/ethernet/mellanox/mlx5/core/port.c 	in  = kvzalloc(sz, GFP_KERNEL);
sz                415 drivers/net/ethernet/mellanox/mlx5/core/port.c 	err = mlx5_core_access_reg(dev, in, sz, out,
sz                416 drivers/net/ethernet/mellanox/mlx5/core/port.c 				   sz, MLX5_REG_PPCNT, 0, 0);
sz                919 drivers/net/ethernet/mellanox/mlx5/core/port.c 	int sz = MLX5_ST_SZ_BYTES(qpdpm_reg);
sz                925 drivers/net/ethernet/mellanox/mlx5/core/port.c 	in = kzalloc(sz, GFP_KERNEL);
sz                926 drivers/net/ethernet/mellanox/mlx5/core/port.c 	out = kzalloc(sz, GFP_KERNEL);
sz                933 drivers/net/ethernet/mellanox/mlx5/core/port.c 	err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_QPDPM, 0, 0);
sz                937 drivers/net/ethernet/mellanox/mlx5/core/port.c 	memcpy(in, out, sz);
sz                944 drivers/net/ethernet/mellanox/mlx5/core/port.c 	err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_QPDPM, 0, 1);
sz                956 drivers/net/ethernet/mellanox/mlx5/core/port.c 	int sz = MLX5_ST_SZ_BYTES(qpdpm_reg);
sz                963 drivers/net/ethernet/mellanox/mlx5/core/port.c 	in = kzalloc(sz, GFP_KERNEL);
sz                964 drivers/net/ethernet/mellanox/mlx5/core/port.c 	out = kzalloc(sz, GFP_KERNEL);
sz                971 drivers/net/ethernet/mellanox/mlx5/core/port.c 	err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_QPDPM, 0, 0);
sz                 87 drivers/net/ethernet/mellanox/mlx5/core/wq.c 	wq->sz = mlx5_wq_cyc_get_size(wq);
sz                 54 drivers/net/ethernet/mellanox/mlx5/core/wq.h 	u16			sz;
sz                105 drivers/net/ethernet/mellanox/mlx5/core/wq.h 	return wq->cur_sz == wq->sz;
sz                110 drivers/net/ethernet/mellanox/mlx5/core/wq.h 	return wq->sz - wq->cur_sz;
sz                103 drivers/net/ethernet/mscc/ocelot_board.c 		int sz, len, buf_len;
sz                139 drivers/net/ethernet/mscc/ocelot_board.c 			sz = ocelot_rx_frame_word(ocelot, grp, false, &val);
sz                141 drivers/net/ethernet/mscc/ocelot_board.c 			len += sz;
sz                145 drivers/net/ethernet/mscc/ocelot_board.c 		sz = ocelot_rx_frame_word(ocelot, grp, false, &val);
sz                147 drivers/net/ethernet/mscc/ocelot_board.c 		len -= ETH_FCS_LEN - sz;
sz                154 drivers/net/ethernet/mscc/ocelot_board.c 		if (sz < 0) {
sz                155 drivers/net/ethernet/mscc/ocelot_board.c 			err = sz;
sz                 19 drivers/net/ethernet/neterion/s2io.h #define vBIT(val, loc, sz)	(((u64)val) << (64-loc-sz))
sz                 25 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define vxge_vBIT(val, loc, sz)	(((u64)(val)) << (64-(loc)-(sz)))
sz                 26 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define vxge_vBIT32(val, loc, sz)	(((u32)(val)) << (32-(loc)-(sz)))
sz                872 drivers/net/ethernet/netronome/nfp/bpf/jit.c 	u16 shift, sz;
sz                877 drivers/net/ethernet/netronome/nfp/bpf/jit.c 	sz = max(size, 4);
sz                881 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		 pptr_reg(nfp_prog), offset, sz - 1, CMD_CTX_SWAP);
sz                903 drivers/net/ethernet/netronome/nfp/bpf/jit.c 	u8 mask, sz;
sz                908 drivers/net/ethernet/netronome/nfp/bpf/jit.c 	sz = max(size, 4);
sz                912 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		 lreg, rreg, sz / 4 - 1, CMD_CTX_SWAP);
sz               2169 drivers/net/ethernet/pensando/ionic/ionic_lif.c 	size_t sz;
sz               2172 drivers/net/ethernet/pensando/ionic/ionic_lif.c 	sz = min(sizeof(*lid), sizeof(idev->dev_cmd_regs->data));
sz               2177 drivers/net/ethernet/pensando/ionic/ionic_lif.c 	memcpy_fromio(lid, &idev->dev_cmd_regs->data, sz);
sz                385 drivers/net/ethernet/pensando/ionic/ionic_main.c 	size_t sz;
sz                396 drivers/net/ethernet/pensando/ionic/ionic_main.c 	sz = min(sizeof(ident->drv), sizeof(idev->dev_cmd_regs->data));
sz                397 drivers/net/ethernet/pensando/ionic/ionic_main.c 	memcpy_toio(&idev->dev_cmd_regs->data, &ident->drv, sz);
sz                402 drivers/net/ethernet/pensando/ionic/ionic_main.c 		sz = min(sizeof(ident->dev), sizeof(idev->dev_cmd_regs->data));
sz                403 drivers/net/ethernet/pensando/ionic/ionic_main.c 		memcpy_fromio(&ident->dev, &idev->dev_cmd_regs->data, sz);
sz                449 drivers/net/ethernet/pensando/ionic/ionic_main.c 	size_t sz;
sz                457 drivers/net/ethernet/pensando/ionic/ionic_main.c 		sz = min(sizeof(ident->port), sizeof(idev->dev_cmd_regs->data));
sz                458 drivers/net/ethernet/pensando/ionic/ionic_main.c 		memcpy_fromio(&ident->port, &idev->dev_cmd_regs->data, sz);
sz                470 drivers/net/ethernet/pensando/ionic/ionic_main.c 	size_t sz;
sz                485 drivers/net/ethernet/pensando/ionic/ionic_main.c 	sz = min(sizeof(ident->port.config), sizeof(idev->dev_cmd_regs->data));
sz                489 drivers/net/ethernet/pensando/ionic/ionic_main.c 	memcpy_toio(&idev->dev_cmd_regs->data, &ident->port.config, sz);
sz                508 drivers/net/vmxnet3/vmxnet3_drv.c 	size_t sz;
sz                537 drivers/net/vmxnet3/vmxnet3_drv.c 	sz = tq->tx_ring.size * sizeof(tq->buf_info[0]);
sz                538 drivers/net/vmxnet3/vmxnet3_drv.c 	tq->buf_info = dma_alloc_coherent(&adapter->pdev->dev, sz,
sz               1373 drivers/net/vmxnet3/vmxnet3_drv.c 				size_t sz;
sz               1378 drivers/net/vmxnet3/vmxnet3_drv.c 				sz = rcd->rxdIdx * rq->data_ring.desc_size;
sz               1380 drivers/net/vmxnet3/vmxnet3_drv.c 				       &rq->data_ring.base[sz], rcd->len);
sz               1670 drivers/net/vmxnet3/vmxnet3_drv.c 		size_t sz = sizeof(struct vmxnet3_rx_buf_info) *
sz               1672 drivers/net/vmxnet3/vmxnet3_drv.c 		dma_free_coherent(&adapter->pdev->dev, sz, rq->buf_info[0],
sz               1773 drivers/net/vmxnet3/vmxnet3_drv.c 	size_t sz;
sz               1778 drivers/net/vmxnet3/vmxnet3_drv.c 		sz = rq->rx_ring[i].size * sizeof(struct Vmxnet3_RxDesc);
sz               1780 drivers/net/vmxnet3/vmxnet3_drv.c 						&adapter->pdev->dev, sz,
sz               1791 drivers/net/vmxnet3/vmxnet3_drv.c 		sz = rq->rx_ring[0].size * rq->data_ring.desc_size;
sz               1793 drivers/net/vmxnet3/vmxnet3_drv.c 			dma_alloc_coherent(&adapter->pdev->dev, sz,
sz               1806 drivers/net/vmxnet3/vmxnet3_drv.c 	sz = rq->comp_ring.size * sizeof(struct Vmxnet3_RxCompDesc);
sz               1807 drivers/net/vmxnet3/vmxnet3_drv.c 	rq->comp_ring.base = dma_alloc_coherent(&adapter->pdev->dev, sz,
sz               1815 drivers/net/vmxnet3/vmxnet3_drv.c 	sz = sizeof(struct vmxnet3_rx_buf_info) * (rq->rx_ring[0].size +
sz               1817 drivers/net/vmxnet3/vmxnet3_drv.c 	bi = dma_alloc_coherent(&adapter->pdev->dev, sz, &rq->buf_info_pa,
sz               2288 drivers/net/vmxnet3/vmxnet3_drv.c 	u32 sz = netdev_mc_count(netdev) * ETH_ALEN;
sz               2291 drivers/net/vmxnet3/vmxnet3_drv.c 	if (sz <= 0xffff) {
sz               2293 drivers/net/vmxnet3/vmxnet3_drv.c 		buf = kmalloc(sz, GFP_ATOMIC);
sz               2337 drivers/net/vmxnet3/vmxnet3_drv.c 				size_t sz = netdev_mc_count(netdev) * ETH_ALEN;
sz               2339 drivers/net/vmxnet3/vmxnet3_drv.c 				rxConf->mfTableLen = cpu_to_le16(sz);
sz               2343 drivers/net/vmxnet3/vmxnet3_drv.c 							sz,
sz               2778 drivers/net/vmxnet3/vmxnet3_drv.c 	size_t sz, i, ring0_size, ring1_size, comp_size;
sz               2789 drivers/net/vmxnet3/vmxnet3_drv.c 		sz = adapter->netdev->mtu - VMXNET3_MAX_SKB_BUF_SIZE +
sz               2791 drivers/net/vmxnet3/vmxnet3_drv.c 		adapter->rx_buf_per_pkt = 1 + (sz + PAGE_SIZE - 1) / PAGE_SIZE;
sz               2798 drivers/net/vmxnet3/vmxnet3_drv.c 	sz = adapter->rx_buf_per_pkt * VMXNET3_RING_SIZE_ALIGN;
sz               2800 drivers/net/vmxnet3/vmxnet3_drv.c 	ring0_size = (ring0_size + sz - 1) / sz * sz;
sz               2802 drivers/net/vmxnet3/vmxnet3_drv.c 			   sz * sz);
sz               2804 drivers/net/vmxnet3/vmxnet3_drv.c 	ring1_size = (ring1_size + sz - 1) / sz * sz;
sz               2806 drivers/net/vmxnet3/vmxnet3_drv.c 			   sz * sz);
sz                535 drivers/net/vmxnet3/vmxnet3_ethtool.c 	u32 sz;
sz                578 drivers/net/vmxnet3/vmxnet3_ethtool.c 	sz = adapter->rx_buf_per_pkt * VMXNET3_RING_SIZE_ALIGN;
sz                579 drivers/net/vmxnet3/vmxnet3_ethtool.c 	new_rx_ring_size = (param->rx_pending + sz - 1) / sz * sz;
sz                581 drivers/net/vmxnet3/vmxnet3_ethtool.c 				 VMXNET3_RX_RING_MAX_SIZE / sz * sz);
sz                583 drivers/net/vmxnet3/vmxnet3_ethtool.c 							   sz) != 0)
sz               1141 drivers/net/vrf.c 	size_t sz;
sz               1143 drivers/net/vrf.c 	sz  = NLMSG_ALIGN(sizeof(struct fib_rule_hdr));
sz               1144 drivers/net/vrf.c 	sz += nla_total_size(sizeof(u8));	/* FRA_L3MDEV */
sz               1145 drivers/net/vrf.c 	sz += nla_total_size(sizeof(u32));	/* FRA_PRIORITY */
sz               1146 drivers/net/vrf.c 	sz += nla_total_size(sizeof(u8));       /* FRA_PROTOCOL */
sz               1148 drivers/net/vrf.c 	return sz;
sz                 77 drivers/net/wireless/ath/ath5k/ani.c 	static const s8 sz[] = { -34, -41, -48, -55, -62 };
sz                 82 drivers/net/wireless/ath/ath5k/ani.c 	static const s8 sz[] = { -55, -62 };
sz                 85 drivers/net/wireless/ath/ath5k/ani.c 	if (level < 0 || level >= ARRAY_SIZE(sz)) {
sz                 92 drivers/net/wireless/ath/ath5k/ani.c 				AR5K_PHY_DESIRED_SIZE_TOT, sz[level]);
sz               1154 drivers/net/wireless/ath/ath5k/eeprom.c 	unsigned int sz;
sz               1156 drivers/net/wireless/ath/ath5k/eeprom.c 	sz = pdgains_size[ee->ee_pd_gains[mode] - 1];
sz               1157 drivers/net/wireless/ath/ath5k/eeprom.c 	sz *= ee->ee_n_piers[mode];
sz               1159 drivers/net/wireless/ath/ath5k/eeprom.c 	return sz;
sz                197 drivers/net/wireless/ath/dfs_pattern_detector.c 	u32 sz, i;
sz                206 drivers/net/wireless/ath/dfs_pattern_detector.c 	sz = sizeof(cd->detectors) * dpd->num_radar_types;
sz                207 drivers/net/wireless/ath/dfs_pattern_detector.c 	cd->detectors = kzalloc(sz, GFP_ATOMIC);
sz               1277 drivers/net/wireless/ath/wil6210/debugfs.c static bool is_all_zeros(void * const x_, size_t sz)
sz               1283 drivers/net/wireless/ath/wil6210/debugfs.c 	for (n = 0; n < sz / sizeof(*x); n++)
sz               1824 drivers/net/wireless/ath/wil6210/debugfs.c 		size_t sz = sizeof(u64) * WIL_NUM_LATENCY_BINS;
sz               1831 drivers/net/wireless/ath/wil6210/debugfs.c 			sta->tx_latency_bins = kzalloc(sz, GFP_KERNEL);
sz                662 drivers/net/wireless/ath/wil6210/fw_inc.c 	size_t sz;
sz                677 drivers/net/wireless/ath/wil6210/fw_inc.c 	for (sz = fw->size, d = fw->data; sz; sz -= rc1, d += rc1) {
sz                678 drivers/net/wireless/ath/wil6210/fw_inc.c 		rc1 = wil_fw_verify(wil, d, sz);
sz                123 drivers/net/wireless/ath/wil6210/txrx.c 	size_t sz = vring->size * sizeof(vring->va[0]);
sz                153 drivers/net/wireless/ath/wil6210/txrx.c 	vring->va = dma_alloc_coherent(dev, sz, &vring->pa, GFP_KERNEL);
sz                203 drivers/net/wireless/ath/wil6210/txrx.c 	size_t sz = vring->size * sizeof(vring->va[0]);
sz                255 drivers/net/wireless/ath/wil6210/txrx.c 	dma_free_coherent(dev, sz, (void *)vring->va, vring->pa);
sz                271 drivers/net/wireless/ath/wil6210/txrx.c 	unsigned int sz = wil->rx_buf_len + ETH_HLEN + wil_rx_snaplen();
sz                275 drivers/net/wireless/ath/wil6210/txrx.c 	struct sk_buff *skb = dev_alloc_skb(sz + headroom);
sz                281 drivers/net/wireless/ath/wil6210/txrx.c 	skb_put(skb, sz);
sz                301 drivers/net/wireless/ath/wil6210/txrx.c 	d->dma.length = cpu_to_le16(sz);
sz                463 drivers/net/wireless/ath/wil6210/txrx.c 	unsigned int sz = wil->rx_buf_len + ETH_HLEN + snaplen;
sz                494 drivers/net/wireless/ath/wil6210/txrx.c 	dma_unmap_single(dev, pa, sz, DMA_FROM_DEVICE);
sz                512 drivers/net/wireless/ath/wil6210/txrx.c 	if (unlikely(dmalen > sz)) {
sz                 74 drivers/net/wireless/ath/wil6210/txrx_edma.c 	size_t sz;
sz                 79 drivers/net/wireless/ath/wil6210/txrx_edma.c 	sz = sring->elem_size * sring->size;
sz                 82 drivers/net/wireless/ath/wil6210/txrx_edma.c 		     sz, sring->va, &sring->pa);
sz                 84 drivers/net/wireless/ath/wil6210/txrx_edma.c 	dma_free_coherent(dev, sz, (void *)sring->va, sring->pa);
sz                 93 drivers/net/wireless/ath/wil6210/txrx_edma.c 	size_t sz = sring->elem_size * sring->size;
sz                 95 drivers/net/wireless/ath/wil6210/txrx_edma.c 	wil_dbg_misc(wil, "status_ring_alloc: size=%zu\n", sz);
sz                 97 drivers/net/wireless/ath/wil6210/txrx_edma.c 	if (sz == 0) {
sz                107 drivers/net/wireless/ath/wil6210/txrx_edma.c 	sring->va = dma_alloc_coherent(dev, sz, &sring->pa, GFP_KERNEL);
sz                168 drivers/net/wireless/ath/wil6210/txrx_edma.c 	unsigned int sz = wil->rx_buf_len;
sz                185 drivers/net/wireless/ath/wil6210/txrx_edma.c 	skb = dev_alloc_skb(sz);
sz                189 drivers/net/wireless/ath/wil6210/txrx_edma.c 	skb_put(skb, sz);
sz                213 drivers/net/wireless/ath/wil6210/txrx_edma.c 	d->dma.length = cpu_to_le16(sz);
sz                390 drivers/net/wireless/ath/wil6210/txrx_edma.c 	size_t sz = ring->size * sizeof(ring->va[0]);
sz                402 drivers/net/wireless/ath/wil6210/txrx_edma.c 	ring->va = dma_alloc_coherent(dev, sz, &ring->pa, GFP_KERNEL);
sz                407 drivers/net/wireless/ath/wil6210/txrx_edma.c 		sz = sizeof(*ring->edma_rx_swtail.va);
sz                409 drivers/net/wireless/ath/wil6210/txrx_edma.c 			dma_alloc_coherent(dev, sz, &ring->edma_rx_swtail.pa,
sz                434 drivers/net/wireless/ath/wil6210/txrx_edma.c 	size_t sz;
sz                440 drivers/net/wireless/ath/wil6210/txrx_edma.c 	sz = ring->size * sizeof(ring->va[0]);
sz                486 drivers/net/wireless/ath/wil6210/txrx_edma.c 	dma_free_coherent(dev, sz, (void *)ring->va, ring->pa);
sz                804 drivers/net/wireless/ath/wil6210/txrx_edma.c 		u32 sz = wil->use_compressed_rx_status ?
sz                815 drivers/net/wireless/ath/wil6210/txrx_edma.c 				  (const void *)msg, sz, false);
sz                873 drivers/net/wireless/ath/wil6210/txrx_edma.c 	unsigned int sz = wil->rx_buf_len;
sz                941 drivers/net/wireless/ath/wil6210/txrx_edma.c 	dma_unmap_single(dev, pa, sz, DMA_FROM_DEVICE);
sz                975 drivers/net/wireless/ath/wil6210/txrx_edma.c 	if (unlikely(dmalen > sz)) {
sz               1182 drivers/net/wireless/ath/wil6210/wmi.c 	int sz = eapol_len + ETH_HLEN;
sz               1200 drivers/net/wireless/ath/wil6210/wmi.c 	skb = alloc_skb(sz, GFP_KERNEL);
sz               1214 drivers/net/wireless/ath/wil6210/wmi.c 		ndev->stats.rx_bytes += sz;
sz               1217 drivers/net/wireless/ath/wil6210/wmi.c 			stats->rx_bytes += sz;
sz               24653 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	u32 *buf, *src, *dst, sz;
sz               24655 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	sz = end - start + 1;
sz               24696 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 				 NPHY_TBL_ID_EPSILONTBL1, sz, start, 32, dst);
sz               1267 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	u32 sz =
sz               1297 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			memcpy(search_tbl, tbl, sz);
sz               1312 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			memcpy(search_tbl, tbl, sz);
sz               1329 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			memcpy(search_tbl, tbl, sz);
sz               1388 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	u32 sz =
sz               1414 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			memcpy(search_tbl, tbl, sz);
sz               1426 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			memcpy(search_tbl, tbl, sz);
sz               1456 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			memcpy(search_tbl, tbl, sz);
sz               1511 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	u32 sz =
sz               1534 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			memcpy(search_tbl, tbl, sz);
sz               1548 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			memcpy(search_tbl, tbl, sz);
sz               1580 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			memcpy(search_tbl, tbl, sz);
sz                700 drivers/net/wireless/intel/iwlegacy/common.c 	int sz;
sz                705 drivers/net/wireless/intel/iwlegacy/common.c 	sz = il->cfg->eeprom_size;
sz                706 drivers/net/wireless/intel/iwlegacy/common.c 	D_EEPROM("NVM size = %d\n", sz);
sz                707 drivers/net/wireless/intel/iwlegacy/common.c 	il->eeprom = kzalloc(sz, GFP_KERNEL);
sz                731 drivers/net/wireless/intel/iwlegacy/common.c 	for (addr = 0; addr < sz; addr += sizeof(u16)) {
sz               1414 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	u32 sz = (sizeof(struct iwl_scale_tbl_info) -
sz               1484 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz               1497 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz               1513 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz               1538 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz               1588 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	u32 sz = (sizeof(struct iwl_scale_tbl_info) -
sz               1651 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz               1662 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz               1690 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz               1712 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz               1758 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	u32 sz = (sizeof(struct iwl_scale_tbl_info) -
sz               1814 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz               1827 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz               1857 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz               1879 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz               1926 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	u32 sz = (sizeof(struct iwl_scale_tbl_info) -
sz               1982 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz               1993 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz               2017 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz               2047 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			memcpy(search_tbl, tbl, sz);
sz                350 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.c 	int sz;
sz                364 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.c 	sz = trans->trans_cfg->base_params->eeprom_size;
sz                365 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.c 	IWL_DEBUG_EEPROM(trans->dev, "NVM size = %d\n", sz);
sz                367 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.c 	e = kmalloc(sz, GFP_KERNEL);
sz                404 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.c 		for (addr = validblockaddr; addr < validblockaddr + sz;
sz                416 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.c 		for (addr = 0; addr < sz; addr += sizeof(u16)) {
sz                441 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.c 	*eeprom_size = sz;
sz               1307 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 		resource_size_t sz = pci_resource_len(sndev->stdev->pdev, bar);
sz               1310 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 			sz = min_t(resource_size_t, sz,
sz               1313 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 		sndev->self_shared->mw_sizes[i] = sz;
sz                206 drivers/of/dynamic.c 	int sz;
sz                213 drivers/of/dynamic.c 		phandle = __of_get_property(np, "phandle", &sz);
sz                215 drivers/of/dynamic.c 			phandle = __of_get_property(np, "linux,phandle", &sz);
sz                217 drivers/of/dynamic.c 			phandle = __of_get_property(np, "ibm,phandle", &sz);
sz                218 drivers/of/dynamic.c 		if (phandle && (sz >= 4))
sz                124 drivers/of/fdt.c 		u32 sz;
sz                126 drivers/of/fdt.c 		val = fdt_getprop_by_offset(blob, cur, &pname, &sz);
sz                165 drivers/of/fdt.c 		pp->length = sz;
sz                187 drivers/of/property.c 	size_t sz, count;
sz                191 drivers/of/property.c 						&sz);
sz                197 drivers/of/property.c 		sz = sz_min;
sz                199 drivers/of/property.c 		sz /= sizeof(*out_values);
sz                201 drivers/of/property.c 	count = sz;
sz                205 drivers/of/property.c 	return sz;
sz                235 drivers/of/property.c 	size_t sz, count;
sz                239 drivers/of/property.c 						&sz);
sz                245 drivers/of/property.c 		sz = sz_min;
sz                247 drivers/of/property.c 		sz /= sizeof(*out_values);
sz                249 drivers/of/property.c 	count = sz;
sz                253 drivers/of/property.c 	return sz;
sz                280 drivers/of/property.c 	size_t sz, count;
sz                284 drivers/of/property.c 						&sz);
sz                290 drivers/of/property.c 		sz = sz_min;
sz                292 drivers/of/property.c 		sz /= sizeof(*out_values);
sz                294 drivers/of/property.c 	count = sz;
sz                298 drivers/of/property.c 	return sz;
sz                354 drivers/of/property.c 	size_t sz, count;
sz                358 drivers/of/property.c 						&sz);
sz                364 drivers/of/property.c 		sz = sz_min;
sz                366 drivers/of/property.c 		sz /= sizeof(*out_values);
sz                368 drivers/of/property.c 	count = sz;
sz                374 drivers/of/property.c 	return sz;
sz                458 drivers/of/property.c 				   size_t sz, int skip)
sz                471 drivers/of/property.c 	for (i = 0; p < end && (!out_strs || i < skip + sz); i++, p += l) {
sz                286 drivers/pci/controller/pci-mvebu.c 		size_t sz = 1 << (fls(size) - 1);
sz                288 drivers/pci/controller/pci-mvebu.c 		mvebu_mbus_del_window(base, sz);
sz                289 drivers/pci/controller/pci-mvebu.c 		base += sz;
sz                290 drivers/pci/controller/pci-mvebu.c 		size -= sz;
sz                308 drivers/pci/controller/pci-mvebu.c 		size_t sz = 1 << (fls(size) - 1);
sz                312 drivers/pci/controller/pci-mvebu.c 							sz, remap);
sz                314 drivers/pci/controller/pci-mvebu.c 			phys_addr_t end = base + sz - 1;
sz                324 drivers/pci/controller/pci-mvebu.c 		size -= sz;
sz                325 drivers/pci/controller/pci-mvebu.c 		size_mapped += sz;
sz                326 drivers/pci/controller/pci-mvebu.c 		base += sz;
sz                328 drivers/pci/controller/pci-mvebu.c 			remap += sz;
sz                 89 drivers/pci/controller/pcie-cadence-ep.c 	u64 sz;
sz                 92 drivers/pci/controller/pcie-cadence-ep.c 	sz = max_t(size_t, epf_bar->size, CDNS_PCIE_EP_MIN_APERTURE);
sz                 97 drivers/pci/controller/pcie-cadence-ep.c 	sz = 1ULL << fls64(sz - 1);
sz                 98 drivers/pci/controller/pcie-cadence-ep.c 	aperture = ilog2(sz) - 7; /* 128B -> 0, 256B -> 1, 512B -> 2, ... */
sz                104 drivers/pci/controller/pcie-cadence-ep.c 		bool is_64bits = sz > SZ_2G;
sz                 18 drivers/pci/controller/pcie-cadence.c 	u64 sz = 1ULL << fls64(size - 1);
sz                 19 drivers/pci/controller/pcie-cadence.c 	int nbits = ilog2(sz);
sz                 73 drivers/pci/controller/pcie-rockchip-ep.c 	u64 sz = 1ULL << fls64(size - 1);
sz                 74 drivers/pci/controller/pcie-rockchip-ep.c 	int num_pass_bits = ilog2(sz);
sz                170 drivers/pci/controller/pcie-rockchip-ep.c 	u64 sz;
sz                173 drivers/pci/controller/pcie-rockchip-ep.c 	sz = max_t(size_t, epf_bar->size, MIN_EP_APERTURE);
sz                179 drivers/pci/controller/pcie-rockchip-ep.c 	sz = 1ULL << fls64(sz - 1);
sz                180 drivers/pci/controller/pcie-rockchip-ep.c 	aperture = ilog2(sz) - 7; /* 128B -> 0, 256B -> 1, 512B -> 2, ... */
sz                186 drivers/pci/controller/pcie-rockchip-ep.c 		bool is_64bits = sz > SZ_2G;
sz                178 drivers/pci/probe.c 	u32 l = 0, sz = 0, mask;
sz                198 drivers/pci/probe.c 	pci_read_config_dword(dev, pos, &sz);
sz                207 drivers/pci/probe.c 	if (sz == 0xffffffff)
sz                208 drivers/pci/probe.c 		sz = 0;
sz                222 drivers/pci/probe.c 			sz64 = sz & PCI_BASE_ADDRESS_IO_MASK;
sz                226 drivers/pci/probe.c 			sz64 = sz & PCI_BASE_ADDRESS_MEM_MASK;
sz                233 drivers/pci/probe.c 		sz64 = sz & PCI_ROM_ADDRESS_MASK;
sz                240 drivers/pci/probe.c 		pci_read_config_dword(dev, pos + 4, &sz);
sz                244 drivers/pci/probe.c 		sz64 |= ((u64)sz << 32);
sz                688 drivers/pcmcia/soc_common.c 	unsigned int val, struct bittbl *bits, int sz)
sz                694 drivers/pcmcia/soc_common.c 	for (i = 0; i < sz; i++)
sz                202 drivers/platform/x86/pcengines-apuv2.c 	size_t sz)
sz                212 drivers/platform/x86/pcengines-apuv2.c 		sz);
sz                332 drivers/rpmsg/rpmsg_core.c 	      const char *buf, size_t sz)				\
sz                337 drivers/rpmsg/rpmsg_core.c 	new = kstrndup(buf, sz, GFP_KERNEL);				\
sz                354 drivers/rpmsg/rpmsg_core.c 	return sz;							\
sz               1090 drivers/scsi/a100u2w.c 	u32 sz;
sz               1125 drivers/scsi/a100u2w.c 	sz = ORC_MAXQUEUE * sizeof(struct orc_scb);
sz               1126 drivers/scsi/a100u2w.c 	host->scb_virt = dma_alloc_coherent(&pdev->dev, sz, &host->scb_phys,
sz               1134 drivers/scsi/a100u2w.c 	sz = ORC_MAXQUEUE * sizeof(struct orc_extended_scb);
sz               1135 drivers/scsi/a100u2w.c 	host->escb_virt = dma_alloc_coherent(&pdev->dev, sz, &host->escb_phys,
sz               2045 drivers/scsi/bfa/bfa_ioc.c bfa_ioc_smem_read(struct bfa_ioc_s *ioc, void *tbuf, u32 soff, u32 sz)
sz               2056 drivers/scsi/bfa/bfa_ioc.c 	bfa_trc(ioc, sz);
sz               2068 drivers/scsi/bfa/bfa_ioc.c 	len = sz/sizeof(u32);
sz               2104 drivers/scsi/bfa/bfa_ioc.c bfa_ioc_smem_clr(struct bfa_ioc_s *ioc, u32 soff, u32 sz)
sz               2113 drivers/scsi/bfa/bfa_ioc.c 	bfa_trc(ioc, sz);
sz               2125 drivers/scsi/bfa/bfa_ioc.c 	len = sz/sizeof(u32); /* len in words */
sz               5302 drivers/scsi/bfa/bfa_ioc.c bfa_phy_ntoh32(u32 *obuf, u32 *ibuf, int sz)
sz               5304 drivers/scsi/bfa/bfa_ioc.c 	int i, m = sz >> 2;
sz               5370 drivers/scsi/bfa/bfa_ioc.c 	int	i, sz;
sz               5387 drivers/scsi/bfa/bfa_ioc.c 	sz = len >> 1;
sz               5388 drivers/scsi/bfa/bfa_ioc.c 	for (i = 0; i < sz; i++)
sz               5789 drivers/scsi/bfa/bfa_ioc.c 			int i, sz = len >> 1;
sz               5794 drivers/scsi/bfa/bfa_ioc.c 			for (i = 0; i < sz; i++)
sz                551 drivers/scsi/bnx2fc/bnx2fc_io.c 	size_t sz = sizeof(struct fcoe_bd_ctx);
sz                556 drivers/scsi/bnx2fc/bnx2fc_io.c 		dma_free_coherent(&hba->pcidev->dev, sz,
sz                562 drivers/scsi/bnx2fc/bnx2fc_io.c 		dma_free_coherent(&hba->pcidev->dev, sz,
sz                589 drivers/scsi/bnx2fc/bnx2fc_io.c 	size_t sz;
sz                621 drivers/scsi/bnx2fc/bnx2fc_io.c 	sz = sizeof(struct fcoe_bd_ctx);
sz                622 drivers/scsi/bnx2fc/bnx2fc_io.c 	mp_req->mp_req_bd = dma_alloc_coherent(&hba->pcidev->dev, sz,
sz                630 drivers/scsi/bnx2fc/bnx2fc_io.c 	mp_req->mp_resp_bd = dma_alloc_coherent(&hba->pcidev->dev, sz,
sz                458 drivers/scsi/csiostor/csio_scsi.c #define CSIO_SCSI_DATA_WRSZ(req, oper, sz, imm)				       \
sz                460 drivers/scsi/csiostor/csio_scsi.c 	(sz) = sizeof(struct fw_scsi_##oper##_wr) +	/* WR size */          \
sz                465 drivers/scsi/csiostor/csio_scsi.c 		(sz) += (sizeof(struct ulptx_sge_pair) *		       \
sz                590 drivers/scsi/esas2r/esas2r_flash.c 	u32 sz = 0;
sz                615 drivers/scsi/esas2r/esas2r_flash.c 		sz += size + (2 * sizeof(u16));
sz                618 drivers/scsi/esas2r/esas2r_flash.c 		if (sz > len - (2 * sizeof(u16)))
sz                623 drivers/scsi/esas2r/esas2r_flash.c 	if (length && sz != length)
sz                626 drivers/scsi/esas2r/esas2r_flash.c 	return sz;
sz               1048 drivers/scsi/esas2r/esas2r_flash.c 	u32 sz;
sz               1050 drivers/scsi/esas2r/esas2r_flash.c 	sz = sizeof(bytes);
sz               1051 drivers/scsi/esas2r/esas2r_flash.c 	pw = (u16 *)(bytes + sz);
sz               1054 drivers/scsi/esas2r/esas2r_flash.c 	if (!esas2r_read_flash_block(a, bytes, FLS_OFFSET_CPYR - sz, sz))
sz               1111 drivers/scsi/esas2r/esas2r_flash.c 	u32 sz;
sz               1116 drivers/scsi/esas2r/esas2r_flash.c 	sz = sizeof(bytes);
sz               1123 drivers/scsi/esas2r/esas2r_flash.c 					     sz))
sz                136 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_ctlr_show_function(field, format_string, sz, cast)	\
sz                144 drivers/scsi/fcoe/fcoe_sysfs.c 	return snprintf(buf, sz, format_string,				\
sz                148 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_fcf_show_function(field, format_string, sz, cast)	\
sz                157 drivers/scsi/fcoe/fcoe_sysfs.c 	return snprintf(buf, sz, format_string,				\
sz                161 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_ctlr_private_show_function(field, format_string, sz, cast)	\
sz                167 drivers/scsi/fcoe/fcoe_sysfs.c 	return snprintf(buf, sz, format_string, cast fcoe_ctlr_##field(ctlr)); \
sz                170 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_fcf_private_show_function(field, format_string, sz, cast)	\
sz                176 drivers/scsi/fcoe/fcoe_sysfs.c 	return snprintf(buf, sz, format_string, cast fcoe_fcf_##field(fcf)); \
sz                179 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_ctlr_private_rd_attr(field, format_string, sz)		\
sz                180 drivers/scsi/fcoe/fcoe_sysfs.c 	fcoe_ctlr_private_show_function(field, format_string, sz, )	\
sz                184 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_ctlr_rd_attr(field, format_string, sz)			\
sz                185 drivers/scsi/fcoe/fcoe_sysfs.c 	fcoe_ctlr_show_function(field, format_string, sz, )		\
sz                189 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_fcf_rd_attr(field, format_string, sz)			\
sz                190 drivers/scsi/fcoe/fcoe_sysfs.c 	fcoe_fcf_show_function(field, format_string, sz, )		\
sz                194 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_fcf_private_rd_attr(field, format_string, sz)		\
sz                195 drivers/scsi/fcoe/fcoe_sysfs.c 	fcoe_fcf_private_show_function(field, format_string, sz, )	\
sz                199 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_ctlr_private_rd_attr_cast(field, format_string, sz, cast)	\
sz                200 drivers/scsi/fcoe/fcoe_sysfs.c 	fcoe_ctlr_private_show_function(field, format_string, sz, (cast)) \
sz                204 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_fcf_private_rd_attr_cast(field, format_string, sz, cast)	\
sz                205 drivers/scsi/fcoe/fcoe_sysfs.c 	fcoe_fcf_private_show_function(field, format_string, sz, (cast)) \
sz               2956 drivers/scsi/hisi_sas/hisi_sas_main.c 				 int sz, __le64 *ptr)
sz               2962 drivers/scsi/hisi_sas/hisi_sas_main.c 	for (i = 1; i <= sz / 8; i++, ptr++) {
sz               2972 drivers/scsi/hisi_sas/hisi_sas_main.c 				 int sz, __le32 *ptr)
sz               2978 drivers/scsi/hisi_sas/hisi_sas_main.c 	for (i = 1; i <= sz / 4; i++, ptr++) {
sz               3721 drivers/scsi/hisi_sas/hisi_sas_main.c 	size_t sz;
sz               3723 drivers/scsi/hisi_sas/hisi_sas_main.c 	sz = hw->debugfs_reg_array[DEBUGFS_GLOBAL]->count * 4;
sz               3725 drivers/scsi/hisi_sas/hisi_sas_main.c 				devm_kmalloc(dev, sz, GFP_KERNEL);
sz               3730 drivers/scsi/hisi_sas/hisi_sas_main.c 	sz = hw->debugfs_reg_port->count * 4;
sz               3733 drivers/scsi/hisi_sas/hisi_sas_main.c 			devm_kmalloc(dev, sz, GFP_KERNEL);
sz               3739 drivers/scsi/hisi_sas/hisi_sas_main.c 	sz = hw->debugfs_reg_array[DEBUGFS_AXI]->count * 4;
sz               3741 drivers/scsi/hisi_sas/hisi_sas_main.c 		devm_kmalloc(dev, sz, GFP_KERNEL);
sz               3746 drivers/scsi/hisi_sas/hisi_sas_main.c 	sz = hw->debugfs_reg_array[DEBUGFS_RAS]->count * 4;
sz               3748 drivers/scsi/hisi_sas/hisi_sas_main.c 		devm_kmalloc(dev, sz, GFP_KERNEL);
sz               3753 drivers/scsi/hisi_sas/hisi_sas_main.c 	sz = hw->complete_hdr_size * HISI_SAS_QUEUE_SLOTS;
sz               3756 drivers/scsi/hisi_sas/hisi_sas_main.c 			devm_kmalloc(dev, sz, GFP_KERNEL);
sz               3762 drivers/scsi/hisi_sas/hisi_sas_main.c 	sz = sizeof(struct hisi_sas_cmd_hdr) * HISI_SAS_QUEUE_SLOTS;
sz               3765 drivers/scsi/hisi_sas/hisi_sas_main.c 			devm_kmalloc(dev, sz, GFP_KERNEL);
sz               3771 drivers/scsi/hisi_sas/hisi_sas_main.c 	sz = HISI_SAS_MAX_COMMANDS * sizeof(struct hisi_sas_iost);
sz               3773 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_hba->debugfs_iost = devm_kmalloc(dev, sz, GFP_KERNEL);
sz               3777 drivers/scsi/hisi_sas/hisi_sas_main.c 	sz = HISI_SAS_IOST_ITCT_CACHE_NUM *
sz               3780 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_hba->debugfs_iost_cache = devm_kmalloc(dev, sz, GFP_KERNEL);
sz               3784 drivers/scsi/hisi_sas/hisi_sas_main.c 	sz = HISI_SAS_IOST_ITCT_CACHE_NUM *
sz               3787 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_hba->debugfs_itct_cache = devm_kmalloc(dev, sz, GFP_KERNEL);
sz               3792 drivers/scsi/hisi_sas/hisi_sas_main.c 	sz = HISI_SAS_MAX_ITCT_ENTRIES * sizeof(struct hisi_sas_itct);
sz               3794 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_hba->debugfs_itct = devm_kmalloc(dev, sz, GFP_KERNEL);
sz               6449 drivers/scsi/hpsa.c 	u32 sz;
sz               6488 drivers/scsi/hpsa.c 		sz = (left > ioc->malloc_size) ? ioc->malloc_size : left;
sz               6489 drivers/scsi/hpsa.c 		buff_size[sg_used] = sz;
sz               6490 drivers/scsi/hpsa.c 		buff[sg_used] = kmalloc(sz, GFP_KERNEL);
sz               6496 drivers/scsi/hpsa.c 			if (copy_from_user(buff[sg_used], data_ptr, sz)) {
sz               6501 drivers/scsi/hpsa.c 			memset(buff[sg_used], 0, sz);
sz               6502 drivers/scsi/hpsa.c 		left -= sz;
sz               6503 drivers/scsi/hpsa.c 		data_ptr += sz;
sz                355 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.h #define h_reg_crq(ua, tok, sz) \
sz                356 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.h 		plpar_hcall_norets(H_REG_CRQ, ua, tok, sz)
sz               6899 drivers/scsi/lpfc/lpfc_attr.c #define lpfc_rport_show_function(field, format_string, sz, cast)	\
sz               6907 drivers/scsi/lpfc/lpfc_attr.c 	return scnprintf(buf, sz, format_string,			\
sz               6911 drivers/scsi/lpfc/lpfc_attr.c #define lpfc_rport_rd_attr(field, format_string, sz)			\
sz               6912 drivers/scsi/lpfc/lpfc_attr.c 	lpfc_rport_show_function(field, format_string, sz, )		\
sz               2756 drivers/scsi/lpfc/lpfc_debugfs.c 	unsigned long sz;
sz               2788 drivers/scsi/lpfc/lpfc_debugfs.c 	i = kstrtoul(pbuf, 0, &sz);
sz               2791 drivers/scsi/lpfc/lpfc_debugfs.c 	phba->nvmeio_trc_size = (uint32_t)sz;
sz               2795 drivers/scsi/lpfc/lpfc_debugfs.c 	while (sz > 1) {
sz               2796 drivers/scsi/lpfc/lpfc_debugfs.c 		sz = sz >> 1;
sz               2799 drivers/scsi/lpfc/lpfc_debugfs.c 	sz = (1 << i);
sz               2800 drivers/scsi/lpfc/lpfc_debugfs.c 	if (phba->nvmeio_trc_size != sz)
sz               2803 drivers/scsi/lpfc/lpfc_debugfs.c 				sz);
sz               2804 drivers/scsi/lpfc/lpfc_debugfs.c 	phba->nvmeio_trc_size = (uint32_t)sz;
sz               2811 drivers/scsi/lpfc/lpfc_debugfs.c 				    sz), GFP_KERNEL);
sz               2893 drivers/scsi/megaraid/megaraid_sas_base.c megasas_dump(void *buf, int sz, int format)
sz               2898 drivers/scsi/megaraid/megaraid_sas_base.c 	for (i = 0; i < (sz / sizeof(__le32)); i++) {
sz               2920 drivers/scsi/megaraid/megaraid_sas_base.c 	unsigned int i, sz = 256;
sz               2923 drivers/scsi/megaraid/megaraid_sas_base.c 	for (i = 0; i < (sz / sizeof(u32)); i++)
sz               2976 drivers/scsi/megaraid/megaraid_sas_base.c 	unsigned int i, sz = 256;
sz               2981 drivers/scsi/megaraid/megaraid_sas_base.c 	for (i = 0; i < sz / sizeof(u32); i++) {
sz                143 drivers/scsi/mpt3sas/mpt3sas_base.c 		u8 status, void *mpi_request, int sz)
sz                152 drivers/scsi/mpt3sas/mpt3sas_base.c 	_debug_dump_mf(mpi_request, sz);
sz               4453 drivers/scsi/mpt3sas/mpt3sas_base.c 	u16 sz;
sz               4463 drivers/scsi/mpt3sas/mpt3sas_base.c 	sz = offsetof(Mpi2SasIOUnitPage1_t, PhyData) + (num_phys *
sz               4465 drivers/scsi/mpt3sas/mpt3sas_base.c 	sas_iounit_pg1 = kzalloc(sz, GFP_KERNEL);
sz               4472 drivers/scsi/mpt3sas/mpt3sas_base.c 	    sas_iounit_pg1, sz))) {
sz               4506 drivers/scsi/mpt3sas/mpt3sas_base.c 	    sz)) {
sz               4835 drivers/scsi/mpt3sas/mpt3sas_base.c 	u32 sz, total_sz, reply_post_free_sz, reply_post_free_array_sz;
sz               4994 drivers/scsi/mpt3sas/mpt3sas_base.c 	sz = reply_post_free_sz;
sz               4996 drivers/scsi/mpt3sas/mpt3sas_base.c 		sz *= ioc->reply_queue_count;
sz               5007 drivers/scsi/mpt3sas/mpt3sas_base.c 	    &ioc->pdev->dev, sz, 16, 0);
sz               5026 drivers/scsi/mpt3sas/mpt3sas_base.c 				     8, sz / 1024));
sz               5030 drivers/scsi/mpt3sas/mpt3sas_base.c 		total_sz += sz;
sz               5057 drivers/scsi/mpt3sas/mpt3sas_base.c 	sz = ((ioc->scsiio_depth + 1) * ioc->request_sz);
sz               5060 drivers/scsi/mpt3sas/mpt3sas_base.c 	sz += (ioc->hi_priority_depth * ioc->request_sz);
sz               5063 drivers/scsi/mpt3sas/mpt3sas_base.c 	sz += (ioc->internal_depth * ioc->request_sz);
sz               5065 drivers/scsi/mpt3sas/mpt3sas_base.c 	ioc->request_dma_sz = sz;
sz               5066 drivers/scsi/mpt3sas/mpt3sas_base.c 	ioc->request = dma_alloc_coherent(&ioc->pdev->dev, sz,
sz               5071 drivers/scsi/mpt3sas/mpt3sas_base.c 			ioc->request_sz, sz / 1024);
sz               5079 drivers/scsi/mpt3sas/mpt3sas_base.c 	memset(ioc->request, 0, sz);
sz               5084 drivers/scsi/mpt3sas/mpt3sas_base.c 			ioc->request_sz, sz / 1024);
sz               5107 drivers/scsi/mpt3sas/mpt3sas_base.c 	total_sz += sz;
sz               5114 drivers/scsi/mpt3sas/mpt3sas_base.c 	sz = ioc->scsiio_depth * sizeof(struct chain_lookup);
sz               5115 drivers/scsi/mpt3sas/mpt3sas_base.c 	ioc->chain_lookup = kzalloc(sz, GFP_KERNEL);
sz               5121 drivers/scsi/mpt3sas/mpt3sas_base.c 	sz = ioc->chains_needed_per_io * sizeof(struct chain_tracker);
sz               5123 drivers/scsi/mpt3sas/mpt3sas_base.c 		ioc->chain_lookup[i].chains_per_smid = kzalloc(sz, GFP_KERNEL);
sz               5175 drivers/scsi/mpt3sas/mpt3sas_base.c 		sz = sizeof(struct pcie_sg_list) * ioc->scsiio_depth;
sz               5176 drivers/scsi/mpt3sas/mpt3sas_base.c 		ioc->pcie_sg_lookup = kzalloc(sz, GFP_KERNEL);
sz               5181 drivers/scsi/mpt3sas/mpt3sas_base.c 		sz = nvme_blocks_needed * ioc->page_size;
sz               5183 drivers/scsi/mpt3sas/mpt3sas_base.c 			dma_pool_create("PCIe SGL pool", &ioc->pdev->dev, sz, 16, 0);
sz               5189 drivers/scsi/mpt3sas/mpt3sas_base.c 		ioc->chains_per_prp_buffer = sz/ioc->chain_segment_sz;
sz               5214 drivers/scsi/mpt3sas/mpt3sas_base.c 				     ioc->scsiio_depth, sz,
sz               5215 drivers/scsi/mpt3sas/mpt3sas_base.c 				     (sz * ioc->scsiio_depth) / 1024));
sz               5219 drivers/scsi/mpt3sas/mpt3sas_base.c 		total_sz += sz * ioc->scsiio_depth;
sz               5249 drivers/scsi/mpt3sas/mpt3sas_base.c 	sz = ioc->scsiio_depth * SCSI_SENSE_BUFFERSIZE;
sz               5250 drivers/scsi/mpt3sas/mpt3sas_base.c 	ioc->sense_dma_pool = dma_pool_create("sense pool", &ioc->pdev->dev, sz,
sz               5271 drivers/scsi/mpt3sas/mpt3sas_base.c 	if (!is_MSB_are_same((long)ioc->sense, sz)) {
sz               5278 drivers/scsi/mpt3sas/mpt3sas_base.c 			dma_pool_create("sense pool", &ioc->pdev->dev, sz,
sz               5279 drivers/scsi/mpt3sas/mpt3sas_base.c 						roundup_pow_of_two(sz), 0);
sz               5294 drivers/scsi/mpt3sas/mpt3sas_base.c 			     SCSI_SENSE_BUFFERSIZE, sz / 1024));
sz               5298 drivers/scsi/mpt3sas/mpt3sas_base.c 	total_sz += sz;
sz               5301 drivers/scsi/mpt3sas/mpt3sas_base.c 	sz = ioc->reply_free_queue_depth * ioc->reply_sz;
sz               5302 drivers/scsi/mpt3sas/mpt3sas_base.c 	ioc->reply_dma_pool = dma_pool_create("reply pool", &ioc->pdev->dev, sz,
sz               5315 drivers/scsi/mpt3sas/mpt3sas_base.c 	ioc->reply_dma_max_address = (u32)(ioc->reply_dma) + sz;
sz               5319 drivers/scsi/mpt3sas/mpt3sas_base.c 			     ioc->reply_sz, sz / 1024));
sz               5323 drivers/scsi/mpt3sas/mpt3sas_base.c 	total_sz += sz;
sz               5326 drivers/scsi/mpt3sas/mpt3sas_base.c 	sz = ioc->reply_free_queue_depth * 4;
sz               5328 drivers/scsi/mpt3sas/mpt3sas_base.c 	    &ioc->pdev->dev, sz, 16, 0);
sz               5342 drivers/scsi/mpt3sas/mpt3sas_base.c 			     4, sz / 1024));
sz               5346 drivers/scsi/mpt3sas/mpt3sas_base.c 	total_sz += sz;
sz               1549 drivers/scsi/mpt3sas/mpt3sas_base.h 	u8 status, void *mpi_request, int sz);
sz               1602 drivers/scsi/mpt3sas/mpt3sas_base.h 	u16 sz);
sz               1634 drivers/scsi/mpt3sas/mpt3sas_base.h 	u16 sz);
sz               1638 drivers/scsi/mpt3sas/mpt3sas_base.h 	Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage3_t *config_page, u16 sz);
sz               1645 drivers/scsi/mpt3sas/mpt3sas_base.h 	u16 sz);
sz               1648 drivers/scsi/mpt3sas/mpt3sas_base.h 	u16 sz);
sz               1675 drivers/scsi/mpt3sas/mpt3sas_base.h 	u32 handle, u16 sz);
sz                 81 drivers/scsi/mpt3sas/mpt3sas_config.c 	u16			sz;
sz                207 drivers/scsi/mpt3sas/mpt3sas_config.c 	if (mem->sz > ioc->config_page_sz) {
sz                208 drivers/scsi/mpt3sas/mpt3sas_config.c 		mem->page = dma_alloc_coherent(&ioc->pdev->dev, mem->sz,
sz                212 drivers/scsi/mpt3sas/mpt3sas_config.c 				__func__, mem->sz);
sz                236 drivers/scsi/mpt3sas/mpt3sas_config.c 	if (mem->sz > ioc->config_page_sz)
sz                237 drivers/scsi/mpt3sas/mpt3sas_config.c 		dma_free_coherent(&ioc->pdev->dev, mem->sz, mem->page,
sz                330 drivers/scsi/mpt3sas/mpt3sas_config.c 			mem.sz = mpi_request->Header.PageLength * 4;
sz                332 drivers/scsi/mpt3sas/mpt3sas_config.c 			mem.sz = le16_to_cpu(mpi_reply->ExtPageLength) * 4;
sz                341 drivers/scsi/mpt3sas/mpt3sas_config.c 			    MPT3_CONFIG_COMMON_WRITE_SGLFLAGS | mem.sz,
sz                343 drivers/scsi/mpt3sas/mpt3sas_config.c 			memcpy(mem.page, config_page, min_t(u16, mem.sz,
sz                348 drivers/scsi/mpt3sas/mpt3sas_config.c 			    MPT3_CONFIG_COMMON_SGLFLAGS | mem.sz, mem.page_dma);
sz                349 drivers/scsi/mpt3sas/mpt3sas_config.c 			memset(mem.page, 0, min_t(u16, mem.sz, config_page_sz));
sz                444 drivers/scsi/mpt3sas/mpt3sas_config.c 				_debug_dump_config(p, min_t(u16, mem.sz,
sz                457 drivers/scsi/mpt3sas/mpt3sas_config.c 				_debug_dump_config(p, min_t(u16, mem.sz,
sz                464 drivers/scsi/mpt3sas/mpt3sas_config.c 		memcpy(config_page, mem.page, min_t(u16, mem.sz,
sz                529 drivers/scsi/mpt3sas/mpt3sas_config.c 	u16 sz)
sz                549 drivers/scsi/mpt3sas/mpt3sas_config.c 	    sz);
sz                857 drivers/scsi/mpt3sas/mpt3sas_config.c 	Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage3_t *config_page, u16 sz)
sz                876 drivers/scsi/mpt3sas/mpt3sas_config.c 	    MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz);
sz               1249 drivers/scsi/mpt3sas/mpt3sas_config.c 	u16 sz)
sz               1269 drivers/scsi/mpt3sas/mpt3sas_config.c 	    MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz);
sz               1290 drivers/scsi/mpt3sas/mpt3sas_config.c 	u16 sz)
sz               1310 drivers/scsi/mpt3sas/mpt3sas_config.c 	    MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz);
sz               1331 drivers/scsi/mpt3sas/mpt3sas_config.c 	u16 sz)
sz               1351 drivers/scsi/mpt3sas/mpt3sas_config.c 	    MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz);
sz               1354 drivers/scsi/mpt3sas/mpt3sas_config.c 	    MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz);
sz               1666 drivers/scsi/mpt3sas/mpt3sas_config.c 	u32 handle, u16 sz)
sz               1686 drivers/scsi/mpt3sas/mpt3sas_config.c 	    MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz);
sz                259 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	u32 sz;
sz                277 drivers/scsi/mpt3sas/mpt3sas_ctl.c 				sz = min_t(u32, SCSI_SENSE_BUFFERSIZE,
sz                281 drivers/scsi/mpt3sas/mpt3sas_ctl.c 				memcpy(ioc->ctl_cmds.sense, sense_data, sz);
sz                291 drivers/scsi/mpt3sas/mpt3sas_ctl.c 			sz = min_t(u32, NVME_ERROR_RESPONSE_SIZE,
sz                294 drivers/scsi/mpt3sas/mpt3sas_ctl.c 			memcpy(ioc->ctl_cmds.sense, sense_data, sz);
sz                342 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	u32 sz, event_data_sz;
sz                359 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		sz = min_t(u32, event_data_sz, MPT3_EVENT_DATA_SIZE);
sz                361 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		memcpy(event_log[i].data, mpi_reply->EventData, sz);
sz                571 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	u32 sz;
sz                623 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		sz = min_t(u32, karg->max_reply_bytes, ioc->reply_sz);
sz                625 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		    sz))
sz                655 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	u32 sz, sz_arg;
sz               1050 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		sz = min_t(u32, karg.max_reply_bytes, ioc->reply_sz);
sz               1052 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		    sz)) {
sz               1072 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		sz = min_t(u32, karg.max_sense_bytes, sz_arg);
sz               1074 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		    sz)) {
sz               2918 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	int sz;
sz               2934 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	sz = offsetof(Mpi2IOUnitPage3_t, GPIOVal) + (sizeof(u16) * 36);
sz               2935 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	io_unit_pg3 = kzalloc(sz, GFP_KERNEL);
sz               2938 drivers/scsi/mpt3sas/mpt3sas_ctl.c 			__func__, sz);
sz               2942 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	if (mpt3sas_config_get_iounit_pg3(ioc, &mpi_reply, io_unit_pg3, sz) !=
sz               3270 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	ssize_t sz;
sz               3273 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	sz = min(sizeof(struct SL_WH_EVENT_TRIGGERS_T), count);
sz               3276 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	memcpy(&ioc->diag_trigger_event, buf, sz);
sz               3280 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	return sz;
sz               3325 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	ssize_t sz;
sz               3328 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	sz = min(sizeof(ioc->diag_trigger_scsi), count);
sz               3330 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	memcpy(&ioc->diag_trigger_scsi, buf, sz);
sz               3334 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	return sz;
sz               3379 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	ssize_t sz;
sz               3382 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	sz = min(sizeof(struct SL_WH_MPI_TRIGGERS_T), count);
sz               3385 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	memcpy(&ioc->diag_trigger_mpi, buf, sz);
sz               3389 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	return sz;
sz                154 drivers/scsi/mpt3sas/mpt3sas_debug.h _debug_dump_mf(void *mpi_request, int sz)
sz                160 drivers/scsi/mpt3sas/mpt3sas_debug.h 	for (i = 0; i < sz; i++) {
sz                173 drivers/scsi/mpt3sas/mpt3sas_debug.h _debug_dump_reply(void *mpi_request, int sz)
sz                179 drivers/scsi/mpt3sas/mpt3sas_debug.h 	for (i = 0; i < sz; i++) {
sz                192 drivers/scsi/mpt3sas/mpt3sas_debug.h _debug_dump_config(void *mpi_request, int sz)
sz                198 drivers/scsi/mpt3sas/mpt3sas_debug.h 	for (i = 0; i < sz; i++) {
sz               2139 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	u16 sz;
sz               2151 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	sz = offsetof(Mpi2RaidVolPage0_t, PhysDisk) + (num_pds *
sz               2153 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	vol_pg0 = kzalloc(sz, GFP_KERNEL);
sz               2162 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	     MPI2_RAID_VOLUME_PGAD_FORM_HANDLE, raid_device->handle, sz))) {
sz               3178 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	u16 sz;
sz               3182 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	sz = sizeof(*event_data);
sz               3183 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	fw_event = alloc_fw_event_work(sz);
sz               5138 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	ssize_t sz;
sz               5162 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	sz = offsetof(Mpi2EventNotificationReply_t, EventData) +
sz               5164 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	event_reply = kzalloc(sz, GFP_KERNEL);
sz               5174 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	event_reply->MsgLength = sz/4;
sz               5299 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		u32 sz = min_t(u32, SCSI_SENSE_BUFFERSIZE,
sz               5301 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		memcpy(scmd->sense_buffer, sense_data, sz);
sz               5450 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	u16 sz;
sz               5462 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys
sz               5464 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	sas_iounit_pg0 = kzalloc(sz, GFP_KERNEL);
sz               5472 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	    sas_iounit_pg0, sz)) != 0)
sz               5511 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	u16 sz;
sz               5531 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys *
sz               5533 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	sas_iounit_pg0 = kzalloc(sz, GFP_KERNEL);
sz               5540 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	    sas_iounit_pg0, sz))) {
sz               5554 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	sz = offsetof(Mpi2SasIOUnitPage1_t, PhyData) + (ioc->sas_hba.num_phys *
sz               5556 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	sas_iounit_pg1 = kzalloc(sz, GFP_KERNEL);
sz               5563 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	    sas_iounit_pg1, sz))) {
sz               9458 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	u16 sz;
sz               9597 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	sz = le16_to_cpu(mpi_reply->EventDataLength) * 4;
sz               9598 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	fw_event = alloc_fw_event_work(sz);
sz               9605 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	memcpy(fw_event->event_data, mpi_reply->EventData, sz);
sz               1071 drivers/scsi/mpt3sas/mpt3sas_transport.c 	u32 sz;
sz               1101 drivers/scsi/mpt3sas/mpt3sas_transport.c 	sz = sizeof(struct phy_error_log_request) +
sz               1103 drivers/scsi/mpt3sas/mpt3sas_transport.c 	data_out = dma_alloc_coherent(&ioc->pdev->dev, sz, &data_out_dma,
sz               1114 drivers/scsi/mpt3sas/mpt3sas_transport.c 	memset(data_out, 0, sz);
sz               1194 drivers/scsi/mpt3sas/mpt3sas_transport.c 		dma_free_coherent(&ioc->pdev->dev, sz, data_out, data_out_dma);
sz               1361 drivers/scsi/mpt3sas/mpt3sas_transport.c 	u32 sz;
sz               1391 drivers/scsi/mpt3sas/mpt3sas_transport.c 	sz = sizeof(struct phy_control_request) +
sz               1393 drivers/scsi/mpt3sas/mpt3sas_transport.c 	data_out = dma_alloc_coherent(&ioc->pdev->dev, sz, &data_out_dma,
sz               1404 drivers/scsi/mpt3sas/mpt3sas_transport.c 	memset(data_out, 0, sz);
sz               1481 drivers/scsi/mpt3sas/mpt3sas_transport.c 		dma_free_coherent(&ioc->pdev->dev, sz, data_out,
sz               1554 drivers/scsi/mpt3sas/mpt3sas_transport.c 	u16 sz;
sz               1576 drivers/scsi/mpt3sas/mpt3sas_transport.c 	sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys *
sz               1578 drivers/scsi/mpt3sas/mpt3sas_transport.c 	sas_iounit_pg0 = kzalloc(sz, GFP_KERNEL);
sz               1586 drivers/scsi/mpt3sas/mpt3sas_transport.c 	    sas_iounit_pg0, sz))) {
sz               1617 drivers/scsi/mpt3sas/mpt3sas_transport.c 	sz = offsetof(Mpi2SasIOUnitPage1_t, PhyData) + (ioc->sas_hba.num_phys *
sz               1619 drivers/scsi/mpt3sas/mpt3sas_transport.c 	sas_iounit_pg1 = kzalloc(sz, GFP_KERNEL);
sz               1627 drivers/scsi/mpt3sas/mpt3sas_transport.c 	    sas_iounit_pg1, sz))) {
sz               1662 drivers/scsi/mpt3sas/mpt3sas_transport.c 	mpt3sas_config_set_sas_iounit_pg1(ioc, &mpi_reply, sas_iounit_pg1, sz);
sz               1691 drivers/scsi/mpt3sas/mpt3sas_transport.c 	u16 sz;
sz               1725 drivers/scsi/mpt3sas/mpt3sas_transport.c 	sz = offsetof(Mpi2SasIOUnitPage1_t, PhyData) + (ioc->sas_hba.num_phys *
sz               1727 drivers/scsi/mpt3sas/mpt3sas_transport.c 	sas_iounit_pg1 = kzalloc(sz, GFP_KERNEL);
sz               1735 drivers/scsi/mpt3sas/mpt3sas_transport.c 	    sas_iounit_pg1, sz))) {
sz               1763 drivers/scsi/mpt3sas/mpt3sas_transport.c 	    sz)) {
sz                 72 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c 	u16 sz, event_data_sz;
sz                 77 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c 	sz = offsetof(Mpi2EventNotificationReply_t, EventData) +
sz                 79 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c 	mpi_reply = kzalloc(sz, GFP_KERNEL);
sz                120 drivers/scsi/mpt3sas/mpt3sas_warpdrive.c 	u16 sz;
sz                144 drivers/scsi/mpt3sas/mpt3sas_warpdrive.c 	sz = offsetof(Mpi2RaidVolPage0_t, PhysDisk) + (num_pds *
sz                146 drivers/scsi/mpt3sas/mpt3sas_warpdrive.c 	vol_pg0 = kzalloc(sz, GFP_KERNEL);
sz                153 drivers/scsi/mpt3sas/mpt3sas_warpdrive.c 	     MPI2_RAID_VOLUME_PGAD_FORM_HANDLE, raid_device->handle, sz))) {
sz                186 drivers/scsi/mvumi.h #define SET_COMPACT_SGD_SIZE(sgd, sz) do {			\
sz                188 drivers/scsi/mvumi.h 	(((struct mvumi_compact_sgl *)(sgd))->flags) |= (sz);		\
sz                190 drivers/scsi/mvumi.h #define sgd_getsz(_mhba, sgd, sz) do {				\
sz                192 drivers/scsi/mvumi.h 		(sz) = GET_COMPACT_SGD_SIZE(sgd);	\
sz                194 drivers/scsi/mvumi.h 		(sz) = (sgd)->size;			\
sz                197 drivers/scsi/mvumi.h #define sgd_setsz(_mhba, sgd, sz) do {				\
sz                199 drivers/scsi/mvumi.h 		SET_COMPACT_SGD_SIZE(sgd, sz);		\
sz                201 drivers/scsi/mvumi.h 		(sgd)->size = (sz);			\
sz                414 drivers/scsi/qedf/qedf_io.c 	uint64_t sz = sizeof(struct scsi_sge);
sz                418 drivers/scsi/qedf/qedf_io.c 		dma_free_coherent(&qedf->pdev->dev, sz,
sz                423 drivers/scsi/qedf/qedf_io.c 		dma_free_coherent(&qedf->pdev->dev, sz,
sz               2032 drivers/scsi/qedf/qedf_io.c 	uint64_t sz;
sz               2063 drivers/scsi/qedf/qedf_io.c 	sz = sizeof(struct scsi_sge);
sz               2064 drivers/scsi/qedf/qedf_io.c 	mp_req->mp_req_bd = dma_alloc_coherent(&qedf->pdev->dev, sz,
sz               2072 drivers/scsi/qedf/qedf_io.c 	mp_req->mp_resp_bd = dma_alloc_coherent(&qedf->pdev->dev, sz,
sz               5051 drivers/scsi/qla2xxx/qla_init.c 			u32 *bp, i, sz;
sz               5054 drivers/scsi/qla2xxx/qla_init.c 			sz = min_t(int, sizeof(struct els_plogi_payload),
sz               5057 drivers/scsi/qla2xxx/qla_init.c 			    ha->init_cb_dma, (void *)ha->init_cb, sz);
sz               5060 drivers/scsi/qla2xxx/qla_init.c 				for (i = 0; i < sz/4 ; i++, bp++)
sz               3428 drivers/scsi/qla2xxx/qla_iocb.c 	int i, sz;
sz               3432 drivers/scsi/qla2xxx/qla_iocb.c 	sz = min(ARRAY_SIZE(mbx->mb), ARRAY_SIZE(sp->u.iocb_cmd.u.mbx.out_mb));
sz               3434 drivers/scsi/qla2xxx/qla_iocb.c 	for (i = 0; i < sz; i++)
sz               1439 drivers/scsi/qla2xxx/qla_isr.c 	u16 sz, i;
sz               1447 drivers/scsi/qla2xxx/qla_isr.c 	sz = min(ARRAY_SIZE(pkt->mb), ARRAY_SIZE(sp->u.iocb_cmd.u.mbx.in_mb));
sz               1449 drivers/scsi/qla2xxx/qla_isr.c 	for (i = 0; i < sz; i++)
sz               6545 drivers/scsi/qla2xxx/qla_mbx.c 			u16 sz;
sz               6548 drivers/scsi/qla2xxx/qla_mbx.c 				sz = SFP_BLOCK_SIZE;
sz               6550 drivers/scsi/qla2xxx/qla_mbx.c 				sz = count - c;
sz               6552 drivers/scsi/qla2xxx/qla_mbx.c 			memcpy(buf, sfp_data, sz);
sz               6554 drivers/scsi/qla2xxx/qla_mbx.c 			c += sz;
sz               1335 drivers/scsi/qla2xxx/qla_nx.c 	int i, j, ret = 0, loop, sz[2], off0;
sz               1353 drivers/scsi/qla2xxx/qla_nx.c 	sz[0] = (size < (8 - off0)) ? size : (8 - off0);
sz               1354 drivers/scsi/qla2xxx/qla_nx.c 	sz[1] = size - sz[0];
sz               1384 drivers/scsi/qla2xxx/qla_nx.c 	if (sz[0] == 8) {
sz               1388 drivers/scsi/qla2xxx/qla_nx.c 			~((~(~0ULL << (sz[0] * 8))) << (off0 * 8));
sz               1391 drivers/scsi/qla2xxx/qla_nx.c 	if (sz[1] != 0) {
sz               1392 drivers/scsi/qla2xxx/qla_nx.c 		word[startword+1] &= ~(~0ULL << (sz[1] * 8));
sz               1393 drivers/scsi/qla2xxx/qla_nx.c 		word[startword+1] |= tmpw >> (sz[0] * 8);
sz               1472 drivers/scsi/qla2xxx/qla_nx.c 	int i, j = 0, k, start, end, loop, sz[2], off0[2];
sz               1492 drivers/scsi/qla2xxx/qla_nx.c 	sz[0] = (size < (16 - off0[0])) ? size : (16 - off0[0]);
sz               1496 drivers/scsi/qla2xxx/qla_nx.c 	sz[1] = size - sz[0];
sz               1522 drivers/scsi/qla2xxx/qla_nx.c 		end   = (off0[i] + sz[i] - 1) >> 2;
sz               1536 drivers/scsi/qla2xxx/qla_nx.c 		val = ((word[0] >> (off0[0] * 8)) & (~(~0ULL << (sz[0] * 8)))) |
sz               1537 drivers/scsi/qla2xxx/qla_nx.c 			((word[1] & (~(~0ULL << (sz[1] * 8)))) << (sz[0] * 8));
sz               1369 drivers/scsi/qla4xxx/ql4_nx.c 	int i, j = 0, k, start, end, loop, sz[2], off0[2];
sz               1390 drivers/scsi/qla4xxx/ql4_nx.c 	sz[0] = (size < (16 - off0[0])) ? size : (16 - off0[0]);
sz               1395 drivers/scsi/qla4xxx/ql4_nx.c 	sz[1] = size - sz[0];
sz               1421 drivers/scsi/qla4xxx/ql4_nx.c 		end   = (off0[i] + sz[i] - 1) >> 2;
sz               1435 drivers/scsi/qla4xxx/ql4_nx.c 		val = ((word[0] >> (off0[0] * 8)) & (~(~0ULL << (sz[0] * 8)))) |
sz               1436 drivers/scsi/qla4xxx/ql4_nx.c 		((word[1] & (~(~0ULL << (sz[1] * 8)))) << (sz[0] * 8));
sz               1460 drivers/scsi/qla4xxx/ql4_nx.c 	int i, j, ret = 0, loop, sz[2], off0;
sz               1478 drivers/scsi/qla4xxx/ql4_nx.c 	sz[0] = (size < (8 - off0)) ? size : (8 - off0);
sz               1479 drivers/scsi/qla4xxx/ql4_nx.c 	sz[1] = size - sz[0];
sz               1509 drivers/scsi/qla4xxx/ql4_nx.c 	if (sz[0] == 8)
sz               1513 drivers/scsi/qla4xxx/ql4_nx.c 		    ~((~(~0ULL << (sz[0] * 8))) << (off0 * 8));
sz               1517 drivers/scsi/qla4xxx/ql4_nx.c 	if (sz[1] != 0) {
sz               1518 drivers/scsi/qla4xxx/ql4_nx.c 		word[startword+1] &= ~(~0ULL << (sz[1] * 8));
sz               1519 drivers/scsi/qla4xxx/ql4_nx.c 		word[startword+1] |= tmpw >> (sz[0] * 8);
sz               4775 drivers/scsi/scsi_debug.c 				unsigned long sz =
sz               4779 drivers/scsi/scsi_debug.c 				fake_storep = vzalloc(sz);
sz               5228 drivers/scsi/scsi_debug.c 	unsigned long sz;
sz               5308 drivers/scsi/scsi_debug.c 	sz = (unsigned long)sdebug_dev_size_mb * 1048576;
sz               5309 drivers/scsi/scsi_debug.c 	sdebug_store_sectors = sz / sdebug_sector_size;
sz               5330 drivers/scsi/scsi_debug.c 		fake_storep = vzalloc(sz);
sz               5337 drivers/scsi/scsi_debug.c 			sdebug_build_parts(fake_storep, sz);
sz                689 drivers/scsi/scsi_transport_fc.c #define fc_rport_show_function(field, format_string, sz, cast)		\
sz                702 drivers/scsi/scsi_transport_fc.c 	return snprintf(buf, sz, format_string, cast rport->field); 	\
sz                727 drivers/scsi/scsi_transport_fc.c #define fc_rport_rd_attr(field, format_string, sz)			\
sz                728 drivers/scsi/scsi_transport_fc.c 	fc_rport_show_function(field, format_string, sz, )		\
sz                732 drivers/scsi/scsi_transport_fc.c #define fc_rport_rd_attr_cast(field, format_string, sz, cast)		\
sz                733 drivers/scsi/scsi_transport_fc.c 	fc_rport_show_function(field, format_string, sz, (cast))	\
sz                737 drivers/scsi/scsi_transport_fc.c #define fc_rport_rw_attr(field, format_string, sz)			\
sz                738 drivers/scsi/scsi_transport_fc.c 	fc_rport_show_function(field, format_string, sz, )		\
sz                745 drivers/scsi/scsi_transport_fc.c #define fc_private_rport_show_function(field, format_string, sz, cast)	\
sz                751 drivers/scsi/scsi_transport_fc.c 	return snprintf(buf, sz, format_string, cast rport->field); 	\
sz                754 drivers/scsi/scsi_transport_fc.c #define fc_private_rport_rd_attr(field, format_string, sz)		\
sz                755 drivers/scsi/scsi_transport_fc.c 	fc_private_rport_show_function(field, format_string, sz, )	\
sz                759 drivers/scsi/scsi_transport_fc.c #define fc_private_rport_rd_attr_cast(field, format_string, sz, cast)	\
sz                760 drivers/scsi/scsi_transport_fc.c 	fc_private_rport_show_function(field, format_string, sz, (cast)) \
sz               1004 drivers/scsi/scsi_transport_fc.c #define fc_starget_show_function(field, format_string, sz, cast)	\
sz               1017 drivers/scsi/scsi_transport_fc.c 	return snprintf(buf, sz, format_string, 			\
sz               1021 drivers/scsi/scsi_transport_fc.c #define fc_starget_rd_attr(field, format_string, sz)			\
sz               1022 drivers/scsi/scsi_transport_fc.c 	fc_starget_show_function(field, format_string, sz, )		\
sz               1026 drivers/scsi/scsi_transport_fc.c #define fc_starget_rd_attr_cast(field, format_string, sz, cast)		\
sz               1027 drivers/scsi/scsi_transport_fc.c 	fc_starget_show_function(field, format_string, sz, (cast))	\
sz               1059 drivers/scsi/scsi_transport_fc.c #define fc_vport_show_function(field, format_string, sz, cast)		\
sz               1070 drivers/scsi/scsi_transport_fc.c 	return snprintf(buf, sz, format_string, cast vport->field); 	\
sz               1114 drivers/scsi/scsi_transport_fc.c #define fc_vport_rd_attr(field, format_string, sz)			\
sz               1115 drivers/scsi/scsi_transport_fc.c 	fc_vport_show_function(field, format_string, sz, )		\
sz               1119 drivers/scsi/scsi_transport_fc.c #define fc_vport_rd_attr_cast(field, format_string, sz, cast)		\
sz               1120 drivers/scsi/scsi_transport_fc.c 	fc_vport_show_function(field, format_string, sz, (cast))	\
sz               1124 drivers/scsi/scsi_transport_fc.c #define fc_vport_rw_attr(field, format_string, sz)			\
sz               1125 drivers/scsi/scsi_transport_fc.c 	fc_vport_show_function(field, format_string, sz, )		\
sz               1131 drivers/scsi/scsi_transport_fc.c #define fc_private_vport_show_function(field, format_string, sz, cast)	\
sz               1137 drivers/scsi/scsi_transport_fc.c 	return snprintf(buf, sz, format_string, cast vport->field); 	\
sz               1159 drivers/scsi/scsi_transport_fc.c #define fc_private_vport_rd_attr(field, format_string, sz)		\
sz               1160 drivers/scsi/scsi_transport_fc.c 	fc_private_vport_show_function(field, format_string, sz, )	\
sz               1164 drivers/scsi/scsi_transport_fc.c #define fc_private_vport_rd_attr_cast(field, format_string, sz, cast)	\
sz               1165 drivers/scsi/scsi_transport_fc.c 	fc_private_vport_show_function(field, format_string, sz, (cast)) \
sz               1169 drivers/scsi/scsi_transport_fc.c #define fc_private_vport_rw_u32_attr(field, format_string, sz)		\
sz               1170 drivers/scsi/scsi_transport_fc.c 	fc_private_vport_show_function(field, format_string, sz, )	\
sz               1328 drivers/scsi/scsi_transport_fc.c #define fc_host_show_function(field, format_string, sz, cast)		\
sz               1337 drivers/scsi/scsi_transport_fc.c 	return snprintf(buf, sz, format_string, cast fc_host_##field(shost)); \
sz               1378 drivers/scsi/scsi_transport_fc.c #define fc_host_rd_attr(field, format_string, sz)			\
sz               1379 drivers/scsi/scsi_transport_fc.c 	fc_host_show_function(field, format_string, sz, )		\
sz               1383 drivers/scsi/scsi_transport_fc.c #define fc_host_rd_attr_cast(field, format_string, sz, cast)		\
sz               1384 drivers/scsi/scsi_transport_fc.c 	fc_host_show_function(field, format_string, sz, (cast))		\
sz               1388 drivers/scsi/scsi_transport_fc.c #define fc_host_rw_attr(field, format_string, sz)			\
sz               1389 drivers/scsi/scsi_transport_fc.c 	fc_host_show_function(field, format_string, sz, )		\
sz               1438 drivers/scsi/scsi_transport_fc.c #define fc_private_host_show_function(field, format_string, sz, cast)	\
sz               1444 drivers/scsi/scsi_transport_fc.c 	return snprintf(buf, sz, format_string, cast fc_host_##field(shost)); \
sz               1447 drivers/scsi/scsi_transport_fc.c #define fc_private_host_rd_attr(field, format_string, sz)		\
sz               1448 drivers/scsi/scsi_transport_fc.c 	fc_private_host_show_function(field, format_string, sz, )	\
sz               1452 drivers/scsi/scsi_transport_fc.c #define fc_private_host_rd_attr_cast(field, format_string, sz, cast)	\
sz               1453 drivers/scsi/scsi_transport_fc.c 	fc_private_host_show_function(field, format_string, sz, (cast)) \
sz                 57 drivers/scsi/ufs/ufshcd-pltfrm.c 	size_t sz = 0;
sz                 83 drivers/scsi/ufs/ufshcd-pltfrm.c 	sz = len / sizeof(*clkfreq);
sz                 84 drivers/scsi/ufs/ufshcd-pltfrm.c 	if (sz != 2 * cnt) {
sz                 90 drivers/scsi/ufs/ufshcd-pltfrm.c 	clkfreq = devm_kcalloc(dev, sz, sizeof(*clkfreq),
sz                 98 drivers/scsi/ufs/ufshcd-pltfrm.c 			clkfreq, sz);
sz                105 drivers/scsi/ufs/ufshcd-pltfrm.c 	for (i = 0; i < sz; i += 2) {
sz                456 drivers/soc/fsl/qbman/qman_ccsr.c static int zero_priv_mem(phys_addr_t addr, size_t sz)
sz                459 drivers/soc/fsl/qbman/qman_ccsr.c 	void __iomem *tmpp = ioremap_cache(addr, sz);
sz                464 drivers/soc/fsl/qbman/qman_ccsr.c 	memset_io(tmpp, 0, sz);
sz                466 drivers/soc/fsl/qbman/qman_ccsr.c 			   (unsigned long)tmpp + sz);
sz                 69 drivers/soc/qcom/llcc-slice.c 	u32 sz, count;
sz                 75 drivers/soc/qcom/llcc-slice.c 	sz = drv_data->cfg_size;
sz                 77 drivers/soc/qcom/llcc-slice.c 	for (count = 0; cfg && count < sz; count++, cfg++)
sz                 81 drivers/soc/qcom/llcc-slice.c 	if (count == sz || !cfg)
sz                253 drivers/soc/qcom/llcc-slice.c 	u32 sz;
sz                258 drivers/soc/qcom/llcc-slice.c 	sz = drv_data->cfg_size;
sz                261 drivers/soc/qcom/llcc-slice.c 	for (i = 0; i < sz; i++) {
sz                331 drivers/soc/qcom/llcc-slice.c 		      const struct llcc_slice_config *llcc_cfg, u32 sz)
sz                366 drivers/soc/qcom/llcc-slice.c 	for (i = 0; i < sz; i++)
sz                389 drivers/soc/qcom/llcc-slice.c 	drv_data->cfg_size = sz;
sz                145 drivers/spi/spi-mpc512x-psc.c #define MPC512x_PSC_FIFO_SZ(sz) ((sz & 0x7ff) << 2);
sz                322 drivers/spi/spi-xlp.c 	int bytesleft, sz;
sz                331 drivers/spi/spi-xlp.c 			sz = xlp_spi_xfer_block(xs, tx_buf, rx_buf,
sz                334 drivers/spi/spi-xlp.c 			sz = xlp_spi_xfer_block(xs, tx_buf, rx_buf,
sz                336 drivers/spi/spi-xlp.c 		if (sz < 0)
sz                337 drivers/spi/spi-xlp.c 			return sz;
sz                338 drivers/spi/spi-xlp.c 		bytesleft -= sz;
sz                340 drivers/spi/spi-xlp.c 			tx_buf += sz;
sz                342 drivers/spi/spi-xlp.c 			rx_buf += sz;
sz                575 drivers/staging/media/hantro/hantro_v4l2.c 	unsigned int sz;
sz                579 drivers/staging/media/hantro/hantro_v4l2.c 		sz = pixfmt->plane_fmt[i].sizeimage;
sz                581 drivers/staging/media/hantro/hantro_v4l2.c 			  i, vb2_plane_size(vb, i), sz);
sz                582 drivers/staging/media/hantro/hantro_v4l2.c 		if (vb2_plane_size(vb, i) < sz) {
sz                697 drivers/staging/media/imx/imx-media-utils.c void imx_media_grp_id_to_sd_name(char *sd_name, int sz, u32 grp_id, int ipu_id)
sz                704 drivers/staging/media/imx/imx-media-utils.c 		snprintf(sd_name, sz, "ipu%d_csi%d", ipu_id + 1, id);
sz                707 drivers/staging/media/imx/imx-media-utils.c 		snprintf(sd_name, sz, "ipu%d_vdic", ipu_id + 1);
sz                710 drivers/staging/media/imx/imx-media-utils.c 		snprintf(sd_name, sz, "ipu%d_ic_prp", ipu_id + 1);
sz                713 drivers/staging/media/imx/imx-media-utils.c 		snprintf(sd_name, sz, "ipu%d_ic_prpenc", ipu_id + 1);
sz                716 drivers/staging/media/imx/imx-media-utils.c 		snprintf(sd_name, sz, "ipu%d_ic_prpvf", ipu_id + 1);
sz                184 drivers/staging/media/imx/imx-media.h void imx_media_grp_id_to_sd_name(char *sd_name, int sz,
sz                807 drivers/staging/rtl8188eu/core/rtw_cmd.c static void dynamic_chk_wk_hdl(struct adapter *padapter, u8 *pbuf, int sz)
sz                209 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 	uint sz = 0;
sz                214 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 	sz += 8;
sz                215 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 	ie += sz;
sz                219 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 	sz += 2;
sz                233 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 	sz += 2;
sz                237 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 	ie = rtw_set_ie(ie, _SSID_IE_, pdev_network->ssid.ssid_length, pdev_network->ssid.ssid, &sz);
sz                254 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 		ie = rtw_set_ie(ie, _SUPPORTEDRATES_IE_, 8, pdev_network->SupportedRates, &sz);
sz                257 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 		ie = rtw_set_ie(ie, _SUPPORTEDRATES_IE_, rateLen, pdev_network->SupportedRates, &sz);
sz                261 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 	ie = rtw_set_ie(ie, _DSSET_IE_, 1, (u8 *)&(pdev_network->Configuration.DSConfig), &sz);
sz                265 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 	ie = rtw_set_ie(ie, _IBSS_PARA_IE_, 2, (u8 *)&(pdev_network->Configuration.ATIMWindow), &sz);
sz                268 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 		ie = rtw_set_ie(ie, _EXT_SUPPORTEDRATES_IE_, (rateLen - 8), (pdev_network->SupportedRates + 8), &sz);
sz                270 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 	return sz;
sz               1775 drivers/staging/rtl8188eu/core/rtw_mlme.c 	int sz = 0;
sz               1814 drivers/staging/rtl8188eu/core/rtw_mlme.c 	sz = rtw_generate_ie(pregistrypriv);
sz               1815 drivers/staging/rtl8188eu/core/rtw_mlme.c 	pdev_network->ie_length = sz;
sz                608 drivers/staging/rtl8188eu/core/rtw_recv.c 	int	sz;
sz                614 drivers/staging/rtl8188eu/core/rtw_recv.c 	sz = prframe->pkt->len;
sz                615 drivers/staging/rtl8188eu/core/rtw_recv.c 	precvpriv->rx_bytes += sz;
sz                631 drivers/staging/rtl8188eu/core/rtw_recv.c 		pstats->rx_bytes += sz;
sz                244 drivers/staging/rtl8188eu/core/rtw_xmit.c 	u32	sz;
sz                251 drivers/staging/rtl8188eu/core/rtw_xmit.c 		sz = padapter->xmitpriv.frag_len;
sz                253 drivers/staging/rtl8188eu/core/rtw_xmit.c 		sz = pattrib->last_txcmdsz;
sz                262 drivers/staging/rtl8188eu/core/rtw_xmit.c 		if (sz > padapter->registrypriv.rts_thresh) {
sz                303 drivers/staging/rtl8188eu/core/rtw_xmit.c 			if (sz > padapter->registrypriv.rts_thresh) {
sz               1120 drivers/staging/rtl8188eu/core/rtw_xmit.c void rtw_count_tx_stats(struct adapter *padapter, struct xmit_frame *pxmitframe, int sz)
sz               1128 drivers/staging/rtl8188eu/core/rtw_xmit.c 		pxmitpriv->tx_bytes += sz;
sz               1135 drivers/staging/rtl8188eu/core/rtw_xmit.c 			pstats->tx_bytes += sz;
sz                 26 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c static u8 urb_zero_packet_chk(struct adapter *adapt, int sz)
sz                 28 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 	return !((sz + TXDESC_SIZE) % adapt->HalData->UsbBulkOutSize);
sz                161 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz, u8 bagg_pkt)
sz                174 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 		if ((!bagg_pkt) && (urb_zero_packet_chk(adapt, sz) == 0)) {
sz                184 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 	ptxdesc->txdw0 |= cpu_to_le32(sz & 0x0000ffff);/* update TXPKTSIZE */
sz                336 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 	int t, sz, w_sz, pull = 0;
sz                360 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 			sz = pxmitpriv->frag_len;
sz                361 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 			sz = sz - 4 - pattrib->icv_len;
sz                364 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 			sz = pattrib->last_txcmdsz;
sz                367 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 		pull = update_txdesc(pxmitframe, mem_addr, sz, false);
sz                372 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 			w_sz = sz + TXDESC_SIZE;
sz                374 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 			w_sz = sz + TXDESC_SIZE + PACKET_OFFSET_SZ;
sz                380 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 		rtw_count_tx_stats(adapt, pxmitframe, sz);
sz                 64 drivers/staging/rtl8188eu/include/osdep_service.h u8 *_rtw_malloc(u32 sz);
sz                 65 drivers/staging/rtl8188eu/include/osdep_service.h #define rtw_malloc(sz)			_rtw_malloc((sz))
sz                309 drivers/staging/rtl8188eu/include/rtw_xmit.h 			struct xmit_frame *pxmitframe, int sz);
sz                 16 drivers/staging/rtl8188eu/os_dep/osdep_service.c u8 *_rtw_malloc(u32 sz)
sz                 18 drivers/staging/rtl8188eu/os_dep/osdep_service.c 	return kmalloc(sz, in_interrupt() ? GFP_ATOMIC : GFP_KERNEL);
sz                162 drivers/staging/rtl8712/ieee80211.c 	uint sz = 0;
sz                168 drivers/staging/rtl8712/ieee80211.c 	sz += 8;
sz                169 drivers/staging/rtl8712/ieee80211.c 	ie += sz;
sz                172 drivers/staging/rtl8712/ieee80211.c 	sz += 2;
sz                181 drivers/staging/rtl8712/ieee80211.c 	sz += 2;
sz                185 drivers/staging/rtl8712/ieee80211.c 			  dev_network->Ssid.Ssid, &sz);
sz                191 drivers/staging/rtl8712/ieee80211.c 				  dev_network->rates, &sz);
sz                193 drivers/staging/rtl8712/ieee80211.c 				  (dev_network->rates + 8), &sz);
sz                196 drivers/staging/rtl8712/ieee80211.c 				  rate_len, dev_network->rates, &sz);
sz                200 drivers/staging/rtl8712/ieee80211.c 			  (u8 *)&dev_network->Configuration.DSConfig, &sz);
sz                203 drivers/staging/rtl8712/ieee80211.c 			  (u8 *)&dev_network->Configuration.ATIMWindow, &sz);
sz                204 drivers/staging/rtl8712/ieee80211.c 	return sz;
sz                 27 drivers/staging/rtl8712/rtl8712_xmit.c static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz);
sz                397 drivers/staging/rtl8712/rtl8712_xmit.c static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz)
sz                418 drivers/staging/rtl8712/rtl8712_xmit.c 	ptxdesc->txdw0 |= cpu_to_le32(sz & 0x0000ffff);
sz                420 drivers/staging/rtl8712/rtl8712_xmit.c 		if (((sz + TXDESC_SIZE) % 512) == 0)
sz                425 drivers/staging/rtl8712/rtl8712_xmit.c 		if (((sz + TXDESC_SIZE) % 64) == 0)
sz                690 drivers/staging/rtl8712/rtl8712_xmit.c 	int t, sz, w_sz;
sz                704 drivers/staging/rtl8712/rtl8712_xmit.c 			sz = pxmitpriv->frag_len;
sz                705 drivers/staging/rtl8712/rtl8712_xmit.c 			sz = sz - 4 - (psecuritypriv->sw_encrypt ? 0 :
sz                709 drivers/staging/rtl8712/rtl8712_xmit.c 			sz = pattrib->last_txcmdsz;
sz                712 drivers/staging/rtl8712/rtl8712_xmit.c 		update_txdesc(pxmitframe, (uint *)mem_addr, sz);
sz                713 drivers/staging/rtl8712/rtl8712_xmit.c 		w_sz = sz + TXDESC_SIZE;
sz                615 drivers/staging/rtl8712/rtl871x_cmd.c 	pdrvintcmd_param->sz = 0;
sz                477 drivers/staging/rtl8712/rtl871x_cmd.h 	int sz; /* buf sz*/
sz               1581 drivers/staging/rtl8712/rtl871x_mlme.c 	int sz = 0;
sz               1612 drivers/staging/rtl8712/rtl871x_mlme.c 	sz = r8712_generate_ie(pregistrypriv);
sz               1613 drivers/staging/rtl8712/rtl871x_mlme.c 	pdev_network->IELength = sz;
sz                 57 drivers/staging/rtl8712/rtl871x_mp.h 	u16 sz[8];
sz                154 drivers/staging/rtl8712/rtl871x_recv.h static inline u8 *recvframe_pull(union recv_frame *precvframe, sint sz)
sz                161 drivers/staging/rtl8712/rtl871x_recv.h 	precvframe->u.hdr.rx_data += sz;
sz                163 drivers/staging/rtl8712/rtl871x_recv.h 		precvframe->u.hdr.rx_data -= sz;
sz                166 drivers/staging/rtl8712/rtl871x_recv.h 	precvframe->u.hdr.len -= sz;
sz                170 drivers/staging/rtl8712/rtl871x_recv.h static inline u8 *recvframe_put(union recv_frame *precvframe, sint sz)
sz                178 drivers/staging/rtl8712/rtl871x_recv.h 	precvframe->u.hdr.rx_tail += sz;
sz                180 drivers/staging/rtl8712/rtl871x_recv.h 		precvframe->u.hdr.rx_tail -= sz;
sz                183 drivers/staging/rtl8712/rtl871x_recv.h 	precvframe->u.hdr.len += sz;
sz                187 drivers/staging/rtl8712/rtl871x_recv.h static inline u8 *recvframe_pull_tail(union recv_frame *precvframe, sint sz)
sz                196 drivers/staging/rtl8712/rtl871x_recv.h 	precvframe->u.hdr.rx_tail -= sz;
sz                198 drivers/staging/rtl8712/rtl871x_recv.h 		precvframe->u.hdr.rx_tail += sz;
sz                201 drivers/staging/rtl8712/rtl871x_recv.h 	precvframe->u.hdr.len -= sz;
sz                154 drivers/staging/rtl8712/rtl871x_xmit.h 	u16 sz[8];
sz                421 drivers/staging/rtl8712/usb_ops_linux.c 			pxmitframe->sz[i] = (u16)cnt;
sz                191 drivers/staging/rtl8723bs/core/rtw_eeprom.c u8 eeprom_read(_adapter *padapter, u32 addr_off, u8 sz, u8 *rbuf)
sz                203 drivers/staging/rtl8723bs/core/rtw_eeprom.c 		reg++; sz--;
sz                206 drivers/staging/rtl8723bs/core/rtw_eeprom.c 	quotient = sz >> 1;
sz                207 drivers/staging/rtl8723bs/core/rtw_eeprom.c 	remainder = sz & 0x1;
sz                303 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 	int	sz = 0, rateLen;
sz                308 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 	sz += 8;
sz                309 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 	ie += sz;
sz                313 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 	sz += 2;
sz                327 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 	sz += 2;
sz                331 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 	ie = rtw_set_ie(ie, _SSID_IE_, pdev_network->Ssid.SsidLength, pdev_network->Ssid.Ssid, &sz);
sz                348 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 		ie = rtw_set_ie(ie, _SUPPORTEDRATES_IE_, 8, pdev_network->SupportedRates, &sz);
sz                351 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 		ie = rtw_set_ie(ie, _SUPPORTEDRATES_IE_, rateLen, pdev_network->SupportedRates, &sz);
sz                355 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 	ie = rtw_set_ie(ie, _DSSET_IE_, 1, (u8 *)&(pdev_network->Configuration.DSConfig), &sz);
sz                359 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 	ie = rtw_set_ie(ie, _IBSS_PARA_IE_, 2, (u8 *)&(pdev_network->Configuration.ATIMWindow), &sz);
sz                362 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 		ie = rtw_set_ie(ie, _EXT_SUPPORTEDRATES_IE_, (rateLen - 8), (pdev_network->SupportedRates + 8), &sz);
sz                375 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 	return sz;
sz               2489 drivers/staging/rtl8723bs/core/rtw_mlme.c 	int sz = 0;
sz               2538 drivers/staging/rtl8723bs/core/rtw_mlme.c 	sz = rtw_generate_ie(pregistrypriv);
sz               2540 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pdev_network->IELength = sz;
sz               5923 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	int	sz = 0, rateLen;
sz               5945 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	sz += 8;
sz               5946 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	ie += sz;
sz               5950 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	sz += 2;
sz               5958 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	sz += 2;
sz               5962 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	ie = rtw_set_ie(ie, _SSID_IE_, ssid_len, ssid, &sz);
sz               5969 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		ie = rtw_set_ie(ie, _SUPPORTEDRATES_IE_, 8, supportRate, &sz);
sz               5971 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		ie = rtw_set_ie(ie, _SUPPORTEDRATES_IE_, rateLen, supportRate, &sz);
sz               5985 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	ie = rtw_set_ie(ie, _DSSET_IE_, 1, &oper_channel, &sz);
sz               5989 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		ie = rtw_set_ie(ie, _EXT_SUPPORTEDRATES_IE_, (rateLen - 8), (supportRate + 8), &sz);
sz               5992 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	DBG_871X("%s, start auto ap beacon sz =%d\n", __func__, sz);
sz               5995 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (rtw_check_beacon_data(adapter, pbuf,  sz) == _SUCCESS) {
sz                741 drivers/staging/rtl8723bs/core/rtw_recv.c 	int	sz;
sz                747 drivers/staging/rtl8723bs/core/rtw_recv.c 	sz = get_recvframe_len(prframe);
sz                748 drivers/staging/rtl8723bs/core/rtw_recv.c 	precvpriv->rx_bytes += sz;
sz                765 drivers/staging/rtl8723bs/core/rtw_recv.c 		pstats->rx_bytes += sz;
sz                372 drivers/staging/rtl8723bs/core/rtw_xmit.c 	u32 sz;
sz                379 drivers/staging/rtl8723bs/core/rtw_xmit.c 		sz = padapter->xmitpriv.frag_len;
sz                381 drivers/staging/rtl8723bs/core/rtw_xmit.c 		sz = pattrib->last_txcmdsz;
sz                388 drivers/staging/rtl8723bs/core/rtw_xmit.c 		if (sz > padapter->registrypriv.rts_thresh)
sz                429 drivers/staging/rtl8723bs/core/rtw_xmit.c 			if (sz > padapter->registrypriv.rts_thresh) {
sz               1589 drivers/staging/rtl8723bs/core/rtw_xmit.c void rtw_count_tx_stats(struct adapter *padapter, struct xmit_frame *pxmitframe, int sz)
sz               1604 drivers/staging/rtl8723bs/core/rtw_xmit.c 		pxmitpriv->tx_bytes += sz;
sz               1612 drivers/staging/rtl8723bs/core/rtw_xmit.c 			pstats->tx_bytes += sz;
sz                 89 drivers/staging/rtl8723bs/include/osdep_service.h #define rtw_mstat_update(flag, status, sz) do {} while (0)
sz                 91 drivers/staging/rtl8723bs/include/osdep_service.h void *_rtw_zmalloc(u32 sz);
sz                 92 drivers/staging/rtl8723bs/include/osdep_service.h void *_rtw_malloc(u32 sz);
sz                 93 drivers/staging/rtl8723bs/include/osdep_service.h void _kfree(u8 *pbuf, u32 sz);
sz                 95 drivers/staging/rtl8723bs/include/osdep_service.h struct sk_buff *_rtw_skb_alloc(u32 sz);
sz                100 drivers/staging/rtl8723bs/include/osdep_service.h #define rtw_malloc(sz)			_rtw_malloc((sz))
sz                101 drivers/staging/rtl8723bs/include/osdep_service.h #define rtw_zmalloc(sz)			_rtw_zmalloc((sz))
sz                136 drivers/staging/rtl8723bs/include/osdep_service.h #define _RND(sz, r) ((((sz)+((r)-1))/(r))*(r))
sz                139 drivers/staging/rtl8723bs/include/osdep_service.h static inline u32 _RND4(u32 sz)
sz                144 drivers/staging/rtl8723bs/include/osdep_service.h 	val = ((sz >> 2) + ((sz & 3) ? 1: 0)) << 2;
sz                150 drivers/staging/rtl8723bs/include/osdep_service.h static inline u32 _RND8(u32 sz)
sz                155 drivers/staging/rtl8723bs/include/osdep_service.h 	val = ((sz >> 3) + ((sz & 7) ? 1: 0)) << 3;
sz                176 drivers/staging/rtl8723bs/include/osdep_service.h extern int rtw_retrive_from_file(char *path, u8 *buf, u32 sz);
sz                434 drivers/staging/rtl8723bs/include/rtw_mp.h u32 read_macreg(struct adapter *padapter, u32 addr, u32 sz);
sz                435 drivers/staging/rtl8723bs/include/rtw_mp.h void write_macreg(struct adapter *padapter, u32 addr, u32 val, u32 sz);
sz                428 drivers/staging/rtl8723bs/include/rtw_recv.h static inline u8 *recvframe_pull(union recv_frame *precvframe, sint sz)
sz                439 drivers/staging/rtl8723bs/include/rtw_recv.h 	precvframe->u.hdr.rx_data += sz;
sz                443 drivers/staging/rtl8723bs/include/rtw_recv.h 		precvframe->u.hdr.rx_data -= sz;
sz                447 drivers/staging/rtl8723bs/include/rtw_recv.h 	precvframe->u.hdr.len -=sz;
sz                453 drivers/staging/rtl8723bs/include/rtw_recv.h static inline u8 *recvframe_put(union recv_frame *precvframe, sint sz)
sz                466 drivers/staging/rtl8723bs/include/rtw_recv.h 	precvframe->u.hdr.rx_tail += sz;
sz                474 drivers/staging/rtl8723bs/include/rtw_recv.h 	precvframe->u.hdr.len +=sz;
sz                482 drivers/staging/rtl8723bs/include/rtw_recv.h static inline u8 *recvframe_pull_tail(union recv_frame *precvframe, sint sz)
sz                492 drivers/staging/rtl8723bs/include/rtw_recv.h 	precvframe->u.hdr.rx_tail -= sz;
sz                496 drivers/staging/rtl8723bs/include/rtw_recv.h 		precvframe->u.hdr.rx_tail += sz;
sz                500 drivers/staging/rtl8723bs/include/rtw_recv.h 	precvframe->u.hdr.len -=sz;
sz                460 drivers/staging/rtl8723bs/include/rtw_xmit.h void rtw_count_tx_stats(struct adapter *padapter, struct xmit_frame *pxmitframe, int sz);
sz                 25 drivers/staging/rtl8723bs/os_dep/osdep_service.c void *_rtw_malloc(u32 sz)
sz                 27 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	return kmalloc(sz, in_interrupt() ? GFP_ATOMIC : GFP_KERNEL);
sz                 30 drivers/staging/rtl8723bs/os_dep/osdep_service.c void *_rtw_zmalloc(u32 sz)
sz                 32 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	void *pbuf = _rtw_malloc(sz);
sz                 35 drivers/staging/rtl8723bs/os_dep/osdep_service.c 		memset(pbuf, 0, sz);
sz                 40 drivers/staging/rtl8723bs/os_dep/osdep_service.c inline struct sk_buff *_rtw_skb_alloc(u32 sz)
sz                 42 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	return __dev_alloc_skb(sz, in_interrupt() ? GFP_ATOMIC : GFP_KERNEL);
sz                152 drivers/staging/rtl8723bs/os_dep/osdep_service.c static int retriveFromFile(char *path, u8 *buf, u32 sz)
sz                163 drivers/staging/rtl8723bs/os_dep/osdep_service.c 			ret = readFile(fp, buf, sz);
sz                198 drivers/staging/rtl8723bs/os_dep/osdep_service.c int rtw_retrive_from_file(char *path, u8 *buf, u32 sz)
sz                200 drivers/staging/rtl8723bs/os_dep/osdep_service.c 	int ret = retriveFromFile(path, buf, sz);
sz                282 drivers/staging/wilc1000/wilc_spi.c static int spi_cmd_complete(struct wilc *wilc, u8 cmd, u32 adr, u8 *b, u32 sz,
sz                340 drivers/staging/wilc1000/wilc_spi.c 		wb[4] = (u8)(sz >> 8);
sz                341 drivers/staging/wilc1000/wilc_spi.c 		wb[5] = (u8)(sz);
sz                350 drivers/staging/wilc1000/wilc_spi.c 		wb[4] = (u8)(sz >> 16);
sz                351 drivers/staging/wilc1000/wilc_spi.c 		wb[5] = (u8)(sz >> 8);
sz                352 drivers/staging/wilc1000/wilc_spi.c 		wb[6] = (u8)(sz);
sz                514 drivers/staging/wilc1000/wilc_spi.c 		for (ix = 0; (rix < len2) && (ix < sz); )
sz                517 drivers/staging/wilc1000/wilc_spi.c 		sz -= ix;
sz                519 drivers/staging/wilc1000/wilc_spi.c 		if (sz > 0) {
sz                522 drivers/staging/wilc1000/wilc_spi.c 			if (sz <= (DATA_PKT_SZ - ix))
sz                523 drivers/staging/wilc1000/wilc_spi.c 				nbytes = sz;
sz                546 drivers/staging/wilc1000/wilc_spi.c 			sz -= nbytes;
sz                553 drivers/staging/wilc1000/wilc_spi.c 		while (sz > 0) {
sz                556 drivers/staging/wilc1000/wilc_spi.c 			if (sz <= DATA_PKT_SZ)
sz                557 drivers/staging/wilc1000/wilc_spi.c 				nbytes = sz;
sz                605 drivers/staging/wilc1000/wilc_spi.c 			sz -= nbytes;
sz                611 drivers/staging/wilc1000/wilc_spi.c static int spi_data_write(struct wilc *wilc, u8 *b, u32 sz)
sz                624 drivers/staging/wilc1000/wilc_spi.c 		if (sz <= DATA_PKT_SZ) {
sz                625 drivers/staging/wilc1000/wilc_spi.c 			nbytes = sz;
sz                673 drivers/staging/wilc1000/wilc_spi.c 		sz -= nbytes;
sz                674 drivers/staging/wilc1000/wilc_spi.c 	} while (sz);
sz                456 drivers/tee/optee/core.c 	const int sz = OPTEE_SHM_NUM_PRIV_PAGES * PAGE_SIZE;
sz                486 drivers/tee/optee/core.c 	rc = tee_shm_pool_mgr_alloc_res_mem(vaddr, paddr, sz,
sz                492 drivers/tee/optee/core.c 	vaddr += sz;
sz                493 drivers/tee/optee/core.c 	paddr += sz;
sz                494 drivers/tee/optee/core.c 	size -= sz;
sz                170 drivers/tee/optee/rpc.c static struct tee_shm *cmd_alloc_suppl(struct tee_context *ctx, size_t sz)
sz                179 drivers/tee/optee/rpc.c 	param.u.value.b = sz;
sz                199 drivers/tee/optee/rpc.c 	size_t sz;
sz                217 drivers/tee/optee/rpc.c 	sz = arg->params[0].u.value.b;
sz                220 drivers/tee/optee/rpc.c 		shm = cmd_alloc_suppl(ctx, sz);
sz                223 drivers/tee/optee/rpc.c 		shm = tee_shm_alloc(ctx, sz, TEE_SHM_MAPPED);
sz                240 drivers/tee/optee/rpc.c 	sz = tee_shm_get_size(shm);
sz                279 drivers/tee/optee/rpc.c 		arg->params[0].u.tmem.size = sz;
sz                811 drivers/tty/serial/pch_uart.c 		int sz = min(size - count, cnt_to_end);
sz                812 drivers/tty/serial/pch_uart.c 		pch_uart_hal_write(priv, &xmit->buf[xmit->tail], sz);
sz                813 drivers/tty/serial/pch_uart.c 		xmit->tail = (xmit->tail + sz) & (UART_XMIT_SIZE - 1);
sz                814 drivers/tty/serial/pch_uart.c 		count += sz;
sz               2000 drivers/tty/vt/keyboard.c 	int sz, fnw_sz;
sz               2026 drivers/tty/vt/keyboard.c 		sz = sizeof(kbs->kb_string) - 1; /* sz should have been
sz               2031 drivers/tty/vt/keyboard.c 			for ( ; *p && sz; p++, sz--)
sz               2078 drivers/tty/vt/keyboard.c 		    sz = 256;
sz               2079 drivers/tty/vt/keyboard.c 		    while (sz < funcbufsize - funcbufleft + delta)
sz               2080 drivers/tty/vt/keyboard.c 		      sz <<= 1;
sz               2081 drivers/tty/vt/keyboard.c 		    if (fnw_sz != sz) {
sz               2084 drivers/tty/vt/keyboard.c 		      fnw = kmalloc(sz, GFP_KERNEL);
sz               2085 drivers/tty/vt/keyboard.c 		      fnw_sz = sz;
sz               2112 drivers/tty/vt/keyboard.c 		    funcbufleft = funcbufleft - delta + sz - funcbufsize;
sz               2113 drivers/tty/vt/keyboard.c 		    funcbufsize = sz;
sz                444 drivers/tty/vt/vt.c 		unsigned int i, j, k, sz, d, clear;
sz                446 drivers/tty/vt/vt.c 		sz = b - t;
sz                451 drivers/tty/vt/vt.c 			d = sz - nr;
sz                453 drivers/tty/vt/vt.c 		for (i = 0; i < gcd(d, sz); i++) {
sz                458 drivers/tty/vt/vt.c 				if (k >= sz)
sz                459 drivers/tty/vt/vt.c 					k -= sz;
sz                 42 drivers/usb/early/xhci-dbc.c 	u32 val, sz;
sz                 47 drivers/usb/early/xhci-dbc.c 	sz = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0);
sz                 50 drivers/usb/early/xhci-dbc.c 	if (val == 0xffffffff || sz == 0xffffffff) {
sz                 56 drivers/usb/early/xhci-dbc.c 	sz64	= sz & PCI_BASE_ADDRESS_MEM_MASK;
sz                 62 drivers/usb/early/xhci-dbc.c 		sz = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0 + 4);
sz                 66 drivers/usb/early/xhci-dbc.c 		sz64	|= (u64)sz << 32;
sz                764 drivers/usb/gadget/function/f_fs.c static void *ffs_build_sg_list(struct sg_table *sgt, size_t sz)
sz                771 drivers/usb/gadget/function/f_fs.c 	vaddr = vmalloc(sz);
sz                775 drivers/usb/gadget/function/f_fs.c 	n_pages = PAGE_ALIGN(sz) >> PAGE_SHIFT;
sz                785 drivers/usb/gadget/function/f_fs.c 	if (sg_alloc_table_from_pages(sgt, pages, n_pages, 0, sz, GFP_KERNEL)) {
sz               2059 drivers/usb/gadget/function/uvc_configfs.c 		int sz = sizeof(frm->dw_frame_interval);
sz               2062 drivers/usb/gadget/function/uvc_configfs.c 		*size += frm->frame.b_frame_interval_type * sz;
sz               2084 drivers/usb/gadget/function/uvc_configfs.c 	size_t sz;
sz               2097 drivers/usb/gadget/function/uvc_configfs.c 		sz = UVCG_STREAMING_CONTROL_SIZE;
sz               2099 drivers/usb/gadget/function/uvc_configfs.c 			memcpy(*dest, f->fmt->bmaControls, sz);
sz               2100 drivers/usb/gadget/function/uvc_configfs.c 			*dest += sz;
sz               2102 drivers/usb/gadget/function/uvc_configfs.c 		ihdr->bLength = sizeof(h->desc) + h->num_fmt * sz;
sz               2135 drivers/usb/gadget/function/uvc_configfs.c 		sz = sizeof(frm->frame);
sz               2136 drivers/usb/gadget/function/uvc_configfs.c 		memcpy(*dest, &frm->frame, sz);
sz               2137 drivers/usb/gadget/function/uvc_configfs.c 		*dest += sz;
sz               2138 drivers/usb/gadget/function/uvc_configfs.c 		sz = frm->frame.b_frame_interval_type *
sz               2140 drivers/usb/gadget/function/uvc_configfs.c 		memcpy(*dest, frm->dw_frame_interval, sz);
sz               2141 drivers/usb/gadget/function/uvc_configfs.c 		*dest += sz;
sz                495 drivers/usb/host/fhci.h 	unsigned int sz;
sz                498 drivers/usb/host/fhci.h 	sz = kfifo_out(kfifo, (void *)&p, sizeof(p));
sz                499 drivers/usb/host/fhci.h 	if (sz != sizeof(p))
sz                645 drivers/vhost/net.c static bool vhost_net_page_frag_refill(struct vhost_net *net, unsigned int sz,
sz                649 drivers/vhost/net.c 		if (pfrag->offset + sz <= pfrag->size)
sz                692 drivers/vhost/vhost.c static bool log_access_ok(void __user *log_base, u64 addr, unsigned long sz)
sz                702 drivers/vhost/vhost.c 			 (sz + VHOST_PAGE_SIZE * 8 - 1) / VHOST_PAGE_SIZE / 8);
sz                104 drivers/video/backlight/lms283gf05.c 				const struct lms283gf05_seq *seq, int sz)
sz                109 drivers/video/backlight/lms283gf05.c 	for (i = 0; i < sz; i++) {
sz                151 drivers/xen/xenbus/xenbus_dev_frontend.c 		unsigned sz = min((unsigned)len - i, rb->len - rb->cons);
sz                153 drivers/xen/xenbus/xenbus_dev_frontend.c 		ret = copy_to_user(ubuf + i, &rb->msg[rb->cons], sz);
sz                155 drivers/xen/xenbus/xenbus_dev_frontend.c 		i += sz - ret;
sz                156 drivers/xen/xenbus/xenbus_dev_frontend.c 		rb->cons += sz - ret;
sz                 12 fs/adfs/dir_fplus.c adfs_fplus_read(struct super_block *sb, unsigned int id, unsigned int sz, struct adfs_dir *dir)
sz                 38 fs/adfs/dir_fplus.c 	if (size != sz) {
sz                 41 fs/adfs/dir_fplus.c 			 size, sz);
sz                 17 fs/affs/affs.h #define GET_END_PTR(st,p,sz)		 ((st *)((char *)(p)+((sz)-sizeof(st))))
sz               1405 fs/binfmt_elf.c 	int sz;
sz               1407 fs/binfmt_elf.c 	sz = sizeof(struct elf_note);
sz               1408 fs/binfmt_elf.c 	sz += roundup(strlen(en->name) + 1, 4);
sz               1409 fs/binfmt_elf.c 	sz += roundup(en->datasz, 4);
sz               1411 fs/binfmt_elf.c 	return sz;
sz               1447 fs/binfmt_elf.c static void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset)
sz               1453 fs/binfmt_elf.c 	phdr->p_filesz = sz;
sz               1460 fs/binfmt_elf.c 		unsigned int sz, void *data)
sz               1464 fs/binfmt_elf.c 	note->datasz = sz;
sz               1937 fs/binfmt_elf.c 	int sz = 0;
sz               1947 fs/binfmt_elf.c 	sz += notesize(&t->notes[0]);
sz               1954 fs/binfmt_elf.c 		sz += notesize(&t->notes[1]);
sz               1962 fs/binfmt_elf.c 		sz += notesize(&t->notes[2]);
sz               1965 fs/binfmt_elf.c 	return sz;
sz               2030 fs/binfmt_elf.c 		int sz;
sz               2032 fs/binfmt_elf.c 		sz = elf_dump_thread_status(siginfo->si_signo, ets);
sz               2033 fs/binfmt_elf.c 		info->thread_status_size += sz;
sz               2081 fs/binfmt_elf.c 	int sz = 0;
sz               2085 fs/binfmt_elf.c 		sz += notesize(info->notes + i);
sz               2087 fs/binfmt_elf.c 	sz += info->thread_status_size;
sz               2089 fs/binfmt_elf.c 	return sz;
sz               2252 fs/binfmt_elf.c 		size_t sz = get_note_info_size(&info);
sz               2254 fs/binfmt_elf.c 		sz += elf_coredump_extra_notes_size();
sz               2260 fs/binfmt_elf.c 		fill_elf_note_phdr(phdr4note, sz, offset);
sz               2261 fs/binfmt_elf.c 		offset += sz;
sz               1267 fs/binfmt_elf_fdpic.c 	int sz;
sz               1269 fs/binfmt_elf_fdpic.c 	sz = sizeof(struct elf_note);
sz               1270 fs/binfmt_elf_fdpic.c 	sz += roundup(strlen(en->name) + 1, 4);
sz               1271 fs/binfmt_elf_fdpic.c 	sz += roundup(en->datasz, 4);
sz               1273 fs/binfmt_elf_fdpic.c 	return sz;
sz               1315 fs/binfmt_elf_fdpic.c static inline void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset)
sz               1321 fs/binfmt_elf_fdpic.c 	phdr->p_filesz = sz;
sz               1329 fs/binfmt_elf_fdpic.c 		unsigned int sz, void *data)
sz               1333 fs/binfmt_elf_fdpic.c 	note->datasz = sz;
sz               1443 fs/binfmt_elf_fdpic.c 	int sz = 0;
sz               1453 fs/binfmt_elf_fdpic.c 	sz += notesize(&t->notes[0]);
sz               1460 fs/binfmt_elf_fdpic.c 		sz += notesize(&t->notes[1]);
sz               1468 fs/binfmt_elf_fdpic.c 		sz += notesize(&t->notes[2]);
sz               1471 fs/binfmt_elf_fdpic.c 	return sz;
sz               1624 fs/binfmt_elf_fdpic.c 		int sz;
sz               1627 fs/binfmt_elf_fdpic.c 		sz = elf_dump_thread_status(cprm->siginfo->si_signo, tmp);
sz               1628 fs/binfmt_elf_fdpic.c 		thread_status_size += sz;
sz               1689 fs/binfmt_elf_fdpic.c 		int sz = 0;
sz               1692 fs/binfmt_elf_fdpic.c 			sz += notesize(notes + i);
sz               1694 fs/binfmt_elf_fdpic.c 		sz += thread_status_size;
sz               1700 fs/binfmt_elf_fdpic.c 		fill_elf_note_phdr(phdr4note, sz, offset);
sz               1701 fs/binfmt_elf_fdpic.c 		offset += sz;
sz               1729 fs/binfmt_elf_fdpic.c 		size_t sz;
sz               1731 fs/binfmt_elf_fdpic.c 		sz = vma->vm_end - vma->vm_start;
sz               1737 fs/binfmt_elf_fdpic.c 		phdr.p_filesz = maydump(vma, cprm->mm_flags) ? sz : 0;
sz               1738 fs/binfmt_elf_fdpic.c 		phdr.p_memsz = sz;
sz                881 fs/buffer.c    	loff_t sz = i_size_read(bdev->bd_inode);
sz                883 fs/buffer.c    	if (sz) {
sz                885 fs/buffer.c    		retval = (sz >> sizebits);
sz                376 fs/cifs/sess.c 	int sz = sizeof(AUTHENTICATE_MESSAGE) + ses->auth_key.len
sz                380 fs/cifs/sess.c 		sz += 2 * strnlen(ses->domainName, CIFS_MAX_DOMAINNAME_LEN);
sz                382 fs/cifs/sess.c 		sz += 2;
sz                385 fs/cifs/sess.c 		sz += 2 * strnlen(ses->user_name, CIFS_MAX_USERNAME_LEN);
sz                387 fs/cifs/sess.c 		sz += 2;
sz                389 fs/cifs/sess.c 	return sz;
sz                298 fs/d_path.c    	int sz;
sz                301 fs/d_path.c    	sz = vsnprintf(temp, sizeof(temp), fmt, args) + 1;
sz                304 fs/d_path.c    	if (sz > sizeof(temp) || sz > buflen)
sz                307 fs/d_path.c    	buffer += buflen - sz;
sz                308 fs/d_path.c    	return memcpy(buffer, temp, sz);
sz                 44 fs/erofs/namei.c #define nameoff_from_disk(off, sz)	(le16_to_cpu(off) & ((sz) - 1))
sz                 21 fs/ext4/bitmap.c 				  struct buffer_head *bh, int sz)
sz                 31 fs/ext4/bitmap.c 	calculated = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz);
sz                 43 fs/ext4/bitmap.c 				struct buffer_head *bh, int sz)
sz                 51 fs/ext4/bitmap.c 	csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz);
sz                 64 fs/ext4/bitmap.c 	int sz = EXT4_CLUSTERS_PER_GROUP(sb) / 8;
sz                 70 fs/ext4/bitmap.c 	calculated = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz);
sz                 87 fs/ext4/bitmap.c 	int sz = EXT4_CLUSTERS_PER_GROUP(sb) / 8;
sz                 94 fs/ext4/bitmap.c 	csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz);
sz               2315 fs/ext4/ext4.h 				struct buffer_head *bh, int sz);
sz               2318 fs/ext4/ext4.h 				  struct buffer_head *bh, int sz);
sz                336 fs/fat/namei_vfat.c 	int sz = 0, extlen, baselen, i, numtail_baselen, numtail2_baselen;
sz                349 fs/fat/namei_vfat.c 				sz = ulen;
sz                357 fs/fat/namei_vfat.c 		sz = ulen;
sz                372 fs/fat/namei_vfat.c 			sz = ext_start - uname;
sz                375 fs/fat/namei_vfat.c 			sz = ulen;
sz                382 fs/fat/namei_vfat.c 	for (baselen = i = 0, p = base, ip = uname; i < sz; i++, ip++) {
sz                399 fs/fat/namei_vfat.c 			if ((chi < chl - 1) || (ip + 1) - uname < sz)
sz                492 fs/fat/namei_vfat.c 	sz = (jiffies >> 16) & 0x7;
sz                498 fs/fat/namei_vfat.c 	name_res[baselen + 5] = '1' + sz;
sz                509 fs/gfs2/lops.c 	int sz, ret = 0;
sz                539 fs/gfs2/lops.c 					sz = bio_add_page(bio, page, bsize, off);
sz                540 fs/gfs2/lops.c 					if (sz == bsize)
sz                560 fs/gfs2/lops.c 			sz = bio_add_page(bio, page, bsize, off);
sz                561 fs/gfs2/lops.c 			BUG_ON(sz != bsize);
sz                628 fs/io_uring.c  		size_t sz;
sz                631 fs/io_uring.c  		sz = min_t(size_t, state->ios_left, ARRAY_SIZE(state->reqs));
sz                632 fs/io_uring.c  		ret = kmem_cache_alloc_bulk(req_cachep, gfp, sz, state->reqs);
sz               3703 fs/io_uring.c  	unsigned long sz = vma->vm_end - vma->vm_start;
sz               3722 fs/io_uring.c  	if (sz > page_size(page))
sz               3726 fs/io_uring.c  	return remap_pfn_range(vma, vma->vm_start, pfn, sz, vma->vm_page_prot);
sz               2246 fs/jbd2/journal.c 	size_t sz;
sz               2251 fs/jbd2/journal.c 	sz = sizeof(journal_block_tag_t);
sz               2254 fs/jbd2/journal.c 		sz += sizeof(__u16);
sz               2257 fs/jbd2/journal.c 		return sz;
sz               2259 fs/jbd2/journal.c 		return sz - sizeof(__u32);
sz                574 fs/jbd2/revoke.c 	int sz, offset;
sz                591 fs/jbd2/revoke.c 		sz = 8;
sz                593 fs/jbd2/revoke.c 		sz = 4;
sz                597 fs/jbd2/revoke.c 		if (offset + sz > journal->j_blocksize - csum_size) {
sz                623 fs/jbd2/revoke.c 	offset += sz;
sz                266 fs/jffs2/debug.c #define check(sz)							\
sz                268 fs/jffs2/debug.c 	if (sz != c->sz##_size) {					\
sz                270 fs/jffs2/debug.c 			#sz, sz, #sz, c->sz##_size);			\
sz               3993 fs/jfs/jfs_dmap.c 	s64 sz;
sz               4007 fs/jfs/jfs_dmap.c 	sz = (s64) 1 << l2sz;
sz               4008 fs/jfs/jfs_dmap.c 	if (sz < nblocks)
sz                250 fs/kernfs/dir.c 	int sz;
sz                254 fs/kernfs/dir.c 	sz = kernfs_path_from_node_locked(kn, NULL, kernfs_pr_cont_buf,
sz                256 fs/kernfs/dir.c 	if (sz < 0) {
sz                261 fs/kernfs/dir.c 	if (sz >= sizeof(kernfs_pr_cont_buf)) {
sz                597 fs/nfs/callback_xdr.c static __be32 encode_attr_bitmap(struct xdr_stream *xdr, const uint32_t *bitmap, size_t sz)
sz                599 fs/nfs/callback_xdr.c 	if (xdr_stream_encode_uint32_array(xdr, bitmap, sz) < 0)
sz               3232 fs/nfs/nfs4xdr.c decode_bitmap4(struct xdr_stream *xdr, uint32_t *bitmap, size_t sz)
sz               3236 fs/nfs/nfs4xdr.c 	ret = xdr_stream_decode_uint32_array(xdr, bitmap, sz);
sz               3241 fs/nfs/nfs4xdr.c 	return sz;
sz                 52 fs/ocfs2/dlm/dlmdomain.c 			unsigned int sz)
sz                 56 fs/ocfs2/dlm/dlmdomain.c 	if (!sz)
sz                 59 fs/ocfs2/dlm/dlmdomain.c 	memset(dmap, 0, ((sz + 7) >> 3));
sz                 60 fs/ocfs2/dlm/dlmdomain.c 	for (nn = 0 ; nn < sz; nn++)
sz                713 fs/proc/vmcore.c 		u64 offset, max_sz, sz, real_sz = 0;
sz                728 fs/proc/vmcore.c 			sz = sizeof(Elf64_Nhdr) +
sz                731 fs/proc/vmcore.c 			if ((real_sz + sz) > max_sz) {
sz                736 fs/proc/vmcore.c 			real_sz += sz;
sz                737 fs/proc/vmcore.c 			nhdr_ptr = (Elf64_Nhdr*)((char*)nhdr_ptr + sz);
sz                904 fs/proc/vmcore.c 		u64 offset, max_sz, sz, real_sz = 0;
sz                919 fs/proc/vmcore.c 			sz = sizeof(Elf32_Nhdr) +
sz                922 fs/proc/vmcore.c 			if ((real_sz + sz) > max_sz) {
sz                927 fs/proc/vmcore.c 			real_sz += sz;
sz                928 fs/proc/vmcore.c 			nhdr_ptr = (Elf32_Nhdr*)((char*)nhdr_ptr + sz);
sz                615 fs/pstore/ram.c 			    phys_addr_t *paddr, size_t sz, u32 sig)
sz                619 fs/pstore/ram.c 	if (!sz)
sz                622 fs/pstore/ram.c 	if (*paddr + sz - cxt->phys_addr > cxt->size) {
sz                624 fs/pstore/ram.c 			name, sz, (unsigned long long)*paddr,
sz                630 fs/pstore/ram.c 	*prz = persistent_ram_new(*paddr, sz, sig, &cxt->ecc_info,
sz                637 fs/pstore/ram.c 			name, sz, (unsigned long long)*paddr, err);
sz                641 fs/pstore/ram.c 	*paddr += sz;
sz                199 fs/statfs.c    SYSCALL_DEFINE3(statfs64, const char __user *, pathname, size_t, sz, struct statfs64 __user *, buf)
sz                203 fs/statfs.c    	if (sz != sizeof(*buf))
sz                220 fs/statfs.c    SYSCALL_DEFINE3(fstatfs64, unsigned int, fd, size_t, sz, struct statfs64 __user *, buf)
sz                225 fs/statfs.c    	if (sz != sizeof(*buf))
sz                343 fs/statfs.c    int kcompat_sys_statfs64(const char __user * pathname, compat_size_t sz, struct compat_statfs64 __user * buf)
sz                348 fs/statfs.c    	if (sz != sizeof(*buf))
sz                357 fs/statfs.c    COMPAT_SYSCALL_DEFINE3(statfs64, const char __user *, pathname, compat_size_t, sz, struct compat_statfs64 __user *, buf)
sz                359 fs/statfs.c    	return kcompat_sys_statfs64(pathname, sz, buf);
sz                362 fs/statfs.c    int kcompat_sys_fstatfs64(unsigned int fd, compat_size_t sz, struct compat_statfs64 __user * buf)
sz                367 fs/statfs.c    	if (sz != sizeof(*buf))
sz                376 fs/statfs.c    COMPAT_SYSCALL_DEFINE3(fstatfs64, unsigned int, fd, compat_size_t, sz, struct compat_statfs64 __user *, buf)
sz                378 fs/statfs.c    	return kcompat_sys_fstatfs64(fd, sz, buf);
sz                563 fs/ubifs/commit.c 	size_t sz;
sz                570 fs/ubifs/commit.c 	sz = sizeof(struct idx_node) + ubifs_idx_node_sz(c, c->fanout) -
sz                587 fs/ubifs/commit.c 		i = kmalloc(sz, GFP_NOFS);
sz               1510 fs/ubifs/journal.c 	int err, dlen, len, lnum, offs, bit, sz, sync = IS_SYNC(inode);
sz               1523 fs/ubifs/journal.c 	sz = UBIFS_TRUN_NODE_SZ + UBIFS_INO_NODE_SZ +
sz               1526 fs/ubifs/journal.c 	sz += ubifs_auth_node_sz(c);
sz               1528 fs/ubifs/journal.c 	ino = kmalloc(sz, GFP_NOFS);
sz               1606 fs/ubifs/journal.c 		sz = offs + UBIFS_INO_NODE_SZ + UBIFS_TRUN_NODE_SZ;
sz               1607 fs/ubifs/journal.c 		err = ubifs_tnc_add(c, &key, lnum, sz, dlen, hash_dn);
sz                618 fs/ubifs/log.c 		int sz = ALIGN(*offs, c->min_io_size), err;
sz                620 fs/ubifs/log.c 		ubifs_pad(c, buf + *offs, sz - *offs);
sz                621 fs/ubifs/log.c 		err = ubifs_leb_change(c, *lnum, buf, sz);
sz                697 fs/ubifs/log.c 		int sz = ALIGN(offs, c->min_io_size);
sz                699 fs/ubifs/log.c 		ubifs_pad(c, buf + offs, sz - offs);
sz                700 fs/ubifs/log.c 		err = ubifs_leb_change(c, write_lnum, buf, sz);
sz                 49 fs/ubifs/lpt.c 	long long sz, tot_wastage;
sz                106 fs/ubifs/lpt.c 	sz = c->lpt_sz;
sz                108 fs/ubifs/lpt.c 	sz += per_leb_wastage;
sz                110 fs/ubifs/lpt.c 	while (sz > c->leb_size) {
sz                111 fs/ubifs/lpt.c 		sz += per_leb_wastage;
sz                112 fs/ubifs/lpt.c 		sz -= c->leb_size;
sz                115 fs/ubifs/lpt.c 	tot_wastage += ALIGN(sz, c->min_io_size) - sz;
sz                128 fs/ubifs/lpt.c 	long long sz;
sz                133 fs/ubifs/lpt.c 	sz = c->lpt_sz * 2; /* Must have at least 2 times the size */
sz                134 fs/ubifs/lpt.c 	lebs_needed = div_u64(sz + c->leb_size - 1, c->leb_size);
sz                166 fs/ubifs/lpt.c 	long long sz;
sz                192 fs/ubifs/lpt.c 		sz = c->lpt_sz * 4; /* Allow 4 times the size */
sz                193 fs/ubifs/lpt.c 		lebs_needed = div_u64(sz + c->leb_size - 1, c->leb_size);
sz               2143 fs/ubifs/lpt.c 				const size_t sz = sizeof(struct ubifs_nnode);
sz               2148 fs/ubifs/lpt.c 				nnode = kmemdup(&path[h].nnode, sz, GFP_NOFS);
sz               2162 fs/ubifs/lpt.c 				const size_t sz = sizeof(struct ubifs_pnode);
sz               2165 fs/ubifs/lpt.c 				pnode = kmemdup(&path[h].pnode, sz, GFP_NOFS);
sz                100 fs/ubifs/recovery.c 	const int sz = c->mst_node_alsz;
sz                121 fs/ubifs/recovery.c 		offs += sz;
sz                122 fs/ubifs/recovery.c 		buf  += sz;
sz                123 fs/ubifs/recovery.c 		len  -= sz;
sz                129 fs/ubifs/recovery.c 		offs -= sz;
sz                130 fs/ubifs/recovery.c 		buf  -= sz;
sz                131 fs/ubifs/recovery.c 		len  += sz;
sz                135 fs/ubifs/recovery.c 			offs -= sz;
sz                136 fs/ubifs/recovery.c 			buf  -= sz;
sz                137 fs/ubifs/recovery.c 			len  += sz;
sz                154 fs/ubifs/recovery.c 			offs += sz;
sz                155 fs/ubifs/recovery.c 			buf  += sz;
sz                156 fs/ubifs/recovery.c 			len  -= sz;
sz                161 fs/ubifs/recovery.c 		if (!is_empty(buf, min_t(int, len, sz))) {
sz                165 fs/ubifs/recovery.c 		offs += sz;
sz                166 fs/ubifs/recovery.c 		buf  += sz;
sz                167 fs/ubifs/recovery.c 		len  -= sz;
sz                195 fs/ubifs/recovery.c 	int err = 0, lnum = UBIFS_MST_LNUM, sz = c->mst_node_alsz;
sz                207 fs/ubifs/recovery.c 	err = ubifs_leb_change(c, lnum, mst, sz);
sz                210 fs/ubifs/recovery.c 	err = ubifs_leb_change(c, lnum + 1, mst, sz);
sz                231 fs/ubifs/recovery.c 	const int sz = c->mst_node_alsz;
sz                261 fs/ubifs/recovery.c 			} else if (offs2 + sz == offs1) {
sz                267 fs/ubifs/recovery.c 				   c->leb_size - offs2 - sz < sz) {
sz                292 fs/ubifs/recovery.c 		if (offs2 + sz + sz <= c->leb_size)
sz                304 fs/ubifs/recovery.c 		c->rcvrd_mst_node = kmalloc(sz, GFP_KERNEL);
sz               1214 fs/ubifs/super.c 	size_t sz;
sz               1317 fs/ubifs/super.c 	sz = ALIGN(c->max_idx_node_sz, c->min_io_size) * 2;
sz               1318 fs/ubifs/super.c 	c->cbuf = kmalloc(sz, GFP_NOFS);
sz                 60 fs/xfs/libxfs/xfs_bmap.c 	int		sz;		/* root block size */
sz                 78 fs/xfs/libxfs/xfs_bmap.c 		sz = XFS_BMDR_SPACE_CALC(MINDBTPTRS);
sz                 81 fs/xfs/libxfs/xfs_bmap.c 		sz = XFS_BMDR_SPACE_CALC(MINABTPTRS);
sz                 83 fs/xfs/libxfs/xfs_bmap.c 	maxrootrecs = xfs_bmdr_maxrecs(sz, 0);
sz                262 fs/xfs/libxfs/xfs_bmap.c 	short			sz)
sz                285 fs/xfs/libxfs/xfs_bmap.c 			pp = XFS_BMAP_BROOT_PTR_ADDR(mp, block, i, sz);
sz                291 fs/xfs/libxfs/xfs_bmap.c 				thispa = XFS_BMAP_BROOT_PTR_ADDR(mp, block, j, sz);
sz                 64 fs/xfs/libxfs/xfs_bmap_btree.h #define XFS_BMAP_BROOT_PTR_ADDR(mp, bb, i, sz) \
sz                 65 fs/xfs/libxfs/xfs_bmap_btree.h 	XFS_BMBT_PTR_ADDR(mp, bb, i, xfs_bmbt_maxrecs(mp, sz, 0))
sz                 34 fs/xfs/scrub/attr.c 	size_t			sz;
sz                 42 fs/xfs/scrub/attr.c 	sz = 3 * sizeof(long) * BITS_TO_LONGS(sc->mp->m_attr_geo->blksize);
sz                 43 fs/xfs/scrub/attr.c 	sz = max_t(size_t, sz, value_size);
sz                 50 fs/xfs/scrub/attr.c 		if (sz <= ab->sz)
sz                 60 fs/xfs/scrub/attr.c 	ab = kmem_alloc_large(sizeof(*ab) + sz, flags);
sz                 64 fs/xfs/scrub/attr.c 	ab->sz = sz;
sz                 14 fs/xfs/scrub/attr.h 	size_t			sz;
sz                359 fs/xfs/xfs_error.c 	int			sz;
sz                372 fs/xfs/xfs_error.c 		sz = min_t(size_t, XFS_CORRUPTION_DUMP_LEN, bufsz);
sz                374 fs/xfs/xfs_error.c 				sz);
sz                375 fs/xfs/xfs_error.c 		xfs_hex_dump(buf, sz);
sz                411 fs/xfs/xfs_error.c 	int			sz;
sz                422 fs/xfs/xfs_error.c 		sz = min_t(size_t, XFS_CORRUPTION_DUMP_LEN, bufsz);
sz                424 fs/xfs/xfs_error.c 				sz);
sz                425 fs/xfs/xfs_error.c 		xfs_hex_dump(buf, sz);
sz                 37 include/asm-generic/hugetlb.h 		    pte_t *ptep, unsigned long sz)
sz                148 include/asm-generic/uaccess.h #define __put_user_fn(sz, u, k)	__put_user_fn(sz, u, k)
sz                209 include/asm-generic/uaccess.h #define __get_user_fn(sz, u, k)	__get_user_fn(sz, u, k)
sz                597 include/linux/bio.h 	unsigned sz = 0;
sz                601 include/linux/bio.h 		sz++;
sz                603 include/linux/bio.h 	return sz;
sz                194 include/linux/bitmap.h 		unsigned int sz, unsigned int nbits);
sz                563 include/linux/compat.h 				    compat_size_t sz,
sz                567 include/linux/compat.h asmlinkage long compat_sys_fstatfs64(unsigned int fd, compat_size_t sz,
sz                954 include/linux/compat.h int kcompat_sys_statfs64(const char __user * pathname, compat_size_t sz,
sz                956 include/linux/compat.h int kcompat_sys_fstatfs64(unsigned int fd, compat_size_t sz,
sz                551 include/linux/device-mapper.h #define DMEMIT(x...) sz += ((sz >= maxlen) ? \
sz                552 include/linux/device-mapper.h 			  0 : scnprintf(result + sz, maxlen - sz, x))
sz                582 include/linux/device-mapper.h #define dm_div_up(n, sz) (((n) + (sz) - 1) / (sz))
sz                584 include/linux/device-mapper.h #define dm_sector_div_up(n, sz) ( \
sz                586 include/linux/device-mapper.h 	sector_t _r = ((n) + (sz) - 1); \
sz                587 include/linux/device-mapper.h 	sector_div(_r, (sz)); \
sz                595 include/linux/device-mapper.h #define dm_round_up(n, sz) (dm_div_up((n), (sz)) * (sz))
sz               1075 include/linux/efi.h extern int efi_config_parse_tables(void *config_tables, int count, int sz,
sz                560 include/linux/gpio/driver.h 	       unsigned long sz, void __iomem *dat, void __iomem *set,
sz                 34 include/linux/hashtable.h static inline void __hash_init(struct hlist_head *ht, unsigned int sz)
sz                 38 include/linux/hashtable.h 	for (i = 0; i < sz; i++)
sz                 81 include/linux/hashtable.h static inline bool __hash_empty(struct hlist_head *ht, unsigned int sz)
sz                 85 include/linux/hashtable.h 	for (i = 0; i < sz; i++)
sz                119 include/linux/hugetlb.h 			unsigned long addr, unsigned long sz);
sz                121 include/linux/hugetlb.h 		       unsigned long addr, unsigned long sz);
sz                188 include/linux/hugetlb.h #define huge_pte_offset(mm, address, sz)	0
sz                568 include/linux/hugetlb.h 					pte_t *ptep, pte_t pte, unsigned long sz)
sz                737 include/linux/hugetlb.h 					pte_t *ptep, pte_t pte, unsigned long sz)
sz                218 include/linux/kexec.h 				       void **addr, unsigned long *sz);
sz               1002 include/linux/mlx5/driver.h 			     u8 port_num, void *out, size_t sz);
sz                253 include/linux/mlx5/qp.h 			__be16 sz;
sz                136 include/linux/mmc/sdio_func.h extern unsigned int sdio_align_size(struct sdio_func *func, unsigned int sz);
sz                464 include/linux/mtd/mtd.h static inline uint32_t mtd_div_by_eb(uint64_t sz, struct mtd_info *mtd)
sz                467 include/linux/mtd/mtd.h 		return sz >> mtd->erasesize_shift;
sz                468 include/linux/mtd/mtd.h 	do_div(sz, mtd->erasesize);
sz                469 include/linux/mtd/mtd.h 	return sz;
sz                472 include/linux/mtd/mtd.h static inline uint32_t mtd_mod_by_eb(uint64_t sz, struct mtd_info *mtd)
sz                475 include/linux/mtd/mtd.h 		return sz & mtd->erasesize_mask;
sz                476 include/linux/mtd/mtd.h 	return do_div(sz, mtd->erasesize);
sz                507 include/linux/mtd/mtd.h static inline uint32_t mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd)
sz                510 include/linux/mtd/mtd.h 		return sz >> mtd->writesize_shift;
sz                511 include/linux/mtd/mtd.h 	do_div(sz, mtd->writesize);
sz                512 include/linux/mtd/mtd.h 	return sz;
sz                515 include/linux/mtd/mtd.h static inline uint32_t mtd_mod_by_ws(uint64_t sz, struct mtd_info *mtd)
sz                518 include/linux/mtd/mtd.h 		return sz & mtd->writesize_mask;
sz                519 include/linux/mtd/mtd.h 	return do_div(sz, mtd->writesize);
sz                 91 include/linux/netfilter/nf_conntrack_h323_asn1.h int DecodeRasMessage(unsigned char *buf, size_t sz, RasMessage * ras);
sz                 92 include/linux/netfilter/nf_conntrack_h323_asn1.h int DecodeQ931(unsigned char *buf, size_t sz, Q931 * q931);
sz                 93 include/linux/netfilter/nf_conntrack_h323_asn1.h int DecodeMultimediaSystemControlMessage(unsigned char *buf, size_t sz,
sz                369 include/linux/nodemask.h #define nodes_fold(dst, orig, sz) \
sz                370 include/linux/nodemask.h 		__nodes_fold(&(dst), &(orig), sz, MAX_NUMNODES)
sz                372 include/linux/nodemask.h 		int sz, int nbits)
sz                374 include/linux/nodemask.h 	bitmap_fold(dstp->bits, origp->bits, sz, nbits);
sz                 85 include/linux/nvme-fc.h static inline __be32 fcnvme_lsdesc_len(size_t sz)
sz                 87 include/linux/nvme-fc.h 	return cpu_to_be32(sz - (2 * sizeof(u32)));
sz                342 include/linux/of.h 					      const char **out_strs, size_t sz, int index);
sz                436 include/linux/of.h 					    u8 *out_values, size_t sz)
sz                439 include/linux/of.h 						     sz, 0);
sz                466 include/linux/of.h 					     u16 *out_values, size_t sz)
sz                469 include/linux/of.h 						      sz, 0);
sz                494 include/linux/of.h 					     u32 *out_values, size_t sz)
sz                497 include/linux/of.h 						      sz, 0);
sz                522 include/linux/of.h 					     u64 *out_values, size_t sz)
sz                525 include/linux/of.h 						      sz, 0);
sz                713 include/linux/of.h 			const char *propname, u8 *out_values, size_t sz)
sz                719 include/linux/of.h 			const char *propname, u16 *out_values, size_t sz)
sz                726 include/linux/of.h 					     u32 *out_values, size_t sz)
sz                733 include/linux/of.h 					     u64 *out_values, size_t sz)
sz                832 include/linux/of.h 						 const char **out_strs, size_t sz, int index)
sz               1117 include/linux/of.h 						size_t sz)
sz               1119 include/linux/of.h 	return of_property_read_string_helper(np, propname, out_strs, sz, 0);
sz               3056 include/linux/skbuff.h bool skb_page_frag_refill(unsigned int sz, struct page_frag *pfrag, gfp_t prio);
sz                164 include/linux/soc/qcom/llcc-qcom.h 		      const struct llcc_slice_config *table, u32 sz);
sz                201 include/linux/soc/qcom/llcc-qcom.h 		      const struct llcc_slice_config *table, u32 sz)
sz                 66 include/linux/string_helpers.h static inline int string_escape_str(const char *src, char *dst, size_t sz,
sz                 69 include/linux/string_helpers.h 	return string_escape_mem(src, strlen(src), dst, sz, flags, only);
sz                 73 include/linux/string_helpers.h 		size_t sz, const char *only)
sz                 75 include/linux/string_helpers.h 	return string_escape_str(src, dst, sz, ESCAPE_ANY_NP, only);
sz                418 include/linux/syscalls.h asmlinkage long sys_statfs64(const char __user *path, size_t sz,
sz                421 include/linux/syscalls.h asmlinkage long sys_fstatfs64(unsigned int fd, size_t sz,
sz                140 include/linux/thread_info.h 	int sz = __compiletime_object_size(addr);
sz                141 include/linux/thread_info.h 	if (unlikely(sz >= 0 && sz < bytes)) {
sz                143 include/linux/thread_info.h 			copy_overflow(sz, bytes);
sz                 46 include/math-emu/op-1.h #define _FP_FRAC_SRS_1(X,N,sz)	__FP_FRAC_SRS_1(X##_f, N, sz)
sz                 48 include/math-emu/op-1.h #define __FP_FRAC_SRS_1(X,N,sz)						\
sz                 67 include/math-emu/op-2.h #define _FP_FRAC_SRS_2(X, N, sz) (					       \
sz                 57 include/media/davinci/dm644x_ccdc.h static inline u8 ccdc_data_size_max_bit(enum ccdc_data_size sz)
sz                 59 include/media/davinci/dm644x_ccdc.h 	return sz == CCDC_DATA_8BITS ? 7 : 15 - sz;
sz                458 include/net/sch_generic.h static inline void qdisc_cb_private_validate(const struct sk_buff *skb, int sz)
sz                462 include/net/sch_generic.h 	BUILD_BUG_ON(sizeof(skb->cb) < offsetof(struct qdisc_skb_cb, data) + sz);
sz                463 include/net/sch_generic.h 	BUILD_BUG_ON(sizeof(qcb->data) < sz);
sz                442 include/uapi/drm/i915_drm.h 	int sz;			/* nr bytes in buf */
sz                191 include/uapi/linux/netlink.h #define NL_MMAP_MSG_ALIGN(sz)		__ALIGN_KERNEL(sz, NL_MMAP_MSG_ALIGNMENT)
sz                418 kernel/dma/swiotlb.c 		unsigned int sz = 0;
sz                422 kernel/dma/swiotlb.c 			sz = min_t(size_t, PAGE_SIZE - offset, size);
sz                427 kernel/dma/swiotlb.c 				memcpy(vaddr, buffer + offset, sz);
sz                429 kernel/dma/swiotlb.c 				memcpy(buffer + offset, vaddr, sz);
sz                433 kernel/dma/swiotlb.c 			size -= sz;
sz                435 kernel/dma/swiotlb.c 			vaddr += sz;
sz                242 kernel/irq/generic-chip.c 	unsigned long sz = sizeof(*gc) + num_ct * sizeof(struct irq_chip_type);
sz                244 kernel/irq/generic-chip.c 	gc = kzalloc(sz, GFP_KERNEL);
sz                290 kernel/irq/generic-chip.c 	int numchips, sz, i;
sz                302 kernel/irq/generic-chip.c 	sz = sizeof(*dgc) + numchips * sizeof(gc);
sz                303 kernel/irq/generic-chip.c 	sz += numchips * (sizeof(*gc) + num_ct * sizeof(struct irq_chip_type));
sz                305 kernel/irq/generic-chip.c 	tmp = dgc = kzalloc(sz, GFP_KERNEL);
sz                536 kernel/kexec_file.c 	unsigned long sz = end - start + 1;
sz                539 kernel/kexec_file.c 	if (sz < kbuf->memsz)
sz               1241 kernel/kexec_file.c 			  void **addr, unsigned long *sz)
sz               1335 kernel/kexec_file.c 	*sz = elf_sz;
sz                995 lib/bitmap.c   			unsigned int sz, unsigned int nbits)
sz               1004 lib/bitmap.c   		set_bit(oldbit % sz, dst);
sz                 13 lib/math/prime_numbers.c 	unsigned long last, sz;
sz                 20 lib/math/prime_numbers.c 	.sz = 64,
sz                 45 lib/math/prime_numbers.c 	.sz = 32,
sz                113 lib/math/prime_numbers.c 	unsigned long sz, y;
sz                123 lib/math/prime_numbers.c 	sz = 2 * x;
sz                124 lib/math/prime_numbers.c 	if (sz < x)
sz                127 lib/math/prime_numbers.c 	sz = round_up(sz, BITS_PER_LONG);
sz                128 lib/math/prime_numbers.c 	new = kmalloc(sizeof(*new) + bitmap_size(sz),
sz                144 lib/math/prime_numbers.c 	bitmap_fill(new->primes, sz);
sz                145 lib/math/prime_numbers.c 	bitmap_copy(new->primes, p->primes, p->sz);
sz                146 lib/math/prime_numbers.c 	for (y = 2UL; y < sz; y = find_next_bit(new->primes, sz, y + 1))
sz                147 lib/math/prime_numbers.c 		new->last = clear_multiples(y, new->primes, p->sz, sz);
sz                148 lib/math/prime_numbers.c 	new->sz = sz;
sz                228 lib/math/prime_numbers.c 	while (x >= p->sz) {
sz                255 lib/math/prime_numbers.c 		bitmap_print_to_pagebuf(true, buf, p->primes, p->sz);
sz                257 lib/math/prime_numbers.c 		p->last, p->sz, p->primes[BITS_TO_LONGS(p->sz) - 1], buf);
sz                490 lib/test_overflow.c #define alloc010(alloc, arg, sz) alloc(sz, alloc_GFP)
sz                491 lib/test_overflow.c #define alloc011(alloc, arg, sz) alloc(sz, alloc_GFP, NUMA_NO_NODE)
sz                492 lib/test_overflow.c #define alloc000(alloc, arg, sz) alloc(sz)
sz                493 lib/test_overflow.c #define alloc001(alloc, arg, sz) alloc(sz, NUMA_NO_NODE)
sz                494 lib/test_overflow.c #define alloc110(alloc, arg, sz) alloc(arg, sz, alloc_GFP)
sz                  9 lib/zlib_inflate/infutil.c int zlib_inflate_blob(void *gunzip_buf, unsigned int sz,
sz                 30 lib/zlib_inflate/infutil.c 	strm->avail_out = sz;
sz                 37 lib/zlib_inflate/infutil.c 			rc = sz - strm->avail_out;
sz               1984 mm/gup.c       				      unsigned long sz)
sz               1986 mm/gup.c       	unsigned long __boundary = (addr + sz) & ~(sz-1);
sz               1990 mm/gup.c       static int gup_hugepte(pte_t *ptep, unsigned long sz, unsigned long addr,
sz               1999 mm/gup.c       	pte_end = (addr + sz) & ~(sz-1);
sz               2014 mm/gup.c       	page = head + ((addr & (sz-1)) >> PAGE_SHIFT);
sz               2046 mm/gup.c       	unsigned long sz = 1UL << hugepd_shift(hugepd);
sz               2051 mm/gup.c       		next = hugepte_addr_end(addr, end, sz);
sz               2052 mm/gup.c       		if (!gup_hugepte(ptep, sz, addr, end, flags, pages, nr))
sz               3427 mm/hugetlb.c   	unsigned long sz = huge_page_size(h);
sz               3440 mm/hugetlb.c   	for (addr = vma->vm_start; addr < vma->vm_end; addr += sz) {
sz               3442 mm/hugetlb.c   		src_pte = huge_pte_offset(src, addr, sz);
sz               3445 mm/hugetlb.c   		dst_pte = huge_pte_alloc(dst, addr, sz);
sz               3488 mm/hugetlb.c   						     entry, sz);
sz               3490 mm/hugetlb.c   			set_huge_swap_pte_at(dst, addr, dst_pte, entry, sz);
sz               3530 mm/hugetlb.c   	unsigned long sz = huge_page_size(h);
sz               3541 mm/hugetlb.c   	tlb_change_page_size(tlb, sz);
sz               3552 mm/hugetlb.c   	for (; address < end; address += sz) {
sz               3553 mm/hugetlb.c   		ptep = huge_pte_offset(mm, address, sz);
sz               3578 mm/hugetlb.c   			huge_pte_clear(mm, address, ptep, sz);
sz               4977 mm/hugetlb.c   			unsigned long addr, unsigned long sz)
sz               4990 mm/hugetlb.c   		if (sz == PUD_SIZE) {
sz               4993 mm/hugetlb.c   			BUG_ON(sz != PMD_SIZE);
sz               5015 mm/hugetlb.c   		       unsigned long addr, unsigned long sz)
sz               5031 mm/hugetlb.c   	if (sz != PUD_SIZE && pud_none(pud_entry))
sz               5039 mm/hugetlb.c   	if (sz != PMD_SIZE && pmd_none(pmd_entry))
sz               2624 mm/mempolicy.c 	unsigned long sz = vma_pages(vma);
sz               2628 mm/mempolicy.c 		 sz, npol ? npol->mode : -1,
sz               2633 mm/mempolicy.c 		new = sp_alloc(vma->vm_pgoff, vma->vm_pgoff + sz, npol);
sz               2637 mm/mempolicy.c 	err = shared_policy_replace(info, vma->vm_pgoff, vma->vm_pgoff+sz, new);
sz                189 mm/pagewalk.c  	unsigned long sz = huge_page_size(h);
sz                196 mm/pagewalk.c  		pte = huge_pte_offset(walk->mm, addr & hmask, sz);
sz                404 net/9p/trans_virtio.c 		__le32 sz;
sz                421 net/9p/trans_virtio.c 		sz = cpu_to_le32(req->tc.size + outlen);
sz                422 net/9p/trans_virtio.c 		memcpy(&req->tc.sdata[0], &sz, sizeof(sz));
sz               1863 net/bridge/netfilter/ebtables.c static int ebt_buf_count(struct ebt_entries_buf_state *state, unsigned int sz)
sz               1865 net/bridge/netfilter/ebtables.c 	state->buf_kern_offset += sz;
sz               1866 net/bridge/netfilter/ebtables.c 	return state->buf_kern_offset >= sz ? 0 : -EINVAL;
sz               1870 net/bridge/netfilter/ebtables.c 		       const void *data, unsigned int sz)
sz               1875 net/bridge/netfilter/ebtables.c 	if (WARN_ON(state->buf_kern_offset + sz > state->buf_kern_len))
sz               1878 net/bridge/netfilter/ebtables.c 	memcpy(state->buf_kern_start + state->buf_kern_offset, data, sz);
sz               1881 net/bridge/netfilter/ebtables.c 	state->buf_user_offset += sz;
sz               1882 net/bridge/netfilter/ebtables.c 	return ebt_buf_count(state, sz);
sz               1885 net/bridge/netfilter/ebtables.c static int ebt_buf_add_pad(struct ebt_entries_buf_state *state, unsigned int sz)
sz               1892 net/bridge/netfilter/ebtables.c 	if (b != NULL && sz > 0)
sz               1893 net/bridge/netfilter/ebtables.c 		memset(b + state->buf_kern_offset, 0, sz);
sz               1895 net/bridge/netfilter/ebtables.c 	return ebt_buf_count(state, sz);
sz               8850 net/core/dev.c 	size_t sz = count * sizeof(*rx);
sz               8855 net/core/dev.c 	rx = kvzalloc(sz, GFP_KERNEL | __GFP_RETRY_MAYFAIL);
sz               8917 net/core/dev.c 	size_t sz = count * sizeof(*tx);
sz               8922 net/core/dev.c 	tx = kvzalloc(sz, GFP_KERNEL | __GFP_RETRY_MAYFAIL);
sz                101 net/core/skbuff.c static void skb_panic(struct sk_buff *skb, unsigned int sz, void *addr,
sz                105 net/core/skbuff.c 		 msg, addr, skb->len, sz, skb->head, skb->data,
sz                111 net/core/skbuff.c static void skb_over_panic(struct sk_buff *skb, unsigned int sz, void *addr)
sz                113 net/core/skbuff.c 	skb_panic(skb, sz, addr, __func__);
sz                116 net/core/skbuff.c static void skb_under_panic(struct sk_buff *skb, unsigned int sz, void *addr)
sz                118 net/core/skbuff.c 	skb_panic(skb, sz, addr, __func__);
sz               2363 net/core/sock.c bool skb_page_frag_refill(unsigned int sz, struct page_frag *pfrag, gfp_t gfp)
sz               2370 net/core/sock.c 		if (pfrag->offset + sz <= pfrag->size)
sz                721 net/dsa/dsa2.c 	int sz;
sz                724 net/dsa/dsa2.c 	sz = of_property_read_variable_u32_array(dn, "dsa,member", m, 2, 2);
sz                725 net/dsa/dsa2.c 	if (sz < 0 && sz != -EINVAL)
sz                726 net/dsa/dsa2.c 		return sz;
sz               2226 net/ipv4/fib_trie.c 	size_t sz = sizeof(*tb);
sz               2229 net/ipv4/fib_trie.c 		sz += sizeof(struct trie);
sz               2231 net/ipv4/fib_trie.c 	tb = kzalloc(sz, GFP_KERNEL);
sz                289 net/ipv4/inet_diag.c 		size_t sz = 0;
sz                295 net/ipv4/inet_diag.c 			sz = ca_ops->get_info(sk, ext, &attr, &info);
sz                297 net/ipv4/inet_diag.c 		if (sz && nla_put(skb, attr, sz, &info) < 0)
sz                124 net/ipv4/nexthop.c 	size_t sz = offsetof(struct nexthop, nh_grp)
sz                129 net/ipv4/nexthop.c 	nhg = kzalloc(sz, GFP_KERNEL);
sz                294 net/ipv4/nexthop.c 	size_t sz = sizeof(struct nexthop_grp) * nhg->num_nh;
sz                296 net/ipv4/nexthop.c 	return nla_total_size(sz) +
sz                303 net/ipv4/nexthop.c 	size_t sz;
sz                308 net/ipv4/nexthop.c 	sz = nla_total_size(4);  /* NHA_OIF */
sz                313 net/ipv4/nexthop.c 			sz += nla_total_size(4);  /* NHA_GATEWAY */
sz                319 net/ipv4/nexthop.c 			sz += nla_total_size(sizeof(const struct in6_addr));
sz                324 net/ipv4/nexthop.c 		sz += lwtunnel_get_encap_size(nhi->fib_nhc.nhc_lwtstate);
sz                325 net/ipv4/nexthop.c 		sz += nla_total_size(2);  /* NHA_ENCAP_TYPE */
sz                328 net/ipv4/nexthop.c 	return sz;
sz                333 net/ipv4/nexthop.c 	size_t sz = NLMSG_ALIGN(sizeof(struct nhmsg));
sz                335 net/ipv4/nexthop.c 	sz += nla_total_size(4); /* NHA_ID */
sz                338 net/ipv4/nexthop.c 		sz += nh_nlmsg_size_grp(nh);
sz                340 net/ipv4/nexthop.c 		sz += nh_nlmsg_size_single(nh);
sz                342 net/ipv4/nexthop.c 	return sz;
sz               1821 net/ipv4/nexthop.c 	size_t sz = sizeof(struct hlist_head) * NH_DEV_HASHSIZE;
sz               1824 net/ipv4/nexthop.c 	net->nexthop.devhash = kzalloc(sz, GFP_KERNEL);
sz               3483 net/ipv4/tcp.c 		size_t sz = 0;
sz               3491 net/ipv4/tcp.c 			sz = ca_ops->get_info(sk, ~0U, &attr, &info);
sz               3493 net/ipv4/tcp.c 		len = min_t(unsigned int, len, sz);
sz                149 net/ipv6/ip6_fib.c 	size_t sz = sizeof(*f6i);
sz                152 net/ipv6/ip6_fib.c 		sz += sizeof(struct fib6_nh);
sz                154 net/ipv6/ip6_fib.c 	f6i = kzalloc(sz, gfp_flags);
sz               2890 net/key/af_key.c 	int i, sz = 0;
sz               2899 net/key/af_key.c 			sz += sizeof(struct sadb_comb);
sz               2901 net/key/af_key.c 	return sz + sizeof(struct sadb_prop);
sz               2906 net/key/af_key.c 	int i, k, sz = 0;
sz               2928 net/key/af_key.c 				sz += sizeof(struct sadb_comb);
sz               2931 net/key/af_key.c 	return sz + sizeof(struct sadb_prop);
sz                 82 net/netfilter/nf_conntrack_h323_asn1.c 	unsigned char sz;
sz                321 net/netfilter/nf_conntrack_h323_asn1.c 	switch (f->sz) {
sz                350 net/netfilter/nf_conntrack_h323_asn1.c 		INC_BITS(bs, f->sz);
sz                369 net/netfilter/nf_conntrack_h323_asn1.c 		INC_BITS(bs, f->sz);
sz                385 net/netfilter/nf_conntrack_h323_asn1.c 	switch (f->sz) {
sz                421 net/netfilter/nf_conntrack_h323_asn1.c 	if (nf_h323_error_boundary(bs, 0, f->sz))
sz                423 net/netfilter/nf_conntrack_h323_asn1.c 	len = get_bits(bs, f->sz) + f->lb;
sz                440 net/netfilter/nf_conntrack_h323_asn1.c 	switch (f->sz) {
sz                470 net/netfilter/nf_conntrack_h323_asn1.c 		if (nf_h323_error_boundary(bs, 0, f->sz))
sz                472 net/netfilter/nf_conntrack_h323_asn1.c 		len = get_bits(bs, f->sz) + f->lb;
sz                493 net/netfilter/nf_conntrack_h323_asn1.c 	switch (f->sz) {
sz                501 net/netfilter/nf_conntrack_h323_asn1.c 		if (nf_h323_error_boundary(bs, 0, f->sz))
sz                503 net/netfilter/nf_conntrack_h323_asn1.c 		len = get_bits(bs, f->sz) + f->lb;
sz                534 net/netfilter/nf_conntrack_h323_asn1.c 	if (nf_h323_error_boundary(bs, 0, f->sz))
sz                536 net/netfilter/nf_conntrack_h323_asn1.c 	bmp = get_bitmap(bs, f->sz);
sz                593 net/netfilter/nf_conntrack_h323_asn1.c 	bmp |= bmp2 >> f->sz;
sz                658 net/netfilter/nf_conntrack_h323_asn1.c 	switch (f->sz) {
sz                680 net/netfilter/nf_conntrack_h323_asn1.c 		if (nf_h323_error_boundary(bs, 0, f->sz))
sz                682 net/netfilter/nf_conntrack_h323_asn1.c 		count = get_bits(bs, f->sz);
sz                763 net/netfilter/nf_conntrack_h323_asn1.c 		if (nf_h323_error_boundary(bs, 0, f->sz))
sz                765 net/netfilter/nf_conntrack_h323_asn1.c 		type = get_bits(bs, f->sz);
sz                821 net/netfilter/nf_conntrack_h323_asn1.c int DecodeRasMessage(unsigned char *buf, size_t sz, RasMessage *ras)
sz                830 net/netfilter/nf_conntrack_h323_asn1.c 	bs.end = buf + sz;
sz                837 net/netfilter/nf_conntrack_h323_asn1.c 				      size_t sz, H323_UserInformation *uuie)
sz                847 net/netfilter/nf_conntrack_h323_asn1.c 	bs.end = beg + sz;
sz                853 net/netfilter/nf_conntrack_h323_asn1.c int DecodeMultimediaSystemControlMessage(unsigned char *buf, size_t sz,
sz                864 net/netfilter/nf_conntrack_h323_asn1.c 	bs.end = buf + sz;
sz                871 net/netfilter/nf_conntrack_h323_asn1.c int DecodeQ931(unsigned char *buf, size_t sz, Q931 *q931)
sz                876 net/netfilter/nf_conntrack_h323_asn1.c 	if (!p || sz < 1)
sz                885 net/netfilter/nf_conntrack_h323_asn1.c 	sz--;
sz                888 net/netfilter/nf_conntrack_h323_asn1.c 	if (sz < 1)
sz                891 net/netfilter/nf_conntrack_h323_asn1.c 	sz--;
sz                892 net/netfilter/nf_conntrack_h323_asn1.c 	if (sz < len)
sz                895 net/netfilter/nf_conntrack_h323_asn1.c 	sz -= len;
sz                898 net/netfilter/nf_conntrack_h323_asn1.c 	if (sz < 2)
sz                901 net/netfilter/nf_conntrack_h323_asn1.c 	sz--;
sz                905 net/netfilter/nf_conntrack_h323_asn1.c 		sz--;
sz                909 net/netfilter/nf_conntrack_h323_asn1.c 	while (sz > 0) {
sz                911 net/netfilter/nf_conntrack_h323_asn1.c 			if (sz < 3)
sz                916 net/netfilter/nf_conntrack_h323_asn1.c 			sz -= 3;
sz                917 net/netfilter/nf_conntrack_h323_asn1.c 			if (sz < len)
sz                925 net/netfilter/nf_conntrack_h323_asn1.c 		sz--;
sz                926 net/netfilter/nf_conntrack_h323_asn1.c 		if (sz < 1)
sz                929 net/netfilter/nf_conntrack_h323_asn1.c 		sz--;
sz                930 net/netfilter/nf_conntrack_h323_asn1.c 		if (sz < len)
sz                933 net/netfilter/nf_conntrack_h323_asn1.c 		sz -= len;
sz               1171 net/netfilter/x_tables.c 	size_t sz = sizeof(*info) + size;
sz               1173 net/netfilter/x_tables.c 	if (sz < sizeof(*info) || sz >= XT_MAX_TABLE_SIZE)
sz               1176 net/netfilter/x_tables.c 	info = kvmalloc(sz, GFP_KERNEL_ACCOUNT);
sz               1169 net/rfkill/core.c 	unsigned long sz;
sz               1194 net/rfkill/core.c 	sz = min_t(unsigned long, sizeof(ev->ev), count);
sz               1195 net/rfkill/core.c 	ret = sz;
sz               1196 net/rfkill/core.c 	if (copy_to_user(buf, &ev->ev, sz))
sz                197 net/sched/act_api.c static size_t tcf_action_full_attrs_size(size_t sz)
sz                202 net/sched/act_api.c 		+ sz;
sz                207 net/sched/act_api.c 	size_t sz = tcf_action_shared_attrs_size(act);
sz                210 net/sched/act_api.c 		return act->ops->get_fill_size(act) + sz;
sz                211 net/sched/act_api.c 	return sz;
sz                962 net/sched/act_api.c 	size_t sz = 0;
sz                979 net/sched/act_api.c 		sz += tcf_action_fill_size(act);
sz                984 net/sched/act_api.c 	*attr_size = tcf_action_full_attrs_size(sz);
sz                252 net/sched/act_gact.c 	size_t sz = nla_total_size(sizeof(struct tc_gact)); /* TCA_GACT_PARMS */
sz                257 net/sched/act_gact.c 		sz += nla_total_size(sizeof(struct tc_gact_p));
sz                260 net/sched/act_gact.c 	return sz;
sz                709 net/sched/sch_sfq.c static void *sfq_alloc(size_t sz)
sz                711 net/sched/sch_sfq.c 	return  kvmalloc(sz, GFP_KERNEL);
sz               2681 net/tipc/link.c 	size_t sz = (dqueues) ? LINK_LMAX : LINK_LMIN;
sz               2687 net/tipc/link.c 		i += scnprintf(buf, sz, "link data: (null)\n");
sz               2691 net/tipc/link.c 	i += scnprintf(buf, sz, "link data: %x", l->addr);
sz               2692 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " %x", l->state);
sz               2693 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " %u", l->in_session);
sz               2694 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " %u", l->session);
sz               2695 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " %u", l->peer_session);
sz               2696 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " %u", l->snd_nxt);
sz               2697 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " %u", l->rcv_nxt);
sz               2698 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " %u", l->snd_nxt_state);
sz               2699 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " %u", l->rcv_nxt_state);
sz               2700 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " %x", l->peer_caps);
sz               2701 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " %u", l->silent_intv_cnt);
sz               2702 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " %u", l->rst_cnt);
sz               2703 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " %u", 0);
sz               2704 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " %u", 0);
sz               2705 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " %u", l->acked);
sz               2711 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " | %u %u %u", len,
sz               2719 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " | %u %u %u", len,
sz               2727 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " | %u %u %u", len,
sz               2735 net/tipc/link.c 	i += scnprintf(buf + i, sz - i, " | %u %u %u\n", len,
sz               2740 net/tipc/link.c 		i += scnprintf(buf + i, sz - i, "transmq: ");
sz               2744 net/tipc/link.c 		i += scnprintf(buf + i, sz - i,
sz               2754 net/tipc/link.c 		i += scnprintf(buf + i, sz - i, "deferdq: ");
sz               2758 net/tipc/link.c 		i += scnprintf(buf + i, sz - i, "inputq: ");
sz               2762 net/tipc/link.c 		i += scnprintf(buf + i, sz - i, "wakeup: ");
sz                303 net/tipc/msg.h static inline void msg_set_size(struct tipc_msg *m, u32 sz)
sz                305 net/tipc/msg.h 	m->hdr[0] = htonl((msg_word(m, 0) & ~0x1ffff) | sz);
sz               2549 net/tipc/node.c 	size_t sz = (more) ? NODE_LMAX : NODE_LMIN;
sz               2552 net/tipc/node.c 		i += scnprintf(buf, sz, "node data: (null)\n");
sz               2556 net/tipc/node.c 	i += scnprintf(buf, sz, "node data: %x", n->addr);
sz               2557 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " %x", n->state);
sz               2558 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " %d", n->active_links[0]);
sz               2559 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " %d", n->active_links[1]);
sz               2560 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " %x", n->action_flags);
sz               2561 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " %u", n->failover_sent);
sz               2562 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " %u", n->sync_point);
sz               2563 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " %d", n->link_cnt);
sz               2564 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " %u", n->working_links);
sz               2565 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " %x", n->capabilities);
sz               2566 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " %lu\n", n->keepalive_intv);
sz               2571 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, "link_entry[0]:\n");
sz               2572 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " mtu: %u\n", n->links[0].mtu);
sz               2573 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " media: ");
sz               2574 net/tipc/node.c 	i += tipc_media_addr_printf(buf + i, sz - i, &n->links[0].maddr);
sz               2575 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, "\n");
sz               2577 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " inputq: ");
sz               2580 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, "link_entry[1]:\n");
sz               2581 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " mtu: %u\n", n->links[1].mtu);
sz               2582 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " media: ");
sz               2583 net/tipc/node.c 	i += tipc_media_addr_printf(buf + i, sz - i, &n->links[1].maddr);
sz               2584 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, "\n");
sz               2586 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, " inputq: ");
sz               2589 net/tipc/node.c 	i += scnprintf(buf + i, sz - i, "bclink:\n ");
sz               3755 net/tipc/socket.c 	size_t sz = (dqueues) ? SK_LMAX : SK_LMIN;
sz               3761 net/tipc/socket.c 		i += scnprintf(buf, sz, "sk data: (null)\n");
sz               3768 net/tipc/socket.c 	i += scnprintf(buf, sz, "sk data: %u", sk->sk_type);
sz               3769 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " %d", sk->sk_state);
sz               3770 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " %x", tsk_own_node(tsk));
sz               3771 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " %u", tsk->portid);
sz               3772 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " | %u", tsk_connected);
sz               3774 net/tipc/socket.c 		i += scnprintf(buf + i, sz - i, " %x", tsk_peer_node(tsk));
sz               3775 net/tipc/socket.c 		i += scnprintf(buf + i, sz - i, " %u", tsk_peer_port(tsk));
sz               3776 net/tipc/socket.c 		i += scnprintf(buf + i, sz - i, " %u", tsk->conn_type);
sz               3777 net/tipc/socket.c 		i += scnprintf(buf + i, sz - i, " %u", tsk->conn_instance);
sz               3779 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " | %u", tsk->published);
sz               3783 net/tipc/socket.c 		i += scnprintf(buf + i, sz - i, " %u", (p) ? p->type : 0);
sz               3784 net/tipc/socket.c 		i += scnprintf(buf + i, sz - i, " %u", (p) ? p->lower : 0);
sz               3785 net/tipc/socket.c 		i += scnprintf(buf + i, sz - i, " %u", (p) ? p->upper : 0);
sz               3787 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " | %u", tsk->snd_win);
sz               3788 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " %u", tsk->rcv_win);
sz               3789 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " %u", tsk->max_pkt);
sz               3790 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " %x", tsk->peer_caps);
sz               3791 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " %u", tsk->cong_link_cnt);
sz               3792 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " %u", tsk->snt_unacked);
sz               3793 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " %u", tsk->rcv_unacked);
sz               3794 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " %u", atomic_read(&tsk->dupl_rcvcnt));
sz               3795 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " %u", sk->sk_shutdown);
sz               3796 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " | %d", sk_wmem_alloc_get(sk));
sz               3797 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " %d", sk->sk_sndbuf);
sz               3798 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " | %d", sk_rmem_alloc_get(sk));
sz               3799 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " %d", sk->sk_rcvbuf);
sz               3800 net/tipc/socket.c 	i += scnprintf(buf + i, sz - i, " | %d\n", READ_ONCE(sk->sk_backlog.len));
sz               3803 net/tipc/socket.c 		i += scnprintf(buf + i, sz - i, "sk_write_queue: ");
sz               3808 net/tipc/socket.c 		i += scnprintf(buf + i, sz - i, "sk_receive_queue: ");
sz               3813 net/tipc/socket.c 		i += scnprintf(buf + i, sz - i, "sk_backlog:\n  head ");
sz               3816 net/tipc/socket.c 			i += scnprintf(buf + i, sz - i, "  tail ");
sz                 56 net/tipc/trace.c 	size_t sz = (more) ? SKB_LMAX : SKB_LMIN;
sz                 61 net/tipc/trace.c 		i += scnprintf(buf, sz, "msg: (null)\n");
sz                 69 net/tipc/trace.c 	i += scnprintf(buf, sz, "msg: %u", msg_user(hdr));
sz                 70 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", msg_type(hdr));
sz                 71 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", msg_hdr_sz(hdr));
sz                 72 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", msg_data_sz(hdr));
sz                 73 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %x", msg_orignode(hdr));
sz                 74 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %x", msg_destnode(hdr));
sz                 75 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", msg_seqno(hdr));
sz                 76 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", msg_ack(hdr));
sz                 77 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", msg_bcast_ack(hdr));
sz                 80 net/tipc/trace.c 		i += scnprintf(buf + i, sz - i, " %c", msg_net_plane(hdr));
sz                 81 net/tipc/trace.c 		i += scnprintf(buf + i, sz - i, " %u", msg_probe(hdr));
sz                 82 net/tipc/trace.c 		i += scnprintf(buf + i, sz - i, " %u", msg_peer_stopping(hdr));
sz                 83 net/tipc/trace.c 		i += scnprintf(buf + i, sz - i, " %u", msg_session(hdr));
sz                 84 net/tipc/trace.c 		i += scnprintf(buf + i, sz - i, " %u", msg_next_sent(hdr));
sz                 85 net/tipc/trace.c 		i += scnprintf(buf + i, sz - i, " %u", msg_seq_gap(hdr));
sz                 86 net/tipc/trace.c 		i += scnprintf(buf + i, sz - i, " %u", msg_bc_snd_nxt(hdr));
sz                 87 net/tipc/trace.c 		i += scnprintf(buf + i, sz - i, " %u", msg_bc_gap(hdr));
sz                 95 net/tipc/trace.c 		i += scnprintf(buf + i, sz - i, " | %u", msg_origport(hdr));
sz                 96 net/tipc/trace.c 		i += scnprintf(buf + i, sz - i, " %u", msg_destport(hdr));
sz                 99 net/tipc/trace.c 			i += scnprintf(buf + i, sz - i, " %u",
sz                101 net/tipc/trace.c 			i += scnprintf(buf + i, sz - i, " %u",
sz                105 net/tipc/trace.c 			i += scnprintf(buf + i, sz - i, " %u",
sz                107 net/tipc/trace.c 			i += scnprintf(buf + i, sz - i, " %u",
sz                109 net/tipc/trace.c 			i += scnprintf(buf + i, sz - i, " %u",
sz                115 net/tipc/trace.c 		i += scnprintf(buf + i, sz - i, " | %u",
sz                117 net/tipc/trace.c 		i += scnprintf(buf + i, sz - i, " %u",
sz                119 net/tipc/trace.c 		i += scnprintf(buf + i, sz - i, " %u", msg_errcode(hdr));
sz                120 net/tipc/trace.c 		i += scnprintf(buf + i, sz - i, " %u", msg_reroute_cnt(hdr));
sz                127 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, "\n");
sz                132 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, "skb: %s",
sz                134 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", skb->len);
sz                135 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", skb->data_len);
sz                136 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", skb->hdr_len);
sz                137 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", skb->truesize);
sz                138 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", skb_cloned(skb));
sz                139 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %p", skb->sk);
sz                140 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", skb_shinfo(skb)->nr_frags);
sz                141 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %llx",
sz                143 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %llx\n",
sz                147 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, "cb[]: %u", skbcb->bytes_read);
sz                148 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", skbcb->orig_member);
sz                149 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u",
sz                151 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", skbcb->validated);
sz                152 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u", skbcb->chain_imp);
sz                153 net/tipc/trace.c 	i += scnprintf(buf + i, sz - i, " %u\n", skbcb->ackers);
sz                169 net/tipc/trace.c 	size_t sz = (more) ? LIST_LMAX : LIST_LMIN;
sz                174 net/tipc/trace.c 		i += scnprintf(buf, sz, "(null)\n");
sz                179 net/tipc/trace.c 	i += scnprintf(buf, sz, "len = %d\n", len);
sz                186 net/tipc/trace.c 		i += scnprintf(buf + i, sz - i, "  head ");
sz                190 net/tipc/trace.c 			i += scnprintf(buf + i, sz - i, "  tail ");
sz                198 net/tipc/trace.c 				i += scnprintf(buf + i, sz - i, "  .\n  .\n");
sz                201 net/tipc/trace.c 			i += scnprintf(buf + i, sz - i, "  #%d ", count);
sz                 16 net/xfrm/xfrm_hash.c struct hlist_head *xfrm_hash_alloc(unsigned int sz)
sz                 20 net/xfrm/xfrm_hash.c 	if (sz <= PAGE_SIZE)
sz                 21 net/xfrm/xfrm_hash.c 		n = kzalloc(sz, GFP_KERNEL);
sz                 23 net/xfrm/xfrm_hash.c 		n = vzalloc(sz);
sz                 27 net/xfrm/xfrm_hash.c 					 get_order(sz));
sz                 32 net/xfrm/xfrm_hash.c void xfrm_hash_free(struct hlist_head *n, unsigned int sz)
sz                 34 net/xfrm/xfrm_hash.c 	if (sz <= PAGE_SIZE)
sz                 39 net/xfrm/xfrm_hash.c 		free_pages((unsigned long)n, get_order(sz));
sz                189 net/xfrm/xfrm_hash.h struct hlist_head *xfrm_hash_alloc(unsigned int sz);
sz                190 net/xfrm/xfrm_hash.h void xfrm_hash_free(struct hlist_head *n, unsigned int sz);
sz               4005 net/xfrm/xfrm_policy.c 	unsigned int hmask, sz;
sz               4019 net/xfrm/xfrm_policy.c 	sz = (hmask+1) * sizeof(struct hlist_head);
sz               4021 net/xfrm/xfrm_policy.c 	net->xfrm.policy_byidx = xfrm_hash_alloc(sz);
sz               4034 net/xfrm/xfrm_policy.c 		htab->table = xfrm_hash_alloc(sz);
sz               4061 net/xfrm/xfrm_policy.c 		xfrm_hash_free(htab->table, sz);
sz               4063 net/xfrm/xfrm_policy.c 	xfrm_hash_free(net->xfrm.policy_byidx, sz);
sz               4071 net/xfrm/xfrm_policy.c 	unsigned int sz;
sz               4088 net/xfrm/xfrm_policy.c 		sz = (htab->hmask + 1) * sizeof(struct hlist_head);
sz               4090 net/xfrm/xfrm_policy.c 		xfrm_hash_free(htab->table, sz);
sz               4093 net/xfrm/xfrm_policy.c 	sz = (net->xfrm.policy_idx_hmask + 1) * sizeof(struct hlist_head);
sz               4095 net/xfrm/xfrm_policy.c 	xfrm_hash_free(net->xfrm.policy_byidx, sz);
sz               2533 net/xfrm/xfrm_state.c 	unsigned int sz;
sz               2541 net/xfrm/xfrm_state.c 	sz = sizeof(struct hlist_head) * 8;
sz               2543 net/xfrm/xfrm_state.c 	net->xfrm.state_bydst = xfrm_hash_alloc(sz);
sz               2546 net/xfrm/xfrm_state.c 	net->xfrm.state_bysrc = xfrm_hash_alloc(sz);
sz               2549 net/xfrm/xfrm_state.c 	net->xfrm.state_byspi = xfrm_hash_alloc(sz);
sz               2552 net/xfrm/xfrm_state.c 	net->xfrm.state_hmask = ((sz / sizeof(struct hlist_head)) - 1);
sz               2560 net/xfrm/xfrm_state.c 	xfrm_hash_free(net->xfrm.state_bysrc, sz);
sz               2562 net/xfrm/xfrm_state.c 	xfrm_hash_free(net->xfrm.state_bydst, sz);
sz               2569 net/xfrm/xfrm_state.c 	unsigned int sz;
sz               2577 net/xfrm/xfrm_state.c 	sz = (net->xfrm.state_hmask + 1) * sizeof(struct hlist_head);
sz               2579 net/xfrm/xfrm_state.c 	xfrm_hash_free(net->xfrm.state_byspi, sz);
sz               2581 net/xfrm/xfrm_state.c 	xfrm_hash_free(net->xfrm.state_bysrc, sz);
sz               2583 net/xfrm/xfrm_state.c 	xfrm_hash_free(net->xfrm.state_bydst, sz);
sz                679 samples/bpf/bpf_load.c 		ssize_t sz;
sz                681 samples/bpf/bpf_load.c 		sz = read(trace_fd, buf, sizeof(buf) - 1);
sz                682 samples/bpf/bpf_load.c 		if (sz > 0) {
sz                683 samples/bpf/bpf_load.c 			buf[sz] = 0;
sz                 99 samples/bpf/hbm.c 		ssize_t sz;
sz                101 samples/bpf/hbm.c 		sz = read(trace_fd, buf, sizeof(buf) - 1);
sz                102 samples/bpf/hbm.c 		if (sz > 0) {
sz                103 samples/bpf/hbm.c 			buf[sz] = 0;
sz                174 scripts/basic/fixdep.c static unsigned int strhash(const char *str, unsigned int sz)
sz                179 scripts/basic/fixdep.c 	for (i = 0; i < sz; i++)
sz                 60 scripts/dtc/fdtdump.c 	int depth, sz, shift;
sz                132 scripts/dtc/fdtdump.c 		sz = fdt32_to_cpu(GET_CELL(p));
sz                134 scripts/dtc/fdtdump.c 		if (version < 16 && sz >= 8)
sz                138 scripts/dtc/fdtdump.c 		p = PALIGN(p + sz, 4);
sz                141 scripts/dtc/fdtdump.c 		print_data(t, sz);
sz                452 security/apparmor/policy_unpack.c 		size_t sz = blob - (char *) e->start -
sz                454 security/apparmor/policy_unpack.c 		size_t pad = ALIGN(sz, 8) - sz;
sz               1894 sound/pci/echoaudio/echoaudio.c 	size_t sz;
sz               1931 sound/pci/echoaudio/echoaudio.c 	sz = pci_resource_len(pci, 0);
sz               1932 sound/pci/echoaudio/echoaudio.c 	if (sz > PAGE_SIZE)
sz               1933 sound/pci/echoaudio/echoaudio.c 		sz = PAGE_SIZE;		/* We map only the required part */
sz               1935 sound/pci/echoaudio/echoaudio.c 	if ((chip->iores = request_mem_region(chip->dsp_registers_phys, sz,
sz               1942 sound/pci/echoaudio/echoaudio.c 		ioremap_nocache(chip->dsp_registers_phys, sz);
sz                346 sound/soc/sof/imx/imx8.c 			      void *p, size_t sz)
sz                348 sound/soc/sof/imx/imx8.c 	sof_mailbox_read(sdev, sdev->dsp_box.offset, p, sz);
sz                281 sound/soc/sof/intel/hda-ipc.c 		      void *p, size_t sz)
sz                284 sound/soc/sof/intel/hda-ipc.c 		sof_mailbox_read(sdev, sdev->dsp_box.offset, p, sz);
sz                296 sound/soc/sof/intel/hda-ipc.c 					 p, sz);
sz                514 sound/soc/sof/intel/hda.h 		      void *p, size_t sz);
sz                 30 sound/soc/sof/intel/intel-ipc.c 			void *p, size_t sz)
sz                 33 sound/soc/sof/intel/intel-ipc.c 		sof_mailbox_read(sdev, sdev->dsp_box.offset, p, sz);
sz                 39 sound/soc/sof/intel/intel-ipc.c 			sof_mailbox_read(sdev, stream->posn_offset, p, sz);
sz                359 sound/soc/sof/ops.h 					void *p, size_t sz)
sz                361 sound/soc/sof/ops.h 	sof_ops(sdev)->ipc_msg_data(sdev, substream, p, sz);
sz                162 sound/soc/sof/sof-priv.h 			     void *p, size_t sz); /* mandatory */
sz                658 sound/soc/sof/sof-priv.h 			void *p, size_t sz);
sz                380 sound/usb/caiaq/audio.c 				int sz = frames_to_bytes(rt, rt->buffer_size);
sz                384 sound/usb/caiaq/audio.c 				if (cdev->audio_in_buf_pos[stream] == sz)
sz                427 sound/usb/caiaq/audio.c 				int sz = frames_to_bytes(rt, rt->buffer_size);
sz                431 sound/usb/caiaq/audio.c 				if (cdev->audio_in_buf_pos[stream] == sz)
sz                454 sound/usb/caiaq/audio.c 			int c, n, sz = 0;
sz                459 sound/usb/caiaq/audio.c 				sz = frames_to_bytes(rt, rt->buffer_size);
sz                468 sound/usb/caiaq/audio.c 						if (cdev->audio_in_buf_pos[stream] == sz)
sz                540 sound/usb/caiaq/audio.c 				int sz = frames_to_bytes(rt, rt->buffer_size);
sz                545 sound/usb/caiaq/audio.c 				if (cdev->audio_out_buf_pos[stream] == sz)
sz                571 sound/usb/caiaq/audio.c 			int c, n, sz = 0;
sz                576 sound/usb/caiaq/audio.c 				sz = frames_to_bytes(rt, rt->buffer_size);
sz                584 sound/usb/caiaq/audio.c 						if (cdev->audio_out_buf_pos[stream] == sz)
sz                 31 tools/include/linux/hashtable.h static inline void __hash_init(struct hlist_head *ht, unsigned int sz)
sz                 35 tools/include/linux/hashtable.h 	for (i = 0; i < sz; i++)
sz                 69 tools/include/linux/hashtable.h static inline bool __hash_empty(struct hlist_head *ht, unsigned int sz)
sz                 73 tools/include/linux/hashtable.h 	for (i = 0; i < sz; i++)
sz                442 tools/include/uapi/drm/i915_drm.h 	int sz;			/* nr bytes in buf */
sz                191 tools/include/uapi/linux/netlink.h #define NL_MMAP_MSG_ALIGN(sz)		__ALIGN_KERNEL(sz, NL_MMAP_MSG_ALIGNMENT)
sz                 42 tools/lib/bpf/hashmap.c 	map->sz = 0;
sz                 60 tools/lib/bpf/hashmap.c 	map->cap = map->cap_bits = map->sz = 0;
sz                 74 tools/lib/bpf/hashmap.c 	return map->sz;
sz                 85 tools/lib/bpf/hashmap.c 	return (map->cap == 0) || ((map->sz + 1) * 4 / 3 > map->cap);
sz                189 tools/lib/bpf/hashmap.c 	map->sz++;
sz                225 tools/lib/bpf/hashmap.c 	map->sz--;
sz                 43 tools/lib/bpf/hashmap.h 	size_t sz;
sz                 53 tools/lib/bpf/hashmap.h 	.sz = 0,				\
sz               1166 tools/lib/bpf/libbpf.c 			__u32 sz;
sz               1169 tools/lib/bpf/libbpf.c 					       &sz))
sz               1172 tools/lib/bpf/libbpf.c 				 map_name, sz);
sz               1173 tools/lib/bpf/libbpf.c 			if (map->def.key_size && map->def.key_size != sz) {
sz               1175 tools/lib/bpf/libbpf.c 					   map_name, map->def.key_size, sz);
sz               1178 tools/lib/bpf/libbpf.c 			map->def.key_size = sz;
sz               1180 tools/lib/bpf/libbpf.c 			__s64 sz;
sz               1193 tools/lib/bpf/libbpf.c 			sz = btf__resolve_size(obj->btf, t->type);
sz               1194 tools/lib/bpf/libbpf.c 			if (sz < 0) {
sz               1196 tools/lib/bpf/libbpf.c 					   map_name, t->type, sz);
sz               1197 tools/lib/bpf/libbpf.c 				return sz;
sz               1200 tools/lib/bpf/libbpf.c 				 map_name, t->type, sz);
sz               1201 tools/lib/bpf/libbpf.c 			if (map->def.key_size && map->def.key_size != sz) {
sz               1203 tools/lib/bpf/libbpf.c 					   map_name, map->def.key_size, sz);
sz               1206 tools/lib/bpf/libbpf.c 			map->def.key_size = sz;
sz               1209 tools/lib/bpf/libbpf.c 			__u32 sz;
sz               1212 tools/lib/bpf/libbpf.c 					       &sz))
sz               1215 tools/lib/bpf/libbpf.c 				 map_name, sz);
sz               1216 tools/lib/bpf/libbpf.c 			if (map->def.value_size && map->def.value_size != sz) {
sz               1218 tools/lib/bpf/libbpf.c 					   map_name, map->def.value_size, sz);
sz               1221 tools/lib/bpf/libbpf.c 			map->def.value_size = sz;
sz               1223 tools/lib/bpf/libbpf.c 			__s64 sz;
sz               1236 tools/lib/bpf/libbpf.c 			sz = btf__resolve_size(obj->btf, t->type);
sz               1237 tools/lib/bpf/libbpf.c 			if (sz < 0) {
sz               1239 tools/lib/bpf/libbpf.c 					   map_name, t->type, sz);
sz               1240 tools/lib/bpf/libbpf.c 				return sz;
sz               1243 tools/lib/bpf/libbpf.c 				 map_name, t->type, sz);
sz               1244 tools/lib/bpf/libbpf.c 			if (map->def.value_size && map->def.value_size != sz) {
sz               1246 tools/lib/bpf/libbpf.c 					   map_name, map->def.value_size, sz);
sz               1249 tools/lib/bpf/libbpf.c 			map->def.value_size = sz;
sz               2373 tools/lib/bpf/libbpf.c 	__s64 sz;
sz               2406 tools/lib/bpf/libbpf.c 	sz = btf__resolve_size(btf, id);
sz               2407 tools/lib/bpf/libbpf.c 	if (sz < 0)
sz               2408 tools/lib/bpf/libbpf.c 		return sz;
sz               2409 tools/lib/bpf/libbpf.c 	spec->offset = access_idx * sz;
sz               2456 tools/lib/bpf/libbpf.c 			sz = btf__resolve_size(btf, id);
sz               2457 tools/lib/bpf/libbpf.c 			if (sz < 0)
sz               2458 tools/lib/bpf/libbpf.c 				return sz;
sz               2459 tools/lib/bpf/libbpf.c 			spec->offset += access_idx * sz;
sz               2718 tools/lib/bpf/libbpf.c 	int i, sz, matched;
sz               2769 tools/lib/bpf/libbpf.c 			sz = btf__resolve_size(targ_btf, targ_id);
sz               2770 tools/lib/bpf/libbpf.c 			if (sz < 0)
sz               2771 tools/lib/bpf/libbpf.c 				return sz;
sz               2772 tools/lib/bpf/libbpf.c 			targ_spec->offset += local_acc->idx * sz;
sz                 19 tools/lib/bpf/libbpf_internal.h #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \
sz                 20 tools/lib/bpf/libbpf_internal.h 	BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_INT, 0, 0), sz), \
sz                 74 tools/lib/subcmd/pager.c 	struct winsize sz;
sz                 80 tools/lib/subcmd/pager.c 	if (ioctl(1, TIOCGWINSZ, &sz) == 0)
sz                 81 tools/lib/subcmd/pager.c 		pager_columns = sz.ws_col;
sz                334 tools/perf/arch/arm/util/cs-etm.c 			size_t sz = opts->auxtrace_snapshot_size;
sz                336 tools/perf/arch/arm/util/cs-etm.c 			sz = round_up(sz, page_size) / page_size;
sz                337 tools/perf/arch/arm/util/cs-etm.c 			opts->auxtrace_mmap_pages = roundup_pow_of_two(sz);
sz                372 tools/perf/arch/arm/util/cs-etm.c 		size_t sz = opts->auxtrace_mmap_pages * (size_t)page_size;
sz                381 tools/perf/arch/arm/util/cs-etm.c 		if (!is_power_of_2(sz)) {
sz                106 tools/perf/arch/arm64/util/arm-spe.c 		size_t sz = opts->auxtrace_mmap_pages * (size_t)page_size;
sz                109 tools/perf/arch/arm64/util/arm-spe.c 		if (sz < min_sz || !is_power_of_2(sz)) {
sz                 20 tools/perf/arch/powerpc/util/header.c get_cpuid(char *buffer, size_t sz)
sz                 27 tools/perf/arch/powerpc/util/header.c 	nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr));
sz                 30 tools/perf/arch/s390/util/header.c int get_cpuid(char *buffer, size_t sz)
sz                131 tools/perf/arch/s390/util/header.c 		nbytes = snprintf(buffer, sz, "%s,%s,%s,%s,%s",
sz                135 tools/perf/arch/s390/util/header.c 		nbytes = snprintf(buffer, sz, "%s,%s,%s", manufacturer, type,
sz                137 tools/perf/arch/s390/util/header.c 	return (nbytes >= sz) ? ENOBUFS : 0;
sz                 27 tools/perf/arch/x86/util/header.c __get_cpuid(char *buffer, size_t sz, const char *fmt)
sz                 55 tools/perf/arch/x86/util/header.c 	nb = scnprintf(buffer, sz, fmt, vendor, family, model, step);
sz                 66 tools/perf/arch/x86/util/header.c get_cpuid(char *buffer, size_t sz)
sz                 68 tools/perf/arch/x86/util/header.c 	return __get_cpuid(buffer, sz, "%s,%u,%u,%u$");
sz                163 tools/perf/arch/x86/util/intel-bts.c 			size_t sz = opts->auxtrace_snapshot_size;
sz                165 tools/perf/arch/x86/util/intel-bts.c 			sz = round_up(sz, page_size) / page_size;
sz                166 tools/perf/arch/x86/util/intel-bts.c 			opts->auxtrace_mmap_pages = roundup_pow_of_two(sz);
sz                196 tools/perf/arch/x86/util/intel-bts.c 		size_t sz = opts->auxtrace_mmap_pages * (size_t)page_size;
sz                204 tools/perf/arch/x86/util/intel-bts.c 		if (sz < min_sz || !is_power_of_2(sz)) {
sz                276 tools/perf/arch/x86/util/intel-bts.c 	const size_t sz = sizeof(struct intel_bts_snapshot_ref);
sz                286 tools/perf/arch/x86/util/intel-bts.c 	refs = calloc(new_cnt, sz);
sz                290 tools/perf/arch/x86/util/intel-bts.c 	memcpy(refs, btsr->snapshot_refs, cnt * sz);
sz                644 tools/perf/arch/x86/util/intel-pt.c 			size_t sz = opts->auxtrace_snapshot_size;
sz                646 tools/perf/arch/x86/util/intel-pt.c 			sz = round_up(sz, page_size) / page_size;
sz                647 tools/perf/arch/x86/util/intel-pt.c 			opts->auxtrace_mmap_pages = roundup_pow_of_two(sz);
sz                682 tools/perf/arch/x86/util/intel-pt.c 		size_t sz = opts->auxtrace_mmap_pages * (size_t)page_size;
sz                690 tools/perf/arch/x86/util/intel-pt.c 		if (sz < min_sz || !is_power_of_2(sz)) {
sz                837 tools/perf/arch/x86/util/intel-pt.c 	const size_t sz = sizeof(struct intel_pt_snapshot_ref);
sz                847 tools/perf/arch/x86/util/intel-pt.c 	refs = calloc(new_cnt, sz);
sz                851 tools/perf/arch/x86/util/intel-pt.c 	memcpy(refs, ptr->snapshot_refs, cnt * sz);
sz                 30 tools/perf/arch/x86/util/machine.c 		size_t sz;
sz                 33 tools/perf/arch/x86/util/machine.c 		sz = sizeof(struct extra_kernel_map) * mi->max_cnt;
sz                 34 tools/perf/arch/x86/util/machine.c 		buf = realloc(mi->maps, sz);
sz                373 tools/perf/bench/epoll-wait.c 	ssize_t sz;
sz                394 tools/perf/bench/epoll-wait.c 					sz = write(w->fdmap[j], &val, sizeof(val));
sz                395 tools/perf/bench/epoll-wait.c 				} while (!wdone && (sz < 0 && errno == EAGAIN));
sz                 47 tools/perf/builtin-buildid-cache.c static int build_id_cache__kcore_dir(char *dir, size_t sz)
sz                 49 tools/perf/builtin-buildid-cache.c 	return fetch_current_timestamp(dir, sz);
sz                 56 tools/perf/builtin-inject.c static int output_bytes(struct perf_inject *inject, void *buf, size_t sz)
sz                 60 tools/perf/builtin-inject.c 	size = perf_data__write(&inject->output, buf, sz);
sz                 88 tools/perf/pmu-events/json.c 	unsigned sz;
sz                 94 tools/perf/pmu-events/json.c 	sz = *size * 16;
sz                 95 tools/perf/pmu-events/json.c 	tokens = malloc(sz);
sz                100 tools/perf/pmu-events/json.c 			 sz / sizeof(jsmntok_t));
sz                107 tools/perf/tests/sample-parsing.c 		size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64);
sz                113 tools/perf/tests/sample-parsing.c 		     memcmp(s1->user_regs.regs, s2->user_regs.regs, sz))) {
sz                138 tools/perf/tests/sample-parsing.c 		size_t sz = hweight_long(s1->intr_regs.mask) * sizeof(u64);
sz                144 tools/perf/tests/sample-parsing.c 		     memcmp(s1->intr_regs.regs, s2->intr_regs.regs, sz))) {
sz                224 tools/perf/tests/sample-parsing.c 	size_t i, sz, bufsz;
sz                244 tools/perf/tests/sample-parsing.c 	sz = perf_event__sample_event_size(&sample, sample_type, read_format);
sz                245 tools/perf/tests/sample-parsing.c 	bufsz = sz + 4096; /* Add a bit for overrun checking */
sz                255 tools/perf/tests/sample-parsing.c 	event->header.size = sz;
sz                270 tools/perf/tests/sample-parsing.c 	if (i != sz) {
sz                272 tools/perf/tests/sample-parsing.c 			 i, sz);
sz                132 tools/perf/trace/beauty/ioctl.c 	    sz	 = _IOC_SIZE(cmd);
sz                168 tools/perf/trace/beauty/ioctl.c 	return printed + scnprintf(bf + printed, size - printed, ", %#x, %#x, %#x)", type, nr, sz);
sz                394 tools/perf/ui/browsers/annotate.c 		     size_t sz, int percent_type)
sz                396 tools/perf/ui/browsers/annotate.c 	return snprintf(title, sz, "%s  %s [Percent: %s]", sym->name, map->dso->long_name,
sz                 22 tools/perf/ui/tui/helpline.c 	const size_t sz = sizeof(ui_helpline__current);
sz                 28 tools/perf/ui/tui/helpline.c 	strlcpy(ui_helpline__current, msg, sz);
sz                278 tools/perf/util/auxtrace.c 	u64 sz = buffer->size;
sz                283 tools/perf/util/auxtrace.c 	while (sz > BUFFER_LIMIT_FOR_32_BIT) {
sz                295 tools/perf/util/auxtrace.c 		sz -= BUFFER_LIMIT_FOR_32_BIT;
sz                299 tools/perf/util/auxtrace.c 	buffer->size = sz;
sz                379 tools/perf/util/auxtrace.c 					      off_t file_offset, size_t sz)
sz                392 tools/perf/util/auxtrace.c 		    event->header.size != sz) {
sz                669 tools/perf/util/auxtrace.c 	auxtrace_index->entries[nr].sz = event->header.size;
sz                683 tools/perf/util/auxtrace.c 		ent.sz = auxtrace_index->entries[i].sz;
sz                729 tools/perf/util/auxtrace.c 		auxtrace_index->entries[nr].sz = bswap_64(ent.sz);
sz                732 tools/perf/util/auxtrace.c 		auxtrace_index->entries[nr].sz = ent.sz;
sz                771 tools/perf/util/auxtrace.c 						  ent->file_offset, ent->sz);
sz               1368 tools/perf/util/auxtrace.c 	size_t sz;
sz               1380 tools/perf/util/auxtrace.c 	size_t sz, i;
sz               1386 tools/perf/util/auxtrace.c 	sz = 1UL << bits;
sz               1388 tools/perf/util/auxtrace.c 	ht = calloc(sz, sizeof(struct hlist_head));
sz               1392 tools/perf/util/auxtrace.c 	for (i = 0; i < sz; i++)
sz               1396 tools/perf/util/auxtrace.c 	c->sz = sz;
sz               1398 tools/perf/util/auxtrace.c 	c->limit = (c->sz * limit_percent) / 100;
sz               1417 tools/perf/util/auxtrace.c 	for (i = 0; i < c->sz; i++) {
sz                122 tools/perf/util/auxtrace.h 	u64			sz;
sz                 58 tools/perf/util/call-path.c 	if (cpr->next < cpr->sz) {
sz                 66 tools/perf/util/call-path.c 		cpr->sz += CALL_PATH_BLOCK_SIZE;
sz                 58 tools/perf/util/call-path.h 	size_t sz;
sz                179 tools/perf/util/cputopo.c 	size_t sz;
sz                196 tools/perf/util/cputopo.c 	sz = nr * sizeof(char *);
sz                201 tools/perf/util/cputopo.c 	addr = calloc(1, sizeof(*tp) + nr_addr * sz);
sz                208 tools/perf/util/cputopo.c 	addr += sz;
sz                211 tools/perf/util/cputopo.c 		addr += sz;
sz                254 tools/perf/util/cs-etm.c 		size_t sz = sizeof(struct branch_stack);
sz                256 tools/perf/util/cs-etm.c 		sz += etm->synth_opts.last_branch_sz *
sz                258 tools/perf/util/cs-etm.c 		tidq->last_branch = zalloc(sz);
sz                261 tools/perf/util/cs-etm.c 		tidq->last_branch_rb = zalloc(sz);
sz               1941 tools/perf/util/evsel.c 	u64 sz;
sz               2061 tools/perf/util/evsel.c 			sz = data->read.group.nr *
sz               2063 tools/perf/util/evsel.c 			OVERFLOW_CHECK(array, sz, max_size);
sz               2066 tools/perf/util/evsel.c 			array = (void *)array + sz;
sz               2081 tools/perf/util/evsel.c 		sz = data->callchain->nr * sizeof(u64);
sz               2082 tools/perf/util/evsel.c 		OVERFLOW_CHECK(array, sz, max_size);
sz               2083 tools/perf/util/evsel.c 		array = (void *)array + sz;
sz               2126 tools/perf/util/evsel.c 		sz = data->branch_stack->nr * sizeof(struct branch_entry);
sz               2127 tools/perf/util/evsel.c 		OVERFLOW_CHECK(array, sz, max_size);
sz               2128 tools/perf/util/evsel.c 		array = (void *)array + sz;
sz               2139 tools/perf/util/evsel.c 			sz = hweight64(mask) * sizeof(u64);
sz               2140 tools/perf/util/evsel.c 			OVERFLOW_CHECK(array, sz, max_size);
sz               2143 tools/perf/util/evsel.c 			array = (void *)array + sz;
sz               2149 tools/perf/util/evsel.c 		sz = *array++;
sz               2154 tools/perf/util/evsel.c 		if (!sz) {
sz               2157 tools/perf/util/evsel.c 			OVERFLOW_CHECK(array, sz, max_size);
sz               2159 tools/perf/util/evsel.c 			array = (void *)array + sz;
sz               2162 tools/perf/util/evsel.c 			if (WARN_ONCE(data->user_stack.size > sz,
sz               2195 tools/perf/util/evsel.c 			sz = hweight64(mask) * sizeof(u64);
sz               2196 tools/perf/util/evsel.c 			OVERFLOW_CHECK(array, sz, max_size);
sz               2199 tools/perf/util/evsel.c 			array = (void *)array + sz;
sz                112 tools/perf/util/genelf.c 	size_t sz = sizeof(note->build_id);
sz                119 tools/perf/util/genelf.c 	sret = read(fd, note->build_id, sz);
sz                123 tools/perf/util/genelf.c 	if (sret != (ssize_t)sz)
sz                124 tools/perf/util/genelf.c 		memset(note->build_id, 0, sz);
sz                 55 tools/perf/util/genelf_debug.c buffer_ext_add(struct buffer_ext *be, void *addr, size_t sz)
sz                 61 tools/perf/util/genelf_debug.c 	if ((be->cur_pos + sz) < be_sz) {
sz                 62 tools/perf/util/genelf_debug.c 		memcpy(be->data + be->cur_pos, addr, sz);
sz                 63 tools/perf/util/genelf_debug.c 		be->cur_pos += sz;
sz                489 tools/perf/util/header.c 	u32 nre, nri, sz;
sz                504 tools/perf/util/header.c 	sz = (u32)sizeof(evsel->core.attr);
sz                505 tools/perf/util/header.c 	ret = do_write(ff, &sz, sizeof(sz));
sz                510 tools/perf/util/header.c 		ret = do_write(ff, &evsel->core.attr, sz);
sz                851 tools/perf/util/header.c int __weak get_cpuid(char *buffer __maybe_unused, size_t sz __maybe_unused)
sz               1598 tools/perf/util/header.c 	u32 nre, sz, nr, i, j;
sz               1605 tools/perf/util/header.c 	if (do_read_u32(ff, &sz))
sz               1609 tools/perf/util/header.c 	buf = malloc(sz);
sz               1619 tools/perf/util/header.c 	if (sz < msz)
sz               1620 tools/perf/util/header.c 		msz = sz;
sz               1629 tools/perf/util/header.c 		if (__do_read(ff, buf, sz))
sz               3442 tools/perf/util/header.c 	size_t sz, left;
sz               3457 tools/perf/util/header.c 	sz = attr->size;
sz               3460 tools/perf/util/header.c 		sz = bswap_32(sz);
sz               3462 tools/perf/util/header.c 	if (sz == 0) {
sz               3464 tools/perf/util/header.c 		sz =  PERF_ATTR_SIZE_VER0;
sz               3465 tools/perf/util/header.c 	} else if (sz > our_sz) {
sz               3467 tools/perf/util/header.c 			 " (%zu bytes extra)\n", sz - our_sz);
sz               3471 tools/perf/util/header.c 	left = sz - PERF_ATTR_SIZE_VER0;
sz                164 tools/perf/util/header.h int get_cpuid(char *buffer, size_t sz);
sz                 90 tools/perf/util/intel-bts.c 	size_t i, pos = 0, br_sz = sizeof(struct branch), sz;
sz                 99 tools/perf/util/intel-bts.c 			sz = br_sz;
sz                101 tools/perf/util/intel-bts.c 			sz = len;
sz                104 tools/perf/util/intel-bts.c 		for (i = 0; i < sz; i++)
sz                118 tools/perf/util/intel-bts.c 		pos += sz;
sz                119 tools/perf/util/intel-bts.c 		buf += sz;
sz                120 tools/perf/util/intel-bts.c 		len -= sz;
sz                411 tools/perf/util/intel-bts.c 	size_t sz, bsz = sizeof(struct branch);
sz                416 tools/perf/util/intel-bts.c 		sz = buffer->use_size;
sz                419 tools/perf/util/intel-bts.c 		sz = buffer->size;
sz                426 tools/perf/util/intel-bts.c 	for (; sz > bsz; branch += 1, sz -= bsz) {
sz                861 tools/perf/util/intel-pt.c 		size_t sz = sizeof(struct ip_callchain);
sz                864 tools/perf/util/intel-pt.c 		sz += (pt->synth_opts.callchain_sz + 1) * sizeof(u64);
sz                865 tools/perf/util/intel-pt.c 		ptq->chain = zalloc(sz);
sz                871 tools/perf/util/intel-pt.c 		size_t sz = sizeof(struct branch_stack);
sz                873 tools/perf/util/intel-pt.c 		sz += pt->synth_opts.last_branch_sz *
sz                875 tools/perf/util/intel-pt.c 		ptq->last_branch = zalloc(sz);
sz                878 tools/perf/util/intel-pt.c 		ptq->last_branch_rb = zalloc(sz);
sz                252 tools/perf/util/jitdump.c 		size_t sz = getpagesize();
sz                253 tools/perf/util/jitdump.c 		if (sz < sizeof(*prefix))
sz                254 tools/perf/util/jitdump.c 			sz = sizeof(*prefix);
sz                256 tools/perf/util/jitdump.c 		jd->buf = malloc(sz);
sz                260 tools/perf/util/jitdump.c 		jd->bufsize = sz;
sz                594 tools/perf/util/jitdump.c 	size_t sz;
sz                599 tools/perf/util/jitdump.c 	sz  = jr->prefix.total_size - sizeof(jr->info);
sz                600 tools/perf/util/jitdump.c 	data = malloc(sz);
sz                604 tools/perf/util/jitdump.c 	memcpy(data, &jr->info.entries, sz);
sz                116 tools/perf/util/mem-events.c int perf_mem__tlb_scnprintf(char *out, size_t sz, struct mem_info *mem_info)
sz                122 tools/perf/util/mem-events.c 	sz -= 1; /* -1 for null termination */
sz                141 tools/perf/util/mem-events.c 		l += scnprintf(out + l, sz - l, tlb_access[i]);
sz                144 tools/perf/util/mem-events.c 		l += scnprintf(out, sz - l, "N/A");
sz                146 tools/perf/util/mem-events.c 		l += scnprintf(out + l, sz - l, " hit");
sz                148 tools/perf/util/mem-events.c 		l += scnprintf(out + l, sz - l, " miss");
sz                178 tools/perf/util/mem-events.c int perf_mem__lvl_scnprintf(char *out, size_t sz, struct mem_info *mem_info)
sz                188 tools/perf/util/mem-events.c 	sz -= 1; /* -1 for null termination */
sz                211 tools/perf/util/mem-events.c 		l += scnprintf(out + l, sz - l, mem_lvl[i]);
sz                221 tools/perf/util/mem-events.c 			l += scnprintf(out + l, sz - l, mem_lvlnum[lvl]);
sz                223 tools/perf/util/mem-events.c 			l += scnprintf(out + l, sz - l, "L%d", lvl);
sz                227 tools/perf/util/mem-events.c 		l += scnprintf(out + l, sz - l, "N/A");
sz                229 tools/perf/util/mem-events.c 		l += scnprintf(out + l, sz - l, " hit");
sz                231 tools/perf/util/mem-events.c 		l += scnprintf(out + l, sz - l, " miss");
sz                244 tools/perf/util/mem-events.c int perf_mem__snp_scnprintf(char *out, size_t sz, struct mem_info *mem_info)
sz                249 tools/perf/util/mem-events.c 	sz -= 1; /* -1 for null termination */
sz                262 tools/perf/util/mem-events.c 		l += scnprintf(out + l, sz - l, snoop_access[i]);
sz                270 tools/perf/util/mem-events.c 		l += scnprintf(out + l, sz - l, "Fwd");
sz                274 tools/perf/util/mem-events.c 		l += scnprintf(out, sz - l, "N/A");
sz                279 tools/perf/util/mem-events.c int perf_mem__lck_scnprintf(char *out, size_t sz, struct mem_info *mem_info)
sz                288 tools/perf/util/mem-events.c 		l = scnprintf(out, sz, "N/A");
sz                290 tools/perf/util/mem-events.c 		l = scnprintf(out, sz, "Yes");
sz                292 tools/perf/util/mem-events.c 		l = scnprintf(out, sz, "No");
sz                297 tools/perf/util/mem-events.c int perf_script__meminfo_scnprintf(char *out, size_t sz, struct mem_info *mem_info)
sz                301 tools/perf/util/mem-events.c 	i += perf_mem__lvl_scnprintf(out, sz, mem_info);
sz                302 tools/perf/util/mem-events.c 	i += scnprintf(out + i, sz - i, "|SNP ");
sz                303 tools/perf/util/mem-events.c 	i += perf_mem__snp_scnprintf(out + i, sz - i, mem_info);
sz                304 tools/perf/util/mem-events.c 	i += scnprintf(out + i, sz - i, "|TLB ");
sz                305 tools/perf/util/mem-events.c 	i += perf_mem__tlb_scnprintf(out + i, sz - i, mem_info);
sz                306 tools/perf/util/mem-events.c 	i += scnprintf(out + i, sz - i, "|LCK ");
sz                307 tools/perf/util/mem-events.c 	i += perf_mem__lck_scnprintf(out + i, sz - i, mem_info);
sz                 43 tools/perf/util/mem-events.h int perf_mem__tlb_scnprintf(char *out, size_t sz, struct mem_info *mem_info);
sz                 44 tools/perf/util/mem-events.h int perf_mem__lvl_scnprintf(char *out, size_t sz, struct mem_info *mem_info);
sz                 45 tools/perf/util/mem-events.h int perf_mem__snp_scnprintf(char *out, size_t sz, struct mem_info *mem_info);
sz                 46 tools/perf/util/mem-events.h int perf_mem__lck_scnprintf(char *out, size_t sz, struct mem_info *mem_info);
sz                922 tools/perf/util/scripting-engines/trace-event-python.c static PyObject *tuple_new(unsigned int sz)
sz                926 tools/perf/util/scripting-engines/trace-event-python.c 	t = PyTuple_New(sz);
sz                953 tools/perf/util/scripting-engines/trace-event-python.c 			   unsigned int sz)
sz                955 tools/perf/util/scripting-engines/trace-event-python.c 	return PyTuple_SetItem(t, pos, _PyBytes_FromStringAndSize(bytes, sz));
sz                729 tools/perf/util/session.c #define bswap_field(f, sz) 			\
sz                732 tools/perf/util/session.c 		attr->f = bswap_##sz(attr->f);	\
sz                101 tools/perf/util/srccode.c 	unsigned long sz;
sz                136 tools/perf/util/srccode.c 	sz = (h->maplen + page_size - 1) & ~(page_size - 1);
sz                137 tools/perf/util/srccode.c 	h->map = mmap(NULL, sz, PROT_READ, MAP_SHARED, fd, 0);
sz                155 tools/perf/util/srccode.c 	munmap(h->map, sz);
sz                 37 tools/perf/util/strbuf.c char *strbuf_detach(struct strbuf *sb, size_t *sz)
sz                 40 tools/perf/util/strbuf.c 	if (sz)
sz                 41 tools/perf/util/strbuf.c 		*sz = sb->len;
sz                519 tools/perf/util/symbol-elf.c 				size_t sz = min(size, descsz);
sz                520 tools/perf/util/symbol-elf.c 				memcpy(bf, ptr, sz);
sz                521 tools/perf/util/symbol-elf.c 				memset(bf + sz, 0, size - sz);
sz                586 tools/perf/util/symbol-elf.c 				size_t sz = min(descsz, size);
sz                587 tools/perf/util/symbol-elf.c 				if (read(fd, build_id, sz) == (ssize_t)sz) {
sz                588 tools/perf/util/symbol-elf.c 					memset(build_id + sz, 0, size - sz);
sz               1178 tools/perf/util/symbol-elf.c 	u64 sz;
sz               1195 tools/perf/util/symbol-elf.c 		sz = min(phdr.p_memsz, phdr.p_filesz);
sz               1196 tools/perf/util/symbol-elf.c 		if (!sz)
sz               1198 tools/perf/util/symbol-elf.c 		err = mapfn(phdr.p_vaddr, sz, phdr.p_offset, data);
sz               1868 tools/perf/util/symbol-elf.c 	off_t offset, sz;
sz               1909 tools/perf/util/symbol-elf.c 	sz = kcore__write(&extract);
sz               1910 tools/perf/util/symbol-elf.c 	if (sz < 0 || sz > offset)
sz               1955 tools/perf/util/symbol-elf.c 	off_t offset = page_size, sz;
sz               1970 tools/perf/util/symbol-elf.c 	sz = kcore__write(&extract);
sz               1971 tools/perf/util/symbol-elf.c 	if (sz < 0 || sz > offset)
sz                 30 tools/perf/util/symbol-minimal.c #define NOTE_ALIGN(sz) (((sz) + 3) & ~3)
sz                 65 tools/perf/util/symbol-minimal.c 				size_t sz = min(size, descsz);
sz                 66 tools/perf/util/symbol-minimal.c 				memcpy(bf, ptr, sz);
sz                 67 tools/perf/util/symbol-minimal.c 				memset(bf + sz, 0, size - sz);
sz               1129 tools/perf/util/synthetic-events.c 	size_t sz, result = sizeof(struct perf_record_sample);
sz               1166 tools/perf/util/synthetic-events.c 			sz = sample->read.group.nr *
sz               1168 tools/perf/util/synthetic-events.c 			result += sz;
sz               1175 tools/perf/util/synthetic-events.c 		sz = (sample->callchain->nr + 1) * sizeof(u64);
sz               1176 tools/perf/util/synthetic-events.c 		result += sz;
sz               1185 tools/perf/util/synthetic-events.c 		sz = sample->branch_stack->nr * sizeof(struct branch_entry);
sz               1186 tools/perf/util/synthetic-events.c 		sz += sizeof(u64);
sz               1187 tools/perf/util/synthetic-events.c 		result += sz;
sz               1193 tools/perf/util/synthetic-events.c 			sz = hweight64(sample->user_regs.mask) * sizeof(u64);
sz               1194 tools/perf/util/synthetic-events.c 			result += sz;
sz               1201 tools/perf/util/synthetic-events.c 		sz = sample->user_stack.size;
sz               1203 tools/perf/util/synthetic-events.c 		if (sz) {
sz               1204 tools/perf/util/synthetic-events.c 			result += sz;
sz               1221 tools/perf/util/synthetic-events.c 			sz = hweight64(sample->intr_regs.mask) * sizeof(u64);
sz               1222 tools/perf/util/synthetic-events.c 			result += sz;
sz               1238 tools/perf/util/synthetic-events.c 	size_t sz;
sz               1315 tools/perf/util/synthetic-events.c 			sz = sample->read.group.nr *
sz               1317 tools/perf/util/synthetic-events.c 			memcpy(array, sample->read.group.values, sz);
sz               1318 tools/perf/util/synthetic-events.c 			array = (void *)array + sz;
sz               1326 tools/perf/util/synthetic-events.c 		sz = (sample->callchain->nr + 1) * sizeof(u64);
sz               1327 tools/perf/util/synthetic-events.c 		memcpy(array, sample->callchain, sz);
sz               1328 tools/perf/util/synthetic-events.c 		array = (void *)array + sz;
sz               1341 tools/perf/util/synthetic-events.c 		sz = sample->branch_stack->nr * sizeof(struct branch_entry);
sz               1342 tools/perf/util/synthetic-events.c 		sz += sizeof(u64);
sz               1343 tools/perf/util/synthetic-events.c 		memcpy(array, sample->branch_stack, sz);
sz               1344 tools/perf/util/synthetic-events.c 		array = (void *)array + sz;
sz               1350 tools/perf/util/synthetic-events.c 			sz = hweight64(sample->user_regs.mask) * sizeof(u64);
sz               1351 tools/perf/util/synthetic-events.c 			memcpy(array, sample->user_regs.regs, sz);
sz               1352 tools/perf/util/synthetic-events.c 			array = (void *)array + sz;
sz               1359 tools/perf/util/synthetic-events.c 		sz = sample->user_stack.size;
sz               1360 tools/perf/util/synthetic-events.c 		*array++ = sz;
sz               1361 tools/perf/util/synthetic-events.c 		if (sz) {
sz               1362 tools/perf/util/synthetic-events.c 			memcpy(array, sample->user_stack.data, sz);
sz               1363 tools/perf/util/synthetic-events.c 			array = (void *)array + sz;
sz               1364 tools/perf/util/synthetic-events.c 			*array++ = sz;
sz               1386 tools/perf/util/synthetic-events.c 			sz = hweight64(sample->intr_regs.mask) * sizeof(u64);
sz               1387 tools/perf/util/synthetic-events.c 			memcpy(array, sample->intr_regs.regs, sz);
sz               1388 tools/perf/util/synthetic-events.c 			array = (void *)array + sz;
sz               1407 tools/perf/util/synthetic-events.c 	size_t nr = 0, i = 0, sz, max_nr, n;
sz               1419 tools/perf/util/synthetic-events.c 	sz = sizeof(struct perf_record_id_index) + n * sizeof(struct id_index_entry);
sz               1420 tools/perf/util/synthetic-events.c 	ev = zalloc(sz);
sz               1425 tools/perf/util/synthetic-events.c 	ev->id_index.header.size = sz;
sz               1459 tools/perf/util/synthetic-events.c 	sz = sizeof(struct perf_record_id_index) + nr * sizeof(struct id_index_entry);
sz               1460 tools/perf/util/synthetic-events.c 	ev->id_index.header.size = sz;
sz               1829 tools/perf/util/synthetic-events.c 	size_t sz, sz_hdr;
sz               1833 tools/perf/util/synthetic-events.c 	sz = sizeof(union perf_event);
sz               1835 tools/perf/util/synthetic-events.c 	sz = PERF_ALIGN(sz, page_size);
sz               1839 tools/perf/util/synthetic-events.c 	ff.buf = malloc(sz);
sz               1843 tools/perf/util/synthetic-events.c 	ff.size = sz - sz_hdr;
sz                 87 tools/perf/util/thread-stack.c 	size_t sz;
sz                113 tools/perf/util/thread-stack.c 	size_t sz, new_sz;
sz                115 tools/perf/util/thread-stack.c 	new_sz = ts->sz + STACK_GROWTH;
sz                116 tools/perf/util/thread-stack.c 	sz = new_sz * sizeof(struct thread_stack_entry);
sz                118 tools/perf/util/thread-stack.c 	new_stack = realloc(ts->stack, sz);
sz                123 tools/perf/util/thread-stack.c 	ts->sz = new_sz;
sz                220 tools/perf/util/thread-stack.c 	if (ts->cnt == ts->sz) {
sz                463 tools/perf/util/thread-stack.c 			  size_t sz, u64 ip, u64 kernel_start)
sz                470 tools/perf/util/thread-stack.c 	if (sz < 2) {
sz                485 tools/perf/util/thread-stack.c 	for (i = 2, j = 1; i < sz && j <= ts->cnt; i++, j++) {
sz                489 tools/perf/util/thread-stack.c 			if (i >= sz - 1)
sz                539 tools/perf/util/thread-stack.c 	if (ts->cnt == ts->sz) {
sz                 87 tools/perf/util/thread-stack.h 			  size_t sz, u64 ip, u64 kernel_start);
sz                277 tools/perf/util/thread.c 	size_t sz;
sz                282 tools/perf/util/thread.c 	    procfs__read_str(path, &comm, &sz) == 0) {
sz                283 tools/perf/util/thread.c 		comm[sz - 1] = '\0';
sz                528 tools/perf/util/time-utils.c int timestamp__scnprintf_usec(u64 timestamp, char *buf, size_t sz)
sz                533 tools/perf/util/time-utils.c 	return scnprintf(buf, sz, "%"PRIu64".%06"PRIu64, sec, usec);
sz                536 tools/perf/util/time-utils.c int timestamp__scnprintf_nsec(u64 timestamp, char *buf, size_t sz)
sz                541 tools/perf/util/time-utils.c 	return scnprintf(buf, sz, "%" PRIu64 ".%09" PRIu64, sec, nsec);
sz                544 tools/perf/util/time-utils.c int fetch_current_timestamp(char *buf, size_t sz)
sz                556 tools/perf/util/time-utils.c 	scnprintf(buf, sz, "%s%02u", dt, (unsigned)tv.tv_usec / 10000);
sz                 38 tools/perf/util/time-utils.h int timestamp__scnprintf_usec(u64 timestamp, char *buf, size_t sz);
sz                 39 tools/perf/util/time-utils.h int timestamp__scnprintf_nsec(u64 timestamp, char *buf, size_t sz);
sz                 41 tools/perf/util/time-utils.h int fetch_current_timestamp(char *buf, size_t sz);
sz                 15 tools/testing/selftests/bpf/test_btf.h #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz)	\
sz                 16 tools/testing/selftests/bpf/test_btf.h 	BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_INT, 0, 0), sz),	\
sz                 28 tools/testing/selftests/bpf/test_btf.h #define BTF_STRUCT_ENC(name, nr_elems, sz)	\
sz                 29 tools/testing/selftests/bpf/test_btf.h 	BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_STRUCT, 0, nr_elems), sz)
sz                 31 tools/testing/selftests/bpf/test_btf.h #define BTF_UNION_ENC(name, nr_elems, sz)	\
sz                 32 tools/testing/selftests/bpf/test_btf.h 	BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_UNION, 0, nr_elems), sz)
sz                 41 tools/testing/selftests/bpf/test_hashmap.c static inline size_t exp_cap(size_t sz)
sz                 43 tools/testing/selftests/bpf/test_hashmap.c 	size_t r = next_pow_2(sz);
sz                 45 tools/testing/selftests/bpf/test_hashmap.c 	if (sz * 4 / 3 > r)
sz                164 tools/testing/selftests/capabilities/test_execve.c 		ssize_t sz = read(from, buf, sizeof(buf));
sz                165 tools/testing/selftests/capabilities/test_execve.c 		if (sz == 0)
sz                167 tools/testing/selftests/capabilities/test_execve.c 		if (sz < 0)
sz                170 tools/testing/selftests/capabilities/test_execve.c 		if (write(to, buf, sz) != sz)
sz                104 tools/testing/selftests/kvm/include/kvm_util.h vm_vaddr_t vm_vaddr_alloc(struct kvm_vm *vm, size_t sz, vm_vaddr_t vaddr_min,
sz                860 tools/testing/selftests/kvm/lib/kvm_util.c static vm_vaddr_t vm_vaddr_unused_gap(struct kvm_vm *vm, size_t sz,
sz                863 tools/testing/selftests/kvm/lib/kvm_util.c 	uint64_t pages = (sz + vm->page_size - 1) >> vm->page_shift;
sz                948 tools/testing/selftests/kvm/lib/kvm_util.c vm_vaddr_t vm_vaddr_alloc(struct kvm_vm *vm, size_t sz, vm_vaddr_t vaddr_min,
sz                951 tools/testing/selftests/kvm/lib/kvm_util.c 	uint64_t pages = (sz >> vm->page_shift) + ((sz % vm->page_size) != 0);
sz                959 tools/testing/selftests/kvm/lib/kvm_util.c 	vm_vaddr_t vaddr_start = vm_vaddr_unused_gap(vm, sz, vaddr_min);
sz               1553 tools/testing/selftests/kvm/lib/sparsebit.c 	size_t sz;
sz               1566 tools/testing/selftests/kvm/lib/sparsebit.c 		sz = snprintf(NULL, 0, fmt_str, low, high);
sz               1568 tools/testing/selftests/kvm/lib/sparsebit.c 		sz = fprintf(stream, fmt_str, low, high);
sz               1570 tools/testing/selftests/kvm/lib/sparsebit.c 	return sz;
sz               1591 tools/testing/selftests/kvm/lib/sparsebit.c 	size_t sz;
sz               1624 tools/testing/selftests/kvm/lib/sparsebit.c 				sz = display_range(NULL, low, high,
sz               1632 tools/testing/selftests/kvm/lib/sparsebit.c 				if (current_line_len + sz > DUMP_LINE_MAX) {
sz               1639 tools/testing/selftests/kvm/lib/sparsebit.c 				sz = display_range(stream, low, high,
sz               1641 tools/testing/selftests/kvm/lib/sparsebit.c 				current_line_len += sz;
sz               1658 tools/testing/selftests/kvm/lib/sparsebit.c 			sz = display_range(NULL, low, high,
sz               1666 tools/testing/selftests/kvm/lib/sparsebit.c 			if (current_line_len + sz > DUMP_LINE_MAX) {
sz               1673 tools/testing/selftests/kvm/lib/sparsebit.c 			sz = display_range(stream, low, high,
sz               1675 tools/testing/selftests/kvm/lib/sparsebit.c 			current_line_len += sz;
sz                 43 tools/testing/selftests/memfd/fuse_test.c static int mfd_assert_new(const char *name, loff_t sz, unsigned int flags)
sz                 54 tools/testing/selftests/memfd/fuse_test.c 	r = ftruncate(fd, sz);
sz                 56 tools/testing/selftests/memfd/fuse_test.c 		printf("ftruncate(%llu) failed: %m\n", (unsigned long long)sz);
sz                 37 tools/testing/selftests/memfd/memfd_test.c static int mfd_assert_new(const char *name, loff_t sz, unsigned int flags)
sz                 48 tools/testing/selftests/memfd/memfd_test.c 	r = ftruncate(fd, sz);
sz                 50 tools/testing/selftests/memfd/memfd_test.c 		printf("ftruncate(%llu) failed: %m\n", (unsigned long long)sz);
sz               1253 tools/testing/selftests/net/nettest.c 	int val = 0, sz = sizeof(val);
sz               1271 tools/testing/selftests/net/nettest.c 	if (getsockopt(sd, SOL_SOCKET, SO_ERROR, &val, (socklen_t *)&sz) < 0) {
sz                 40 tools/testing/selftests/net/reuseport_addr_any.c 	int opt, i, sz;
sz                 52 tools/testing/selftests/net/reuseport_addr_any.c 		sz = sizeof(addr4);
sz                 62 tools/testing/selftests/net/reuseport_addr_any.c 		sz = sizeof(addr6);
sz                 84 tools/testing/selftests/net/reuseport_addr_any.c 		if (bind(rcv_fds[i], addr, sz))
sz                108 tools/testing/selftests/net/reuseport_addr_any.c 	int fd, sz;
sz                121 tools/testing/selftests/net/reuseport_addr_any.c 		sz = sizeof(saddr4);
sz                134 tools/testing/selftests/net/reuseport_addr_any.c 		sz = sizeof(saddr6);
sz                156 tools/testing/selftests/net/reuseport_addr_any.c 	if (bind(fd, saddr, sz))
sz                159 tools/testing/selftests/net/reuseport_addr_any.c 	if (connect(fd, daddr, sz))
sz                 96 tools/testing/selftests/net/tcp_fastopen_backup_key.c 	int opt = 1, i, sz;
sz                105 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		sz = sizeof(addr4);
sz                112 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		sz = sizeof(addr6);
sz                132 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		if (bind(rcv_fds[i], addr, sz))
sz                150 tools/testing/selftests/net/tcp_fastopen_backup_key.c 	int fd, sz, ret;
sz                164 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		sz = sizeof(saddr4);
sz                177 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		sz = sizeof(saddr6);
sz                192 tools/testing/selftests/net/tcp_fastopen_backup_key.c 	if (bind(fd, saddr, sz))
sz                195 tools/testing/selftests/net/tcp_fastopen_backup_key.c 	ret = sendto(fd, data, 1, MSG_FASTOPEN, daddr, sz);
sz                175 tools/testing/selftests/safesetid/safesetid-test.c 	size_t sz = sizeof(map_file_name);
sz                193 tools/testing/selftests/safesetid/safesetid-test.c 		if(snprintf(map_file_name, sz, "/proc/%d/uid_map", cpid) < 0) {
sz                179 tools/testing/selftests/x86/test_syscall_vdso.c 	int sz;
sz                198 tools/testing/selftests/x86/test_syscall_vdso.c 	sigmask_desc.sz = 8; /* bytes */
sz               1830 virt/kvm/arm/vgic/vgic-its.c 	unsigned int sz;
sz               1836 virt/kvm/arm/vgic/vgic-its.c 	sz = atomic_read(&kvm->online_vcpus) * LPI_DEFAULT_PCPU_CACHE_SIZE;
sz               1838 virt/kvm/arm/vgic/vgic-its.c 	for (i = 0; i < sz; i++) {