/linux-6.1.9/drivers/media/rc/ |
D | streamzap.c | 100 static void sz_push(struct streamzap_ir *sz, struct ir_raw_event rawir) in sz_push() argument 102 dev_dbg(sz->dev, "Storing %s with duration %u us\n", in sz_push() 104 ir_raw_event_store_with_filter(sz->rdev, &rawir); in sz_push() 107 static void sz_push_full_pulse(struct streamzap_ir *sz, in sz_push_full_pulse() argument 115 sz_push(sz, rawir); in sz_push_full_pulse() 118 static void sz_push_half_pulse(struct streamzap_ir *sz, in sz_push_half_pulse() argument 121 sz_push_full_pulse(sz, (value & SZ_PULSE_MASK) >> 4); in sz_push_half_pulse() 124 static void sz_push_full_space(struct streamzap_ir *sz, in sz_push_full_space() argument 132 sz_push(sz, rawir); in sz_push_full_space() 135 static void sz_push_half_space(struct streamzap_ir *sz, in sz_push_half_space() argument [all …]
|
/linux-6.1.9/net/tipc/ |
D | trace.c | 56 size_t sz = (more) ? SKB_LMAX : SKB_LMIN; in tipc_skb_dump() local 61 i += scnprintf(buf, sz, "msg: (null)\n"); in tipc_skb_dump() 69 i += scnprintf(buf, sz, "msg: %u", msg_user(hdr)); in tipc_skb_dump() 70 i += scnprintf(buf + i, sz - i, " %u", msg_type(hdr)); in tipc_skb_dump() 71 i += scnprintf(buf + i, sz - i, " %u", msg_hdr_sz(hdr)); in tipc_skb_dump() 72 i += scnprintf(buf + i, sz - i, " %u", msg_data_sz(hdr)); in tipc_skb_dump() 73 i += scnprintf(buf + i, sz - i, " %x", msg_orignode(hdr)); in tipc_skb_dump() 74 i += scnprintf(buf + i, sz - i, " %x", msg_destnode(hdr)); in tipc_skb_dump() 75 i += scnprintf(buf + i, sz - i, " %u", msg_seqno(hdr)); in tipc_skb_dump() 76 i += scnprintf(buf + i, sz - i, " %u", msg_ack(hdr)); in tipc_skb_dump() [all …]
|
/linux-6.1.9/arch/arc/mm/ |
D | cache.c | 32 unsigned long sz, const int op, const int full_page); 34 void (*__dma_cache_wback_inv)(phys_addr_t start, unsigned long sz); 35 void (*__dma_cache_inv)(phys_addr_t start, unsigned long sz); 36 void (*__dma_cache_wback)(phys_addr_t start, unsigned long sz); 82 unsigned int pad:24, way:2, lsz:2, sz:4; in read_decode_cache_bcr_arcv2() member 84 unsigned int sz:4, lsz:2, way:2, pad:24; in read_decode_cache_bcr_arcv2() 108 p_slc->sz_k = 128 << slc_cfg.sz; in read_decode_cache_bcr_arcv2() 148 unsigned int pad:12, line_len:4, sz:4, config:4, ver:8; in read_decode_cache_bcr() member 150 unsigned int ver:8, config:4, sz:4, line_len:4, pad:12; in read_decode_cache_bcr() 168 p_ic->sz_k = 1 << (ibcr.sz - 1); in read_decode_cache_bcr() [all …]
|
/linux-6.1.9/arch/mips/include/asm/ |
D | mips-gic.h | 30 #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 39 CPS_ACCESSOR_RO(gic, sz, MIPS_GIC_LOCAL_OFS + off, vl_##name) \ 40 CPS_ACCESSOR_RO(gic, sz, MIPS_GIC_REDIR_OFS + off, vo_##name) 43 #define GIC_VX_ACCESSOR_RW(sz, off, name) \ argument 44 CPS_ACCESSOR_RW(gic, sz, MIPS_GIC_LOCAL_OFS + off, vl_##name) \ 45 CPS_ACCESSOR_RW(gic, sz, MIPS_GIC_REDIR_OFS + off, vo_##name) [all …]
|
D | mips-cps.h | 23 #define CPS_ACCESSOR_R(unit, sz, name) \ argument 24 static inline uint##sz##_t read_##unit##_##name(void) \ 28 switch (sz) { \ 46 #define CPS_ACCESSOR_W(unit, sz, name) \ argument 47 static inline void write_##unit##_##name(uint##sz##_t val) \ 49 switch (sz) { \ 71 #define CPS_ACCESSOR_M(unit, sz, name) \ argument 72 static inline void change_##unit##_##name(uint##sz##_t mask, \ 73 uint##sz##_t val) \ 75 uint##sz##_t reg_val = read_##unit##_##name(); \ [all …]
|
D | mips-cpc.h | 64 #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) \ 70 CPS_ACCESSOR_RW(cpc, sz, MIPS_CPC_COCB_OFS + off, redir_##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 [all …]
|
/linux-6.1.9/lib/math/ |
D | prime_numbers.c | 13 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() 128 new = kmalloc(sizeof(*new) + bitmap_size(sz), in expand_to_next_prime() 144 bitmap_fill(new->primes, sz); in expand_to_next_prime() 145 bitmap_copy(new->primes, p->primes, p->sz); in expand_to_next_prime() [all …]
|
/linux-6.1.9/lib/ |
D | find_bit.c | 30 unsigned long idx, val, sz = (size); \ 32 for (idx = 0; idx * BITS_PER_LONG < sz; idx++) { \ 35 sz = min(idx * BITS_PER_LONG + __ffs(MUNGE(val)), sz); \ 40 sz; \ 52 unsigned long mask, idx, tmp, sz = (size), __start = (start); \ 54 if (unlikely(__start >= sz)) \ 61 if ((idx + 1) * BITS_PER_LONG >= sz) \ 66 sz = min(idx * BITS_PER_LONG + __ffs(MUNGE(tmp)), sz); \ 68 sz; \ 73 unsigned long sz = (size), nr = (num), idx, w, tmp; \ [all …]
|
/linux-6.1.9/tools/perf/util/ |
D | mem-events.c | 243 int perf_mem__tlb_scnprintf(char *out, size_t sz, struct mem_info *mem_info) in perf_mem__tlb_scnprintf() argument 249 sz -= 1; /* -1 for null termination */ in perf_mem__tlb_scnprintf() 268 l += scnprintf(out + l, sz - l, tlb_access[i]); in perf_mem__tlb_scnprintf() 271 l += scnprintf(out, sz - l, "N/A"); in perf_mem__tlb_scnprintf() 273 l += scnprintf(out + l, sz - l, " hit"); in perf_mem__tlb_scnprintf() 275 l += scnprintf(out + l, sz - l, " miss"); in perf_mem__tlb_scnprintf() 320 static int perf_mem__op_scnprintf(char *out, size_t sz, struct mem_info *mem_info) in perf_mem__op_scnprintf() argument 329 l = scnprintf(out, sz, "N/A"); in perf_mem__op_scnprintf() 331 l = scnprintf(out, sz, "LOAD"); in perf_mem__op_scnprintf() 333 l = scnprintf(out, sz, "STORE"); in perf_mem__op_scnprintf() [all …]
|
/linux-6.1.9/fs/ksmbd/ |
D | smb2ops.c | 281 void init_smb2_max_read_size(unsigned int sz) in init_smb2_max_read_size() argument 283 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() 290 void init_smb2_max_write_size(unsigned int sz) in init_smb2_max_write_size() argument 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() [all …]
|
/linux-6.1.9/drivers/hwtracing/stm/ |
D | p_sys-t.c | 269 ssize_t sz; in sys_t_clock_sync() local 271 sz = data->packet(data, m, c, STP_PACKET_DATA, STP_PACKET_TIMESTAMPED, in sys_t_clock_sync() 273 if (sz <= 0) in sys_t_clock_sync() 274 return sz; in sys_t_clock_sync() 278 sz = stm_data_write(data, m, c, false, &payload, sizeof(payload)); 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 303 sz = sys_t_clock_sync(data, m, c); in sys_t_write() 304 if (sz <= 0) in sys_t_write() [all …]
|
/linux-6.1.9/tools/lib/ |
D | find_bit.c | 29 unsigned long idx, val, sz = (size); \ 31 for (idx = 0; idx * BITS_PER_LONG < sz; idx++) { \ 34 sz = min(idx * BITS_PER_LONG + __ffs(MUNGE(val)), sz); \ 39 sz; \ 51 unsigned long mask, idx, tmp, sz = (size), __start = (start); \ 53 if (unlikely(__start >= sz)) \ 60 if ((idx + 1) * BITS_PER_LONG >= sz) \ 65 sz = min(idx * BITS_PER_LONG + __ffs(MUNGE(tmp)), sz); \ 67 sz; \
|
/linux-6.1.9/net/xfrm/ |
D | xfrm_hash.c | 16 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-6.1.9/arch/arm/include/asm/ |
D | bitops.h | 202 #define find_first_zero_bit(p,sz) _find_first_zero_bit_le(p,sz) argument 203 #define find_next_zero_bit(p,sz,off) _find_next_zero_bit_le(p,sz,off) argument 204 #define find_first_bit(p,sz) _find_first_bit_le(p,sz) argument 205 #define find_next_bit(p,sz,off) _find_next_bit_le(p,sz,off) argument 211 #define find_first_zero_bit(p,sz) _find_first_zero_bit_be(p,sz) argument 212 #define find_next_zero_bit(p,sz,off) _find_next_zero_bit_be(p,sz,off) argument 213 #define find_first_bit(p,sz) _find_first_bit_be(p,sz) argument 214 #define find_next_bit(p,sz,off) _find_next_bit_be(p,sz,off) argument
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | global_data_init.c | 12 size_t sz; in test_global_data_init() local 23 sz = bpf_map__value_size(map); 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-6.1.9/drivers/block/zram/ |
D | zcomp.c | 80 ssize_t sz = 0; in zcomp_available_show() local 86 sz += scnprintf(buf + sz, PAGE_SIZE - sz - 2, in zcomp_available_show() 89 sz += scnprintf(buf + sz, PAGE_SIZE - sz - 2, in zcomp_available_show() 99 sz += scnprintf(buf + sz, PAGE_SIZE - sz - 2, in zcomp_available_show() 102 sz += scnprintf(buf + sz, PAGE_SIZE - sz, "\n"); in zcomp_available_show() 103 return sz; in zcomp_available_show()
|
/linux-6.1.9/arch/xtensa/kernel/ |
D | jump_label.c | 29 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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | port.c | 258 int sz = MLX5_ST_SZ_BYTES(pbmc_reg); in mlx5e_port_query_pbmc() local 262 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() 275 int sz = MLX5_ST_SZ_BYTES(pbmc_reg); in mlx5e_port_set_pbmc() local 279 out = kzalloc(sz, GFP_KERNEL); in mlx5e_port_set_pbmc() 284 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PBMC, 0, 1); in mlx5e_port_set_pbmc() 293 int sz = MLX5_ST_SZ_BYTES(pptb_reg); in mlx5e_port_query_priority2buffer() local 300 in = kzalloc(sz, GFP_KERNEL); in mlx5e_port_query_priority2buffer() 301 out = kzalloc(sz, GFP_KERNEL); in mlx5e_port_query_priority2buffer() 308 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 0); in mlx5e_port_query_priority2buffer() [all …]
|
/linux-6.1.9/drivers/char/ |
D | mem.c | 44 unsigned long sz; in size_inside_page() local 46 sz = PAGE_SIZE - (start & (PAGE_SIZE - 1)); in size_inside_page() 48 return min(sz, size); in size_inside_page() 115 ssize_t read, sz; in read_mem() local 129 sz = size_inside_page(p, count); in read_mem() 130 if (sz > 0) { in read_mem() 131 if (clear_user(buf, sz)) in read_mem() 133 buf += sz; in read_mem() 134 p += sz; in read_mem() 135 count -= sz; in read_mem() [all …]
|
/linux-6.1.9/net/netfilter/ |
D | nf_conntrack_h323_asn1.c | 82 unsigned char sz; member 321 switch (f->sz) { in decode_int() 350 INC_BITS(bs, f->sz); in decode_int() 369 INC_BITS(bs, f->sz); in decode_enum() 385 switch (f->sz) { in decode_bitstr() 421 if (nf_h323_error_boundary(bs, 0, f->sz)) in decode_numstr() 423 len = get_bits(bs, f->sz) + f->lb; in decode_numstr() 440 switch (f->sz) { in decode_octstr() 470 if (nf_h323_error_boundary(bs, 0, f->sz)) in decode_octstr() 472 len = get_bits(bs, f->sz) + f->lb; in decode_octstr() [all …]
|
/linux-6.1.9/drivers/mtd/parsers/ |
D | afs.c | 83 size_t sz; in afs_is_v1() local 86 ret = mtd_read(mtd, ptr, 4, &sz, (u_char *)&magic); in afs_is_v1() 92 if (ret >= 0 && sz != 4) in afs_is_v1() 103 size_t sz; in afs_is_v2() local 106 ret = mtd_read(mtd, ptr, 8, &sz, (u_char *)foot); in afs_is_v2() 112 if (ret >= 0 && sz != 8) in afs_is_v2() 132 size_t sz; in afs_parse_v1_partition() local 143 ret = mtd_read(mtd, ptr, sizeof(fs), &sz, (u_char *)&fs); in afs_parse_v1_partition() 144 if (ret >= 0 && sz != sizeof(fs)) in afs_parse_v1_partition() 182 ret = mtd_read(mtd, iis_ptr, sizeof(iis), &sz, (u_char *)&iis); in afs_parse_v1_partition() [all …]
|
/linux-6.1.9/arch/arm/crypto/ |
D | aes-cipher-core.S | 34 .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] 42 .macro __hround, out0, out1, in0, in1, in2, in3, t3, t4, enc, sz, op, oldcpsr 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 [all …]
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | selftest_migrate.c | 40 u32 sz, struct rnd_state *prng) in copy() argument 50 src = create_lmem_or_internal(i915, sz); in copy() 54 sz = src->base.size; in copy() 55 dst = i915_gem_object_create_internal(i915, sz); in copy() 74 for (i = 0; i < sz / sizeof(u32); i++) in copy() 84 for (i = 0; i < sz / sizeof(u32); i++) in copy() 93 pr_err("%ps failed, size: %u\n", fn, sz); in copy() 107 pr_err("%ps timed out, size: %u\n", fn, sz); in copy() 113 for (i = 0; !err && i < sz / PAGE_SIZE; i++) { in copy() 118 fn, sz, x * sizeof(u32)); in copy() [all …]
|
/linux-6.1.9/drivers/staging/rtl8723bs/include/ |
D | osdep_service.h | 57 void *_rtw_zmalloc(u32 sz); 58 void *_rtw_malloc(u32 sz); 59 void _kfree(u8 *pbuf, u32 sz); 61 struct sk_buff *_rtw_skb_alloc(u32 sz); 65 #define rtw_malloc(sz) _rtw_malloc((sz)) argument 66 #define rtw_zmalloc(sz) _rtw_zmalloc((sz)) argument 99 #define _RND(sz, r) ((((sz)+((r)-1))/(r))*(r)) argument
|
/linux-6.1.9/drivers/mmc/core/ |
D | mmc_test.c | 415 unsigned long sz = size; in mmc_test_map_sg() local 428 if (len > sz) in mmc_test_map_sg() 429 len = sz; in mmc_test_map_sg() 439 sz -= len; in mmc_test_map_sg() 441 if (!sz) in mmc_test_map_sg() 444 } while (sz && repeat); in mmc_test_map_sg() 446 if (sz) in mmc_test_map_sg() 460 unsigned long sz, in mmc_test_map_sg_max_scatter() argument 474 while (sz) { in mmc_test_map_sg_max_scatter() 477 while (sz && cnt) { in mmc_test_map_sg_max_scatter() [all …]
|