Searched refs:target_size (Results 1 – 12 of 12) sorted by relevance
/linux-3.4.99/include/scsi/ |
D | scsi_transport.h | 45 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/ |
D | x_tables.h | 36 __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/ |
D | act_ipt.c | 61 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/ |
D | x_tables.c | 614 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/ |
D | ebtables.h | 146 unsigned int target_size; member
|
/linux-3.4.99/net/bridge/netfilter/ |
D | ebtables.c | 738 } 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/ |
D | arp_tables.c | 481 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()
|
D | ip_tables.c | 578 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/ |
D | ip6_tables.c | 587 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/ |
D | scsi_scan.c | 404 + shost->transportt->target_size; in scsi_alloc_target()
|
D | scsi_transport_spi.c | 1550 i->t.target_size = sizeof(struct spi_transport_attrs); in spi_attach_transport()
|
D | scsi_transport_fc.c | 2169 i->t.target_size = sizeof(struct fc_starget_attrs); in fc_attach_transport()
|