Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/net/sched/
Dact_ipt.c53 ret = xt_check_target(&par, t->u.target_size - sizeof(*t), 0, false); in ipt_init_target()
135 if (nla_len(tb[TCA_IPT_TARG]) != td->u.target_size) { in __tcf_ipt_init()
170 t = kmemdup(td, td->u.target_size, GFP_KERNEL); in __tcf_ipt_init()
286 t = kmemdup(ipt->tcfi_t, ipt->tcfi_t->u.user.target_size, GFP_ATOMIC); in tcf_ipt_dump()
294 if (nla_put(skb, TCA_IPT_TARG, ipt->tcfi_t->u.user.target_size, t) || in tcf_ipt_dump()
/linux-6.1.9/net/core/
Dfilter.c6811 struct bpf_prog *prog, u32 *target_size) in bpf_tcp_sock_convert_ctx_access() argument
7006 struct bpf_prog *prog, u32 *target_size) in bpf_xdp_sock_convert_ctx_access() argument
9086 u32 *target_size) in flow_dissector_convert_ctx_access() argument
9225 struct bpf_prog *prog, u32 *target_size) in bpf_convert_ctx_access() argument
9234 target_size)); in bpf_convert_ctx_access()
9240 target_size)); in bpf_convert_ctx_access()
9246 target_size)); in bpf_convert_ctx_access()
9253 target_size)); in bpf_convert_ctx_access()
9257 target_size)); in bpf_convert_ctx_access()
9263 target_size)); in bpf_convert_ctx_access()
[all …]
/linux-6.1.9/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.1.9/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.1.9/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.1.9/include/uapi/linux/netfilter_bridge/
Debtables.h157 unsigned int target_size; member
/linux-6.1.9/include/linux/
Dbpf.h728 struct bpf_prog *prog, u32 *target_size);
1484 u32 *target_size);
2589 u32 *target_size);
2607 u32 *target_size) in bpf_sock_convert_ctx_access() argument
2631 u32 *target_size);
2640 u32 *target_size);
2653 u32 *target_size) in bpf_tcp_sock_convert_ctx_access() argument
2668 u32 *target_size) in bpf_xdp_sock_convert_ctx_access() argument
/linux-6.1.9/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.1.9/kernel/bpf/
Dcgroup.c2192 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
Dverifier.c13451 u32 target_size, size_default, off; in convert_ctx_accesses() local
13583 target_size = 0; in convert_ctx_accesses()
13585 &target_size); in convert_ctx_accesses()
13587 (ctx_field_size && !target_size)) { in convert_ctx_accesses()
13592 if (is_narrower_load && size < target_size) { in convert_ctx_accesses()
/linux-6.1.9/net/tls/
Dtls_sw.c263 static void tls_trim_both_msgs(struct sock *sk, int target_size) in tls_trim_both_msgs() argument
270 sk_msg_trim(sk, &rec->msg_plaintext, target_size); in tls_trim_both_msgs()
271 if (target_size > 0) in tls_trim_both_msgs()
272 target_size += prot->overhead_size; in tls_trim_both_msgs()
273 sk_msg_trim(sk, &rec->msg_encrypted, target_size); in tls_trim_both_msgs()
/linux-6.1.9/kernel/trace/
Dbpf_trace.c2060 struct bpf_prog *prog, u32 *target_size) in pe_prog_convert_ctx_access() argument
2071 target_size)); in pe_prog_convert_ctx_access()
2079 target_size)); in pe_prog_convert_ctx_access()
/linux-6.1.9/drivers/scsi/
Dscsi_scan.c499 + shost->transportt->target_size; in scsi_alloc_target()
Dscsi_transport_spi.c1582 i->t.target_size = sizeof(struct spi_transport_attrs); in spi_attach_transport()
Dscsi_transport_fc.c2631 i->t.target_size = sizeof(struct fc_starget_attrs); in fc_attach_transport()
/linux-6.1.9/net/ipv4/netfilter/
Darp_tables.c401 return xt_check_target(&par, t->u.target_size - sizeof(*t), 0, false); in check_target()
Dip_tables.c512 return xt_check_target(&par, t->u.target_size - sizeof(*t), in check_target()
/linux-6.1.9/fs/f2fs/
Dfile.c4624 loff_t target_size; in f2fs_file_write_iter() local
4657 target_size = iocb->ki_pos + iov_iter_count(from); in f2fs_file_write_iter()
4690 if (preallocated && i_size_read(inode) < target_size) { in f2fs_file_write_iter()
/linux-6.1.9/net/ipv6/netfilter/
Dip6_tables.c530 return xt_check_target(&par, t->u.target_size - sizeof(*t), in check_target()