Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/lib/
Dtest_stackinit.c25 static size_t fill_size, target_size; variable
115 for (sum = 0, i = 0; i < target_size; i++) \
129 target_start, target_size)) { \
139 for (sum = 0, i = 0; i < target_size; i++) \
170 target_size = sizeof(var); \
189 memcpy(check_buf, target_start, target_size); \
286 target_size = sizeof(var); in __leaf_switch_none()
293 memcpy(check_buf, target_start, target_size); in __leaf_switch_none()
297 target_size = sizeof(var); in __leaf_switch_none()
304 memcpy(check_buf, target_start, target_size); in __leaf_switch_none()
/kernel/linux/linux-5.10/include/scsi/
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()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/
Dx_tables.h44 __u16 target_size; member
49 __u16 target_size; member
52 __u16 target_size; member
57 {.target.u.user = {.target_size = XT_ALIGN(__size),.name = __name, }, \
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/
Dx_tables.h37 __u16 target_size; member
44 __u16 target_size; member
51 __u16 target_size; member
60 .target_size = XT_ALIGN(__size), \
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/
Dx_tables.h34 __u16 target_size; member
40 __u16 target_size; member
45 __u16 target_size; member
52 .target_size = XT_ALIGN(__size), \
/kernel/linux/linux-5.10/drivers/md/
Ddm-clone-metadata.c50 __le64 target_size; member
120 sector_t target_size; member
320 sb->target_size = cpu_to_le64(cmd->target_size); in __prepare_superblock()
341 cmd->target_size != le64_to_cpu(sb->target_size)) { in __open_metadata()
564 sector_t target_size, in dm_clone_metadata_open() argument
577 cmd->target_size = target_size; in dm_clone_metadata_open()
579 cmd->nr_regions = dm_sector_div_up(cmd->target_size, cmd->region_size); in dm_clone_metadata_open()
Ddm-clone-metadata.h68 sector_t target_size,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/
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()
/kernel/linux/linux-5.10/net/sched/
Dact_ipt.c56 ret = xt_check_target(&par, t->u.target_size - sizeof(*t), 0, false); in ipt_init_target()
137 if (nla_len(tb[TCA_IPT_TARG]) != td->u.target_size) { in __tcf_ipt_init()
172 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()
/kernel/linux/linux-5.10/net/core/
Dfilter.c6285 struct bpf_prog *prog, u32 *target_size) in bpf_tcp_sock_convert_ctx_access() argument
6480 struct bpf_prog *prog, u32 *target_size) in bpf_xdp_sock_convert_ctx_access() argument
8286 u32 *target_size) in flow_dissector_convert_ctx_access() argument
8338 struct bpf_prog *prog, u32 *target_size) in bpf_convert_ctx_access() argument
8347 target_size)); in bpf_convert_ctx_access()
8353 target_size)); in bpf_convert_ctx_access()
8359 target_size)); in bpf_convert_ctx_access()
8366 target_size)); in bpf_convert_ctx_access()
8370 target_size)); in bpf_convert_ctx_access()
8376 target_size)); in bpf_convert_ctx_access()
[all …]
/kernel/linux/linux-5.10/include/linux/netfilter/
Dx_tables.h473 u_int16_t target_size; member
478 u_int16_t target_size; member
481 u_int16_t target_size; member
/kernel/linux/linux-5.10/net/netfilter/
Dx_tables.c815 if (t->u.target_size < sizeof(*t)) in xt_compat_check_entry_offsets()
818 if (target_offset + t->u.target_size > next_offset) in xt_compat_check_entry_offsets()
832 if (!error_tg_ok(t->u.target_size, sizeof(*et), in xt_compat_check_entry_offsets()
909 if (t->u.target_size < sizeof(*t)) in xt_check_entry_offsets()
912 if (target_offset + t->u.target_size > next_offset) in xt_check_entry_offsets()
926 if (!error_tg_ok(t->u.target_size, sizeof(*et), in xt_check_entry_offsets()
1117 u_int16_t tsize = ct->u.user.target_size; in xt_compat_target_from_user()
1128 t->u.user.target_size = tsize; in xt_compat_target_from_user()
1144 u_int16_t tsize = t->u.user.target_size - off; in xt_compat_target_to_user()
/kernel/linux/linux-5.10/include/linux/
Dbpf.h516 struct bpf_prog *prog, u32 *target_size);
1097 u32 *target_size);
1994 u32 *target_size);
2012 u32 *target_size) in bpf_sock_convert_ctx_access() argument
2035 u32 *target_size);
2044 u32 *target_size);
2057 u32 *target_size) in bpf_tcp_sock_convert_ctx_access() argument
2072 u32 *target_size) in bpf_xdp_sock_convert_ctx_access() argument
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter_bridge/
Debtables.h112 unsigned int target_size; member
/kernel/linux/linux-5.10/include/uapi/linux/netfilter_bridge/
Debtables.h157 unsigned int target_size; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter_bridge/
Debtables.h120 unsigned int target_size; member
/kernel/linux/linux-5.10/kernel/bpf/
Dcgroup.c1747 struct bpf_prog *prog, u32 *target_size) in sysctl_convert_ctx_access() argument
1759 target_size)); in sysctl_convert_ctx_access()
1799 *target_size = sizeof(u32); in sysctl_convert_ctx_access()
1905 u32 *target_size) in cg_sockopt_convert_ctx_access() argument
/kernel/linux/linux-5.10/net/bridge/netfilter/
Debtables.c734 } else if (t->target_size > gap - sizeof(struct ebt_entry_target)) { in ebt_check_entry()
742 ret = xt_check_target(&tgpar, t->target_size, in ebt_check_entry()
1388 t->u.target->usersize, t->target_size, in ebt_entry_to_user()
1560 compat_uint_t tsize = t->target_size - off; in compat_target_to_user()
1562 if (WARN_ON(off >= t->target_size)) in compat_target_to_user()
/kernel/linux/linux-5.10/net/tls/
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()
/kernel/linux/linux-5.10/kernel/trace/
Dbpf_trace.c1855 struct bpf_prog *prog, u32 *target_size) in pe_prog_convert_ctx_access() argument
1866 target_size)); in pe_prog_convert_ctx_access()
1874 target_size)); in pe_prog_convert_ctx_access()
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_scan.c416 + shost->transportt->target_size; in scsi_alloc_target()
Dscsi_transport_spi.c1581 i->t.target_size = sizeof(struct spi_transport_attrs); in spi_attach_transport()
/kernel/linux/linux-5.10/fs/f2fs/
Dfile.c4120 size_t target_size = 0; in f2fs_file_write_iter() local
4160 target_size = iocb->ki_pos + iov_iter_count(from); in f2fs_file_write_iter()
4175 if (preallocated && i_size_read(inode) < target_size) in f2fs_file_write_iter()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Darp_tables.c400 return xt_check_target(&par, t->u.target_size - sizeof(*t), 0, false); in check_target()
Dip_tables.c511 return xt_check_target(&par, t->u.target_size - sizeof(*t), in check_target()

12