/linux/lib/ |
A D | test_stackinit.c | 87 static size_t fill_size, target_size; variable 221 for (sum = 0, i = 0; i < target_size; i++) \ 235 target_start, target_size)) { \ 245 for (sum = 0, i = 0; i < target_size; i++) \ 277 target_size = sizeof(var); \ 296 memcpy(check_buf, target_start, target_size); \ 405 target_size = sizeof(var); in __leaf_switch_none() 412 memcpy(check_buf, target_start, target_size); in __leaf_switch_none() 416 target_size = sizeof(var); in __leaf_switch_none() 423 memcpy(check_buf, target_start, target_size); in __leaf_switch_none()
|
/linux/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/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/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/net/sched/ |
A D | act_ipt.c | 56 ret = xt_check_target(&par, t->u.target_size - sizeof(*t), 0, false); in ipt_init_target() 138 if (nla_len(tb[TCA_IPT_TARG]) != td->u.target_size) { in __tcf_ipt_init() 173 t = kmemdup(td, td->u.target_size, GFP_KERNEL); in __tcf_ipt_init() 289 t = kmemdup(ipt->tcfi_t, ipt->tcfi_t->u.user.target_size, GFP_ATOMIC); in tcf_ipt_dump() 297 if (nla_put(skb, TCA_IPT_TARG, ipt->tcfi_t->u.user.target_size, t) || in tcf_ipt_dump()
|
/linux/net/core/ |
A D | filter.c | 8618 *target_size = 1; in bpf_convert_ctx_access() 8643 *target_size = 1; in bpf_convert_ctx_access() 8685 *target_size = 2; in bpf_convert_ctx_access() 8729 *target_size = 2; in bpf_convert_ctx_access() 8745 *target_size = 4; in bpf_convert_ctx_access() 8890 *target_size = 4; in bpf_convert_ctx_access() 9015 target_size) + off); in bpf_sock_convert_ctx_access() 9035 *target_size = 4; in bpf_sock_convert_ctx_access() 9082 *target_size = 2; in bpf_sock_convert_ctx_access() 9108 target_size); in tc_cls_act_convert_ctx_access() [all …]
|
/linux/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/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/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/include/linux/ |
A D | bpf.h | 517 struct bpf_prog *prog, u32 *target_size); 1135 u32 *target_size); 2175 u32 *target_size); 2193 u32 *target_size) in bpf_sock_convert_ctx_access() argument 2217 u32 *target_size); 2226 u32 *target_size); 2239 u32 *target_size) in bpf_tcp_sock_convert_ctx_access() argument 2254 u32 *target_size) in bpf_xdp_sock_convert_ctx_access() argument
|
/linux/include/uapi/linux/netfilter_bridge/ |
A D | ebtables.h | 157 unsigned int target_size; member
|
/linux/kernel/bpf/ |
A D | cgroup.c | 1849 struct bpf_prog *prog, u32 *target_size) in sysctl_convert_ctx_access() argument 1861 target_size)); in sysctl_convert_ctx_access() 1901 *target_size = sizeof(u32); in sysctl_convert_ctx_access() 2033 u32 *target_size) in cg_sockopt_convert_ctx_access() argument
|
A D | verifier.c | 12397 u32 target_size, size_default, off; in convert_ctx_accesses() local 12531 target_size = 0; in convert_ctx_accesses() 12533 &target_size); in convert_ctx_accesses() 12535 (ctx_field_size && !target_size)) { in convert_ctx_accesses() 12540 if (is_narrower_load && size < target_size) { in convert_ctx_accesses()
|
/linux/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() 1506 t->u.target->usersize, t->target_size, in ebt_entry_to_user() 1678 compat_uint_t tsize = t->target_size - off; in compat_target_to_user() 1680 if (WARN_ON(off >= t->target_size)) in compat_target_to_user()
|
/linux/net/tls/ |
A D | tls_sw.c | 279 static void tls_trim_both_msgs(struct sock *sk, int target_size) in tls_trim_both_msgs() argument 286 sk_msg_trim(sk, &rec->msg_plaintext, target_size); in tls_trim_both_msgs() 287 if (target_size > 0) in tls_trim_both_msgs() 288 target_size += prot->overhead_size; in tls_trim_both_msgs() 289 sk_msg_trim(sk, &rec->msg_encrypted, target_size); in tls_trim_both_msgs()
|
/linux/kernel/trace/ |
A D | bpf_trace.c | 1747 struct bpf_prog *prog, u32 *target_size) in pe_prog_convert_ctx_access() argument 1758 target_size)); in pe_prog_convert_ctx_access() 1766 target_size)); in pe_prog_convert_ctx_access()
|
/linux/drivers/scsi/ |
A D | scsi_scan.c | 455 + 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 | 2636 i->t.target_size = sizeof(struct fc_starget_attrs); in fc_attach_transport()
|
/linux/fs/f2fs/ |
A D | file.c | 4276 size_t target_size = 0; in f2fs_file_write_iter() local 4316 target_size = iocb->ki_pos + iov_iter_count(from); in f2fs_file_write_iter() 4331 if (preallocated && i_size_read(inode) < target_size) { in f2fs_file_write_iter()
|
/linux/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/net/ipv6/netfilter/ |
A D | ip6_tables.c | 530 return xt_check_target(&par, t->u.target_size - sizeof(*t), in check_target()
|