/linux-6.3-rc2/lib/ |
A D | stackinit_kunit.c | 32 static size_t fill_size, target_size; variable 166 for (sum = 0, i = 0; i < target_size; i++) \ 179 target_start, target_size), \ 187 for (sum = 0, i = 0; i < target_size; i++) \ 216 target_size = sizeof(var); \ 235 memcpy(check_buf, target_start, target_size); \ 364 target_size = sizeof(var); in __leaf_switch_none() 371 memcpy(check_buf, target_start, target_size); in __leaf_switch_none() 375 target_size = sizeof(var); in __leaf_switch_none() 382 memcpy(check_buf, target_start, target_size); in __leaf_switch_none()
|
/linux-6.3-rc2/include/scsi/ |
A D | scsi_transport.h | 32 int target_size; member 60 t->target_private_offset = ALIGN(t->target_size, sizeof(void *)); in scsi_transport_reserve_target() 61 t->target_size = t->target_private_offset + space; in scsi_transport_reserve_target()
|
/linux-6.3-rc2/include/uapi/linux/netfilter/ |
A D | x_tables.h | 37 __u16 target_size; member 44 __u16 target_size; member 51 __u16 target_size; member 60 .target_size = XT_ALIGN(__size), \
|
/linux-6.3-rc2/drivers/md/ |
A D | dm-clone-metadata.c | 50 __le64 target_size; member 120 sector_t target_size; member 314 sb->target_size = cpu_to_le64(cmd->target_size); in __prepare_superblock() 335 cmd->target_size != le64_to_cpu(sb->target_size)) { in __open_metadata() 558 sector_t target_size, in dm_clone_metadata_open() argument 571 cmd->target_size = target_size; in dm_clone_metadata_open() 573 cmd->nr_regions = dm_sector_div_up(cmd->target_size, cmd->region_size); in dm_clone_metadata_open()
|
A D | dm-clone-metadata.h | 68 sector_t target_size,
|
/linux-6.3-rc2/net/sched/ |
A D | act_ipt.c | 54 ret = xt_check_target(&par, t->u.target_size - sizeof(*t), 0, false); in ipt_init_target() 136 if (nla_len(tb[TCA_IPT_TARG]) != td->u.target_size) { in __tcf_ipt_init() 171 t = kmemdup(td, td->u.target_size, GFP_KERNEL); in __tcf_ipt_init() 288 t = kmemdup(ipt->tcfi_t, ipt->tcfi_t->u.user.target_size, GFP_ATOMIC); in tcf_ipt_dump() 296 if (nla_put(skb, TCA_IPT_TARG, ipt->tcfi_t->u.user.target_size, t) || in tcf_ipt_dump()
|
/linux-6.3-rc2/net/core/ |
A D | filter.c | 9344 *target_size = 1; in bpf_convert_ctx_access() 9409 *target_size = 2; in bpf_convert_ctx_access() 9453 *target_size = 2; in bpf_convert_ctx_access() 9469 *target_size = 4; in bpf_convert_ctx_access() 9610 *target_size = 4; in bpf_convert_ctx_access() 9735 target_size) + off); in bpf_sock_convert_ctx_access() 9755 *target_size = 4; in bpf_sock_convert_ctx_access() 9802 *target_size = 2; in bpf_sock_convert_ctx_access() 9828 target_size); in tc_cls_act_convert_ctx_access() 11307 u32 *target_size) in sk_lookup_convert_ctx_access() argument [all …]
|
/linux-6.3-rc2/include/linux/netfilter/ |
A D | x_tables.h | 477 u_int16_t target_size; member 482 u_int16_t target_size; member 485 u_int16_t target_size; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/modules/hdcp/ |
A D | hdcp_log.c | 38 uint32_t target_size = (byte_size * bytes_per_line + newline_size) * line_count + in mod_hdcp_dump_binary_message() local 43 if (buf_size >= target_size) { in mod_hdcp_dump_binary_message()
|
/linux-6.3-rc2/net/netfilter/ |
A D | x_tables.c | 835 if (t->u.target_size < sizeof(*t)) in xt_compat_check_entry_offsets() 838 if (target_offset + t->u.target_size > next_offset) in xt_compat_check_entry_offsets() 852 if (!error_tg_ok(t->u.target_size, sizeof(*et), in xt_compat_check_entry_offsets() 929 if (t->u.target_size < sizeof(*t)) in xt_check_entry_offsets() 932 if (target_offset + t->u.target_size > next_offset) in xt_check_entry_offsets() 946 if (!error_tg_ok(t->u.target_size, sizeof(*et), in xt_check_entry_offsets() 1137 u_int16_t tsize = ct->u.user.target_size; in xt_compat_target_from_user() 1148 t->u.user.target_size = tsize; in xt_compat_target_from_user() 1164 u_int16_t tsize = t->u.user.target_size - off; in xt_compat_target_to_user()
|
/linux-6.3-rc2/include/uapi/linux/netfilter_bridge/ |
A D | ebtables.h | 157 unsigned int target_size; member
|
/linux-6.3-rc2/include/linux/ |
A D | bpf.h | 879 struct bpf_prog *prog, u32 *target_size); 1643 u32 *target_size); 2803 u32 *target_size); 2821 u32 *target_size) in bpf_sock_convert_ctx_access() argument 2845 u32 *target_size); 2854 u32 *target_size); 2867 u32 *target_size) in bpf_tcp_sock_convert_ctx_access() argument 2882 u32 *target_size) in bpf_xdp_sock_convert_ctx_access() argument
|
/linux-6.3-rc2/net/bridge/netfilter/ |
A D | ebtables.c | 773 } else if (t->target_size > gap - sizeof(struct ebt_entry_target)) { in ebt_check_entry() 781 ret = xt_check_target(&tgpar, t->target_size, in ebt_check_entry() 1502 t->u.target->usersize, t->target_size, in ebt_entry_to_user() 1674 compat_uint_t tsize = t->target_size - off; in compat_target_to_user() 1676 if (WARN_ON(off >= t->target_size)) in compat_target_to_user()
|
/linux-6.3-rc2/kernel/bpf/ |
A D | cgroup.c | 2192 struct bpf_prog *prog, u32 *target_size) in sysctl_convert_ctx_access() argument 2204 target_size)); in sysctl_convert_ctx_access() 2244 *target_size = sizeof(u32); in sysctl_convert_ctx_access() 2388 u32 *target_size) in cg_sockopt_convert_ctx_access() argument
|
A D | verifier.c | 15801 u32 target_size, size_default, off; in convert_ctx_accesses() local 15940 target_size = 0; in convert_ctx_accesses() 15942 &target_size); in convert_ctx_accesses() 15944 (ctx_field_size && !target_size)) { in convert_ctx_accesses() 15949 if (is_narrower_load && size < target_size) { in convert_ctx_accesses()
|
/linux-6.3-rc2/net/tls/ |
A D | tls_sw.c | 273 static void tls_trim_both_msgs(struct sock *sk, int target_size) in tls_trim_both_msgs() argument 280 sk_msg_trim(sk, &rec->msg_plaintext, target_size); in tls_trim_both_msgs() 281 if (target_size > 0) in tls_trim_both_msgs() 282 target_size += prot->overhead_size; in tls_trim_both_msgs() 283 sk_msg_trim(sk, &rec->msg_encrypted, target_size); in tls_trim_both_msgs()
|
/linux-6.3-rc2/kernel/trace/ |
A D | bpf_trace.c | 2069 struct bpf_prog *prog, u32 *target_size) in pe_prog_convert_ctx_access() argument 2080 target_size)); in pe_prog_convert_ctx_access() 2088 target_size)); in pe_prog_convert_ctx_access()
|
/linux-6.3-rc2/drivers/scsi/ |
A D | scsi_scan.c | 498 + shost->transportt->target_size; in scsi_alloc_target()
|
A D | scsi_transport_spi.c | 1581 i->t.target_size = sizeof(struct spi_transport_attrs); in spi_attach_transport()
|
A D | scsi_transport_fc.c | 2634 i->t.target_size = sizeof(struct fc_starget_attrs); in fc_attach_transport()
|
/linux-6.3-rc2/net/ipv4/netfilter/ |
A D | arp_tables.c | 401 return xt_check_target(&par, t->u.target_size - sizeof(*t), 0, false); in check_target()
|
A D | ip_tables.c | 512 return xt_check_target(&par, t->u.target_size - sizeof(*t), in check_target()
|
/linux-6.3-rc2/fs/f2fs/ |
A D | file.c | 4659 loff_t target_size; in f2fs_file_write_iter() local 4692 target_size = iocb->ki_pos + iov_iter_count(from); in f2fs_file_write_iter() 4710 if (preallocated && i_size_read(inode) < target_size) { in f2fs_file_write_iter()
|
/linux-6.3-rc2/net/ipv6/netfilter/ |
A D | ip6_tables.c | 530 return xt_check_target(&par, t->u.target_size - sizeof(*t), in check_target()
|