Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 25 of 687) sorted by relevance

12345678910>>...28

/linux/drivers/media/rc/
A Dstreamzap.c129 sz->signal_last = sz->signal_start; in sz_push_full_pulse()
226 sz_push_half_pulse(sz, sz->buf_in[i]); in streamzap_callback()
230 sz_push_half_pulse(sz, sz->buf_in[i]); in streamzap_callback()
231 sz_push_half_space(sz, sz->buf_in[i]); in streamzap_callback()
235 sz_push_full_pulse(sz, sz->buf_in[i]); in streamzap_callback()
260 sz_push_half_space(sz, sz->buf_in[i]); in streamzap_callback()
285 usb_make_path(sz->usbdev, sz->phys, sizeof(sz->phys)); in streamzap_init_rc_dev()
394 sz->rdev = streamzap_init_rc_dev(sz); in streamzap_probe()
415 sz, sz->endpoint->bInterval); in streamzap_probe()
416 sz->urb_in->transfer_dma = sz->dma_in; in streamzap_probe()
[all …]
/linux/net/tipc/
A Dtrace.c56 size_t sz = (more) ? SKB_LMAX : SKB_LMIN; in tipc_skb_dump() local
99 i += scnprintf(buf + i, sz - i, " %u", in tipc_skb_dump()
101 i += scnprintf(buf + i, sz - i, " %u", in tipc_skb_dump()
105 i += scnprintf(buf + i, sz - i, " %u", in tipc_skb_dump()
107 i += scnprintf(buf + i, sz - i, " %u", in tipc_skb_dump()
109 i += scnprintf(buf + i, sz - i, " %u", in tipc_skb_dump()
117 i += scnprintf(buf + i, sz - i, " %u", in tipc_skb_dump()
127 i += scnprintf(buf + i, sz - i, "\n"); in tipc_skb_dump()
141 i += scnprintf(buf + i, sz - i, " %llx", in tipc_skb_dump()
149 i += scnprintf(buf + i, sz - i, " %u", in tipc_skb_dump()
[all …]
/linux/arch/arc/mm/
A Dcache.c493 #define __dc_line_op_k(p, sz, op) __dc_line_op(p, p, sz, op) argument
501 const int full_page = __builtin_constant_p(sz) && sz == PAGE_SIZE; in __dc_line_op()
535 unsigned long sz) in __ic_line_inv_vaddr_local() argument
537 const int full_page = __builtin_constant_p(sz) && sz == PAGE_SIZE; in __ic_line_inv_vaddr_local()
553 int sz; member
564 unsigned long sz) in __ic_line_inv_vaddr() argument
569 .sz = sz in __ic_line_inv_vaddr()
697 #define slc_op(paddr, sz, op) slc_op_rgn(paddr, sz, op) argument
893 unsigned int off, sz; in flush_icache_range() local
901 kstart += sz; in flush_icache_range()
[all …]
/linux/arch/mips/include/asm/
A Dmips-gic.h30 #define GIC_ACCESSOR_RO(sz, off, name) \ argument
31 CPS_ACCESSOR_RO(gic, sz, MIPS_GIC_SHARED_OFS + off, name)
34 #define GIC_ACCESSOR_RW(sz, off, name) \ argument
35 CPS_ACCESSOR_RW(gic, sz, MIPS_GIC_SHARED_OFS + off, name)
38 #define GIC_VX_ACCESSOR_RO(sz, off, name) \ argument
43 #define GIC_VX_ACCESSOR_RW(sz, off, name) \ argument
56 BUILD_BUG_ON(sz != 32); \
62 GIC_ACCESSOR_RO_INTR_REG(sz, off, stride, name) \
67 BUILD_BUG_ON(sz != 32); \
150 #define GIC_VX_ACCESSOR_RO_INTR_BIT(sz, off, name) \ argument
[all …]
A Dmips-cps.h22 #define CPS_ACCESSOR_R(unit, sz, name) \ argument
27 switch (sz) { \
45 #define CPS_ACCESSOR_W(unit, sz, name) \ argument
48 switch (sz) { \
70 #define CPS_ACCESSOR_M(unit, sz, name) \ argument
72 uint##sz##_t val) \
92 CPS_ACCESSOR_R(unit, sz, name)
96 CPS_ACCESSOR_W(unit, sz, name)
100 CPS_ACCESSOR_R(unit, sz, name) \
101 CPS_ACCESSOR_W(unit, sz, name) \
[all …]
A Dmips-cpc.h64 #define CPC_ACCESSOR_RO(sz, off, name) \ argument
65 CPS_ACCESSOR_RO(cpc, sz, MIPS_CPC_GCB_OFS + off, name) \
66 CPS_ACCESSOR_RO(cpc, sz, MIPS_CPC_COCB_OFS + off, redir_##name)
68 #define CPC_ACCESSOR_RW(sz, off, name) \ argument
69 CPS_ACCESSOR_RW(cpc, sz, MIPS_CPC_GCB_OFS + off, name) \
72 #define CPC_CX_ACCESSOR_RO(sz, off, name) \ argument
73 CPS_ACCESSOR_RO(cpc, sz, MIPS_CPC_CLCB_OFS + off, cl_##name) \
74 CPS_ACCESSOR_RO(cpc, sz, MIPS_CPC_COCB_OFS + off, co_##name)
76 #define CPC_CX_ACCESSOR_RW(sz, off, name) \ argument
77 CPS_ACCESSOR_RW(cpc, sz, MIPS_CPC_CLCB_OFS + off, cl_##name) \
[all …]
/linux/lib/math/
A Dprime_numbers.c13 unsigned long last, sz; member
20 .sz = 64,
45 .sz = 32,
113 unsigned long sz, y; in expand_to_next_prime() local
123 sz = 2 * x; in expand_to_next_prime()
124 if (sz < x) in expand_to_next_prime()
127 sz = round_up(sz, BITS_PER_LONG); in expand_to_next_prime()
146 for (y = 2UL; y < sz; y = find_next_bit(new->primes, sz, y + 1)) in expand_to_next_prime()
147 new->last = clear_multiples(y, new->primes, p->sz, sz); in expand_to_next_prime()
148 new->sz = sz; in expand_to_next_prime()
[all …]
/linux/drivers/hwtracing/stm/
A Dp_sys-t.c269 ssize_t sz; in sys_t_clock_sync() local
273 if (sz <= 0) in sys_t_clock_sync()
274 return sz; in sys_t_clock_sync()
279 if (sz <= 0) in sys_t_clock_sync()
280 return sz; in sys_t_clock_sync()
296 ssize_t sz; in sys_t_write() local
305 return sz; in sys_t_write()
323 return sz; in sys_t_write()
329 return sz; in sys_t_write()
352 if (sz > 0) in sys_t_write()
[all …]
/linux/tools/perf/util/
A Dmem-events.c248 sz -= 1; /* -1 for null termination */ in perf_mem__tlb_scnprintf()
270 l += scnprintf(out, sz - l, "N/A"); in perf_mem__tlb_scnprintf()
324 sz -= 1; /* -1 for null termination */ in perf_mem__lvl_scnprintf()
365 l += scnprintf(out + l, sz - l, "N/A"); in perf_mem__lvl_scnprintf()
387 sz -= 1; /* -1 for null termination */ in perf_mem__snp_scnprintf()
408 l += scnprintf(out + l, sz - l, "Fwd"); in perf_mem__snp_scnprintf()
412 l += scnprintf(out, sz - l, "N/A"); in perf_mem__snp_scnprintf()
426 l = scnprintf(out, sz, "N/A"); in perf_mem__lck_scnprintf()
428 l = scnprintf(out, sz, "Yes"); in perf_mem__lck_scnprintf()
430 l = scnprintf(out, sz, "No"); in perf_mem__lck_scnprintf()
[all …]
/linux/drivers/staging/r8188eu/include/
A Dosdep_service.h165 #define _RND(sz, r) ((((sz)+((r)-1))/(r))*(r)) argument
168 static inline u32 _RND4(u32 sz) in _RND4() argument
172 val = ((sz >> 2) + ((sz & 3) ? 1: 0)) << 2; in _RND4()
176 static inline u32 _RND8(u32 sz) in _RND8() argument
180 val = ((sz >> 3) + ((sz & 7) ? 1: 0)) << 3; in _RND8()
184 static inline u32 _RND128(u32 sz) in _RND128() argument
188 val = ((sz >> 7) + ((sz & 127) ? 1: 0)) << 7; in _RND128()
192 static inline u32 _RND256(u32 sz) in _RND256() argument
196 val = ((sz >> 8) + ((sz & 255) ? 1: 0)) << 8; in _RND256()
200 static inline u32 _RND512(u32 sz) in _RND512() argument
[all …]
/linux/net/netfilter/
A Dnf_conntrack_h323_asn1.c885 sz--; in DecodeQ931()
888 if (sz < 1) in DecodeQ931()
891 sz--; in DecodeQ931()
895 sz -= len; in DecodeQ931()
898 if (sz < 2) in DecodeQ931()
901 sz--; in DecodeQ931()
905 sz--; in DecodeQ931()
916 sz -= 3; in DecodeQ931()
925 sz--; in DecodeQ931()
929 sz--; in DecodeQ931()
[all …]
/linux/arch/arm/include/asm/
A Dbitops.h200 #define find_first_zero_bit(p,sz) _find_first_zero_bit_le(p,sz) argument
201 #define find_next_zero_bit(p,sz,off) _find_next_zero_bit_le(p,sz,off) argument
202 #define find_first_bit(p,sz) _find_first_bit_le(p,sz) argument
203 #define find_next_bit(p,sz,off) _find_next_bit_le(p,sz,off) argument
209 #define find_first_zero_bit(p,sz) _find_first_zero_bit_be(p,sz) argument
210 #define find_next_zero_bit(p,sz,off) _find_next_zero_bit_be(p,sz,off) argument
211 #define find_first_bit(p,sz) _find_first_bit_be(p,sz) argument
212 #define find_next_bit(p,sz,off) _find_next_bit_be(p,sz,off) argument
/linux/drivers/char/
A Dmem.c133 buf += sz; in read_mem()
134 p += sz; in read_mem()
136 read += sz; in read_mem()
181 buf += sz; in read_mem()
182 p += sz; in read_mem()
183 count -= sz; in read_mem()
184 read += sz; in read_mem()
219 buf += sz; in write_mem()
220 p += sz; in write_mem()
259 buf += sz; in write_mem()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dport.c262 in = kzalloc(sz, GFP_KERNEL); in mlx5e_port_query_pbmc()
267 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PBMC, 0, 0); in mlx5e_port_query_pbmc()
284 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PBMC, 0, 1); in mlx5e_port_set_pbmc()
308 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 0); in mlx5e_port_query_priority2buffer()
341 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 0); in mlx5e_port_set_priority2buffer()
345 memcpy(in, out, sz); in mlx5e_port_set_priority2buffer()
356 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 1); in mlx5e_port_set_priority2buffer()
482 err = mlx5_core_access_reg(dev, in, sz, out, sz, MLX5_REG_PPLM, 0, 0); in mlx5e_fec_in_caps()
516 err = mlx5_core_access_reg(dev, in, sz, out, sz, MLX5_REG_PPLM, 0, 0); in mlx5e_get_fec_mode()
561 err = mlx5_core_access_reg(dev, in, sz, out, sz, MLX5_REG_PPLM, 0, 0); in mlx5e_set_fec_mode()
[all …]
/linux/drivers/gpu/drm/i915/gt/
A Dselftest_migrate.c38 u32 sz, struct rnd_state *prng) in copy() argument
115 fn, sz, x * sizeof(u32)); in copy()
138 u32 sz, struct rnd_state *prng) in clear() argument
193 if (vaddr[x] != sz) { in clear()
195 fn, sz, x * sizeof(u32)); in clear()
489 size_t sz) in __perf_clear_blt() argument
519 ce->engine->name, sz >> 10, in __perf_clear_blt()
520 div64_u64(mul_u32_u32(4 * sz, in __perf_clear_blt()
567 size_t sz) in __perf_copy_blt() argument
601 ce->engine->name, sz >> 10, in __perf_copy_blt()
[all …]
/linux/fs/ksmbd/
A Dsmb2ops.c283 sz = clamp_val(sz, SMB3_MIN_IOSIZE, SMB3_MAX_IOSIZE); in init_smb2_max_read_size()
284 smb21_server_values.max_read_size = sz; in init_smb2_max_read_size()
285 smb30_server_values.max_read_size = sz; in init_smb2_max_read_size()
286 smb302_server_values.max_read_size = sz; in init_smb2_max_read_size()
287 smb311_server_values.max_read_size = sz; in init_smb2_max_read_size()
292 sz = clamp_val(sz, SMB3_MIN_IOSIZE, SMB3_MAX_IOSIZE); in init_smb2_max_write_size()
293 smb21_server_values.max_write_size = sz; in init_smb2_max_write_size()
294 smb30_server_values.max_write_size = sz; in init_smb2_max_write_size()
301 sz = clamp_val(sz, SMB3_MIN_IOSIZE, SMB3_MAX_IOSIZE); in init_smb2_max_trans_size()
302 smb21_server_values.max_trans_size = sz; in init_smb2_max_trans_size()
[all …]
/linux/drivers/mtd/parsers/
A Dafs.c83 size_t sz; in afs_is_v1() local
92 if (ret >= 0 && sz != 4) in afs_is_v1()
103 size_t sz; in afs_is_v2() local
112 if (ret >= 0 && sz != 8) in afs_is_v2()
132 size_t sz; in afs_parse_v1_partition() local
144 if (ret >= 0 && sz != sizeof(fs)) in afs_parse_v1_partition()
189 if (sz != sizeof(iis)) in afs_parse_v1_partition()
230 size_t sz; in afs_parse_v2_partition() local
328 u_int off, sz; in parse_afs_partitions() local
335 sz += sizeof(struct mtd_partition); in parse_afs_partitions()
[all …]
/linux/drivers/block/zram/
A Dzcomp.c86 ssize_t sz = 0; in zcomp_available_show() local
92 sz += scnprintf(buf + sz, PAGE_SIZE - sz - 2, in zcomp_available_show()
95 sz += scnprintf(buf + sz, PAGE_SIZE - sz - 2, in zcomp_available_show()
105 sz += scnprintf(buf + sz, PAGE_SIZE - sz - 2, in zcomp_available_show()
108 sz += scnprintf(buf + sz, PAGE_SIZE - sz, "\n"); in zcomp_available_show()
109 return sz; in zcomp_available_show()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dglobal_data_init.c12 size_t sz; in test_global_data_init() local
23 sz = bpf_map__def(map)->value_size; in test_global_data_init()
24 newval = malloc(sz); in test_global_data_init()
28 memset(newval, 0, sz); in test_global_data_init()
30 err = bpf_map__set_initial_value(map, newval, sz - 1); in test_global_data_init()
34 err = bpf_map__set_initial_value(map, newval, sz); in test_global_data_init()
46 buff = malloc(sz); in test_global_data_init()
49 if (CHECK(!buff || err || memcmp(buff, newval, sz), in test_global_data_init()
54 memset(newval, 1, sz); in test_global_data_init()
56 err = bpf_map__set_initial_value(map, newval, sz); in test_global_data_init()
/linux/net/xfrm/
A Dxfrm_hash.c16 struct hlist_head *xfrm_hash_alloc(unsigned int sz) in xfrm_hash_alloc() argument
20 if (sz <= PAGE_SIZE) in xfrm_hash_alloc()
21 n = kzalloc(sz, GFP_KERNEL); in xfrm_hash_alloc()
23 n = vzalloc(sz); in xfrm_hash_alloc()
27 get_order(sz)); in xfrm_hash_alloc()
32 void xfrm_hash_free(struct hlist_head *n, unsigned int sz) in xfrm_hash_free() argument
34 if (sz <= PAGE_SIZE) in xfrm_hash_free()
39 free_pages((unsigned long)n, get_order(sz)); in xfrm_hash_free()
/linux/drivers/mmc/core/
A Dmmc_test.c429 len = sz; in mmc_test_map_sg()
441 if (!sz) in mmc_test_map_sg()
446 if (sz) in mmc_test_map_sg()
1705 for (sz = 512; sz < t->max_tfr; sz <<= 1) { in mmc_test_profile_read_perf()
1729 for (sz = 512; sz < t->max_tfr; sz <<= 1) { in mmc_test_profile_write_perf()
1760 for (sz = 512; sz < t->max_sz; sz <<= 1) { in mmc_test_profile_trim_perf()
1809 for (sz = 512; sz < t->max_tfr; sz <<= 1) { in mmc_test_profile_seq_read_perf()
1851 for (sz = 512; sz < t->max_tfr; sz <<= 1) { in mmc_test_profile_seq_write_perf()
1877 for (sz = 512; sz <= t->max_sz; sz <<= 1) { in mmc_test_profile_seq_trim_perf()
1953 for (sz = 512; sz < t->max_tfr; sz <<= 1) { in mmc_test_random_perf()
[all …]
/linux/arch/xtensa/kernel/
A Djump_label.c29 size_t sz; member
33 static void local_patch_text(unsigned long addr, const void *data, size_t sz) in local_patch_text() argument
35 memcpy((void *)addr, data, sz); in local_patch_text()
36 local_flush_icache_range(addr, addr + sz); in local_patch_text()
44 local_patch_text(patch->addr, patch->data, patch->sz); in patch_text_stop_machine()
49 __invalidate_icache_range(patch->addr, patch->sz); in patch_text_stop_machine()
54 static void patch_text(unsigned long addr, const void *data, size_t sz) in patch_text() argument
60 .sz = sz, in patch_text()
69 local_patch_text(addr, data, sz); in patch_text()
/linux/arch/arm/crypto/
A Daes-cipher-core.S34 .macro __load, out, in, idx, sz, op
36 ldr\op \out, [ttab, \in, lsr #(8 * \idx) - \sz]
38 ldr\op \out, [ttab, \in, lsl #\sz]
45 __load \out0, \out0, 0, \sz, \op
46 __load t0, t0, 1, \sz, \op
55 __load \out1, \out1, 0, \sz, \op
57 __load t1, t1, 1, \sz, \op
58 __load t2, t2, 2, \sz, \op
70 __load \t3, \t3, 2, \sz, \op
71 __load t0, t0, 3, \sz, \op
[all …]
/linux/arch/arm/mach-orion5x/
A Dts78xx-setup.c160 int sz; in ts78xx_ts_nand_write_buf() local
165 buf += sz; in ts78xx_ts_nand_write_buf()
166 len -= sz; in ts78xx_ts_nand_write_buf()
169 sz = len >> 2; in ts78xx_ts_nand_write_buf()
170 if (sz) { in ts78xx_ts_nand_write_buf()
173 buf += sz << 2; in ts78xx_ts_nand_write_buf()
186 int sz; in ts78xx_ts_nand_read_buf() local
191 buf += sz; in ts78xx_ts_nand_read_buf()
192 len -= sz; in ts78xx_ts_nand_read_buf()
195 sz = len >> 2; in ts78xx_ts_nand_read_buf()
[all …]
/linux/arch/arm64/crypto/
A Daes-cipher-core.S20 .macro __pair1, sz, op, reg0, reg1, in0, in1e, in1d, shift
49 .macro __pair0, sz, op, reg0, reg1, in0, in1e, in1d, shift
52 ldr\op \reg0, [tt, \reg0, uxtw #\sz]
53 ldr\op \reg1, [tt, \reg1, uxtw #\sz]
56 .macro __hround, out0, out1, in0, in1, in2, in3, t0, t1, enc, sz, op
59 __pair\enc \sz, \op, w12, w13, \in0, \in1, \in3, 0
60 __pair\enc \sz, \op, w14, w15, \in1, \in2, \in0, 8
61 __pair\enc \sz, \op, w16, w17, \in2, \in3, \in1, 16
62 __pair\enc \sz, \op, \t0, \t1, \in3, \in0, \in2, 24
74 .macro fround, out0, out1, out2, out3, in0, in1, in2, in3, sz=2, op
[all …]

Completed in 52 milliseconds

12345678910>>...28