Home
last modified time | relevance | path

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

/linux-6.6.21/lib/
Dstackinit_kunit.c32 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.6.21/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()
/linux-6.6.21/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), \
/linux-6.6.21/drivers/md/
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()
Ddm-clone-metadata.h68 sector_t target_size,
/linux-6.6.21/net/sched/
Dact_ipt.c55 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()
185 t = kmemdup(td, td->u.target_size, GFP_KERNEL); in __tcf_ipt_init()
344 t = kmemdup(ipt->tcfi_t, ipt->tcfi_t->u.user.target_size, GFP_ATOMIC); in tcf_ipt_dump()
352 if (nla_put(skb, TCA_IPT_TARG, ipt->tcfi_t->u.user.target_size, t) || in tcf_ipt_dump()
/linux-6.6.21/net/core/
Dfilter.c7041 struct bpf_prog *prog, u32 *target_size) in bpf_tcp_sock_convert_ctx_access() argument
7235 struct bpf_prog *prog, u32 *target_size) in bpf_xdp_sock_convert_ctx_access() argument
9298 u32 *target_size) in flow_dissector_convert_ctx_access() argument
9441 struct bpf_prog *prog, u32 *target_size) in bpf_convert_ctx_access() argument
9450 target_size)); in bpf_convert_ctx_access()
9456 target_size)); in bpf_convert_ctx_access()
9462 target_size)); in bpf_convert_ctx_access()
9469 target_size)); in bpf_convert_ctx_access()
9473 target_size)); in bpf_convert_ctx_access()
9479 target_size)); in bpf_convert_ctx_access()
[all …]
/linux-6.6.21/include/linux/netfilter/
Dx_tables.h477 u_int16_t target_size; member
482 u_int16_t target_size; member
485 u_int16_t target_size; member
/linux-6.6.21/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()
/linux-6.6.21/net/netfilter/
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-6.6.21/include/uapi/linux/netfilter_bridge/
Debtables.h157 unsigned int target_size; member
/linux-6.6.21/include/linux/
Dbpf.h950 struct bpf_prog *prog, u32 *target_size);
1811 u32 *target_size);
3055 u32 *target_size);
3075 u32 *target_size) in bpf_sock_convert_ctx_access() argument
3104 u32 *target_size);
3113 u32 *target_size);
3126 u32 *target_size) in bpf_tcp_sock_convert_ctx_access() argument
3141 u32 *target_size) in bpf_xdp_sock_convert_ctx_access() argument
/linux-6.6.21/net/bridge/netfilter/
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()
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.6.21/net/tls/
Dtls_sw.c307 static void tls_trim_both_msgs(struct sock *sk, int target_size) in tls_trim_both_msgs() argument
314 sk_msg_trim(sk, &rec->msg_plaintext, target_size); in tls_trim_both_msgs()
315 if (target_size > 0) in tls_trim_both_msgs()
316 target_size += prot->overhead_size; in tls_trim_both_msgs()
317 sk_msg_trim(sk, &rec->msg_encrypted, target_size); in tls_trim_both_msgs()
/linux-6.6.21/kernel/bpf/
Dcgroup.c2224 struct bpf_prog *prog, u32 *target_size) in sysctl_convert_ctx_access() argument
2236 target_size)); in sysctl_convert_ctx_access()
2278 *target_size = sizeof(u32); in sysctl_convert_ctx_access()
2429 u32 *target_size) in cg_sockopt_convert_ctx_access() argument
Dverifier.c18238 u32 target_size, size_default, off; in convert_ctx_accesses() local
18380 target_size = 0; in convert_ctx_accesses()
18382 &target_size); in convert_ctx_accesses()
18384 (ctx_field_size && !target_size)) { in convert_ctx_accesses()
18389 if (is_narrower_load && size < target_size) { in convert_ctx_accesses()
/linux-6.6.21/kernel/trace/
Dbpf_trace.c2115 struct bpf_prog *prog, u32 *target_size) in pe_prog_convert_ctx_access() argument
2126 target_size)); in pe_prog_convert_ctx_access()
2134 target_size)); in pe_prog_convert_ctx_access()
/linux-6.6.21/drivers/scsi/
Dscsi_scan.c498 + 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()
Dscsi_transport_fc.c2633 i->t.target_size = sizeof(struct fc_starget_attrs); in fc_attach_transport()
/linux-6.6.21/net/ipv4/netfilter/
Darp_tables.c401 return xt_check_target(&par, t->u.target_size - sizeof(*t), 0, false); in check_target()
Dip_tables.c510 return xt_check_target(&par, t->u.target_size - sizeof(*t), in check_target()
/linux-6.6.21/fs/f2fs/
Dfile.c4763 loff_t target_size; in f2fs_file_write_iter() local
4796 target_size = iocb->ki_pos + iov_iter_count(from); in f2fs_file_write_iter()
4815 if (preallocated && i_size_read(inode) < target_size) { in f2fs_file_write_iter()
/linux-6.6.21/net/ipv6/netfilter/
Dip6_tables.c528 return xt_check_target(&par, t->u.target_size - sizeof(*t), in check_target()