Home
last modified time | relevance | path

Searched refs:target_size (Results 1 – 24 of 24) sorted by relevance

/linux/lib/
A Dtest_stackinit.c87 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 Dscsi_transport.h32 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 Dx_tables.h37 __u16 target_size; member
44 __u16 target_size; member
51 __u16 target_size; member
60 .target_size = XT_ALIGN(__size), \
/linux/drivers/md/
A Ddm-clone-metadata.c50 __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 Ddm-clone-metadata.h68 sector_t target_size,
/linux/net/sched/
A Dact_ipt.c56 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 Dfilter.c8618 *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 Dx_tables.h477 u_int16_t target_size; member
482 u_int16_t target_size; member
485 u_int16_t target_size; member
/linux/net/netfilter/
A Dx_tables.c835 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 Dhdcp_log.c38 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 Dbpf.h517 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 Debtables.h157 unsigned int target_size; member
/linux/kernel/bpf/
A Dcgroup.c1849 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 Dverifier.c12397 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 Debtables.c773 } 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 Dtls_sw.c279 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 Dbpf_trace.c1747 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 Dscsi_scan.c455 + shost->transportt->target_size; in scsi_alloc_target()
A Dscsi_transport_spi.c1581 i->t.target_size = sizeof(struct spi_transport_attrs); in spi_attach_transport()
A Dscsi_transport_fc.c2636 i->t.target_size = sizeof(struct fc_starget_attrs); in fc_attach_transport()
/linux/fs/f2fs/
A Dfile.c4276 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 Darp_tables.c401 return xt_check_target(&par, t->u.target_size - sizeof(*t), 0, false); in check_target()
A Dip_tables.c512 return xt_check_target(&par, t->u.target_size - sizeof(*t), in check_target()
/linux/net/ipv6/netfilter/
A Dip6_tables.c530 return xt_check_target(&par, t->u.target_size - sizeof(*t), in check_target()

Completed in 111 milliseconds