Home
last modified time | relevance | path

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

/linux-3.4.99/include/scsi/
Dscsi_transport.h45 int target_size; member
96 t->target_private_offset = ALIGN(t->target_size, sizeof(void *)); in scsi_transport_reserve_target()
97 t->target_size = t->target_private_offset + space; in scsi_transport_reserve_target()
/linux-3.4.99/include/linux/netfilter/
Dx_tables.h36 __u16 target_size; member
43 __u16 target_size; member
50 __u16 target_size; member
59 .target_size = XT_ALIGN(__size), \
563 u_int16_t target_size; member
568 u_int16_t target_size; member
571 u_int16_t target_size; member
/linux-3.4.99/net/sched/
Dact_ipt.c61 ret = xt_check_target(&par, t->u.target_size - sizeof(*t), 0, false); in ipt_init_target()
130 if (nla_len(tb[TCA_IPT_TARG]) < td->u.target_size) in tcf_ipt_init()
161 t = kmemdup(td, td->u.target_size, GFP_KERNEL); in tcf_ipt_init()
262 t = kmemdup(ipt->tcfi_t, ipt->tcfi_t->u.user.target_size, GFP_ATOMIC); in tcf_ipt_dump()
270 NLA_PUT(skb, TCA_IPT_TARG, ipt->tcfi_t->u.user.target_size, t); in tcf_ipt_dump()
/linux-3.4.99/net/netfilter/
Dx_tables.c614 u_int16_t tsize = ct->u.user.target_size; in xt_compat_target_from_user()
627 t->u.user.target_size = tsize; in xt_compat_target_from_user()
640 u_int16_t tsize = t->u.user.target_size - off; in xt_compat_target_to_user()
643 put_user(tsize, &ct->u.user.target_size) || in xt_compat_target_to_user()
/linux-3.4.99/include/linux/netfilter_bridge/
Debtables.h146 unsigned int target_size; member
/linux-3.4.99/net/bridge/netfilter/
Debtables.c738 } else if (t->target_size > gap - sizeof(struct ebt_entry_target)) { in ebt_check_entry()
746 ret = xt_check_target(&tgpar, t->target_size, in ebt_check_entry()
1629 compat_uint_t tsize = t->target_size - off; in compat_target_to_user()
1631 BUG_ON(off >= t->target_size); in compat_target_to_user()
/linux-3.4.99/net/ipv4/netfilter/
Darp_tables.c481 if (e->target_offset + t->u.target_size > e->next_offset) in check_entry()
500 ret = xt_check_target(&par, t->u.target_size - sizeof(*t), 0, false); in check_target()
Dip_tables.c578 if (e->target_offset + t->u.target_size > e->next_offset) in check_entry()
640 ret = xt_check_target(&par, t->u.target_size - sizeof(*t), in check_target()
/linux-3.4.99/net/ipv6/netfilter/
Dip6_tables.c587 if (e->target_offset + t->u.target_size > e->next_offset) in check_entry()
650 ret = xt_check_target(&par, t->u.target_size - sizeof(*t), in check_target()
/linux-3.4.99/drivers/scsi/
Dscsi_scan.c404 + shost->transportt->target_size; in scsi_alloc_target()
Dscsi_transport_spi.c1550 i->t.target_size = sizeof(struct spi_transport_attrs); in spi_attach_transport()
Dscsi_transport_fc.c2169 i->t.target_size = sizeof(struct fc_starget_attrs); in fc_attach_transport()