Home
last modified time | relevance | path

Searched refs:target_offset (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.10/include/linux/netfilter_arp/
Darp_tables.h31 .target_offset = sizeof(struct arpt_entry), \
66 __u16 target_offset; member
76 return (void *)e + e->target_offset; in compat_arpt_get_target()
/Linux-v5.10/include/linux/netfilter_ipv4/
Dip_tables.h50 .target_offset = sizeof(struct ipt_entry), \
81 __u16 target_offset; member
92 return (void *)e + e->target_offset; in compat_ipt_get_target()
/Linux-v5.10/include/uapi/linux/netfilter_bridge/
Debtables.h188 unsigned int target_offset; member
197 return (struct ebt_entry_target *)((char *)e + e->target_offset); in ebt_get_target()
246 __i < (e)->target_offset; \
256 if (__i != (e)->target_offset) \
/Linux-v5.10/include/linux/netfilter_ipv6/
Dip6_tables.h45 __u16 target_offset; member
55 return (void *)e + e->target_offset; in compat_ip6t_get_target()
/Linux-v5.10/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h117 __u16 target_offset; member
144 .target_offset = sizeof(struct ip6t_entry), \
265 return (struct xt_entry_target *)((char *)e + e->target_offset); in ip6t_get_target()
/Linux-v5.10/include/uapi/linux/netfilter_arp/
Darp_tables.h101 __u16 target_offset; member
202 return (struct xt_entry_target *)((char *)e + e->target_offset); in arpt_get_target()
/Linux-v5.10/drivers/scsi/aic7xxx/
Daic7xxx_osm.c548 unsigned int target_offset; in DEF_SCSI_QCMD() local
550 target_offset = starget->id; in DEF_SCSI_QCMD()
552 target_offset += 8; in DEF_SCSI_QCMD()
554 return &ahc->platform_data->starget[target_offset]; in DEF_SCSI_QCMD()
569 unsigned int target_offset; in ahc_linux_target_alloc() local
571 target_offset = starget->id; in ahc_linux_target_alloc()
573 target_offset += 8; in ahc_linux_target_alloc()
587 int flags = sc->device_flags[target_offset]; in ahc_linux_target_alloc()
1363 tags = tag_info->tag_commands[devinfo->target_offset]; in ahc_linux_user_tagdepth()
1429 int target_offset; in ahc_linux_run_command() local
[all …]
Daic7xxx_proc.c49 u_int target_id, u_int target_offset);
136 u_int target_offset) in ahc_dump_target_state() argument
150 starget = ahc->platform_data->starget[target_offset]; in ahc_dump_target_state()
Daic79xx_osm.c598 unsigned int target_offset; in DEF_SCSI_QCMD() local
600 target_offset = starget->id; in DEF_SCSI_QCMD()
602 target_offset += 8; in DEF_SCSI_QCMD()
604 return &ahd->platform_data->starget[target_offset]; in DEF_SCSI_QCMD()
1501 tags = tag_info->tag_commands[devinfo->target_offset]; in ahd_linux_user_tagdepth()
Daic7xxx_core.c2803 devinfo->target_offset = target; in ahc_compile_devinfo()
2807 devinfo->target_offset += 8; in ahc_compile_devinfo()
2808 devinfo->target_mask = (0x01 << devinfo->target_offset); in ahc_compile_devinfo()
4102 &(ahc->untagged_queues[devinfo->target_offset]); in ahc_handle_msg_reject()
5639 u_int target_offset; in ahc_index_busy_tcl() local
5649 target_offset = TCL_TARGET_OFFSET(tcl); in ahc_index_busy_tcl()
5650 scbid = ahc_inb(ahc, BUSY_TARGETS + target_offset); in ahc_index_busy_tcl()
5659 u_int target_offset; in ahc_unbusy_tcl() local
5669 target_offset = TCL_TARGET_OFFSET(tcl); in ahc_unbusy_tcl()
5670 ahc_outb(ahc, BUSY_TARGETS + target_offset, SCB_LIST_NULL); in ahc_unbusy_tcl()
[all …]
Daic7xxx.h1095 int target_offset; member
Daic79xx.h1287 int target_offset; member
Daic79xx_core.c4335 devinfo->target_offset = target; in ahd_compile_devinfo()
4339 devinfo->target_offset += 8; in ahd_compile_devinfo()
4340 devinfo->target_mask = (0x01 << devinfo->target_offset); in ahd_compile_devinfo()
/Linux-v5.10/include/uapi/linux/netfilter_ipv4/
Dip_tables.h113 __u16 target_offset; member
225 return (struct xt_entry_target *)((char *)e + e->target_offset); in ipt_get_target()
/Linux-v5.10/include/uapi/linux/netfilter/
Dx_tables.h136 __i < (e)->target_offset; \
183 (entry)->target_offset); \
/Linux-v5.10/net/netfilter/
Dx_tables.c802 unsigned int target_offset, in xt_compat_check_entry_offsets() argument
809 if (target_offset < size_of_base_struct) in xt_compat_check_entry_offsets()
812 if (target_offset + sizeof(*t) > next_offset) in xt_compat_check_entry_offsets()
815 t = (void *)(e + target_offset); in xt_compat_check_entry_offsets()
819 if (target_offset + t->u.target_size > next_offset) in xt_compat_check_entry_offsets()
825 if (COMPAT_XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_compat_check_entry_offsets()
844 return xt_check_entry_match(elems, base + target_offset, in xt_compat_check_entry_offsets()
895 unsigned int target_offset, in xt_check_entry_offsets() argument
903 if (target_offset < size_of_base_struct) in xt_check_entry_offsets()
906 if (target_offset + sizeof(*t) > next_offset) in xt_check_entry_offsets()
[all …]
/Linux-v5.10/net/ipv4/netfilter/
Darp_tables.c294 return e->target_offset == sizeof(struct arpt_entry) && in unconditional()
474 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
705 if (xt_target_to_user(t, userptr + off + e->target_offset)) { in copy_entries_to_user()
1092 ret = xt_compat_check_entry_offsets(e, e->elems, e->target_offset, in check_compat_entry_size_and_hooks()
1141 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
1301 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1315 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1322 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
Dip_tables.c114 return e->target_offset == sizeof(struct ipt_entry) && in unconditional()
611 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
849 i < e->target_offset; in copy_entries_to_user()
860 if (xt_target_to_user(t, userptr + off + e->target_offset)) { in copy_entries_to_user()
1222 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1242 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1248 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1310 e->target_offset, e->next_offset); in check_compat_entry_size_and_hooks()
1374 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
/Linux-v5.10/net/ipv6/netfilter/
Dip6_tables.c139 return e->target_offset == sizeof(struct ip6t_entry) && in unconditional()
629 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
865 i < e->target_offset; in copy_entries_to_user()
876 if (xt_target_to_user(t, userptr + off + e->target_offset)) { in copy_entries_to_user()
1238 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1258 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1264 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1326 e->target_offset, e->next_offset); in check_compat_entry_size_and_hooks()
1390 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
/Linux-v5.10/net/bridge/netfilter/
Debtables.c396 size_t left = ((char *)e + e->target_offset) - (char *)w; in ebt_check_watcher()
532 e->watchers_offset > e->target_offset || in ebt_check_entry_size_and_hooks()
533 e->target_offset >= e->next_offset) in ebt_check_entry_size_and_hooks()
537 if (e->next_offset - e->target_offset < sizeof(struct ebt_entry_target)) in ebt_check_entry_size_and_hooks()
708 gap = e->next_offset - e->target_offset; in ebt_check_entry()
788 if (e->target_offset + sizeof(struct ebt_standard_target) > in check_chainloops()
1358 hlp = ubase + (((char *)e + e->target_offset) - base); in ebt_entry_to_user()
1578 u32 watchers_offset, target_offset, next_offset; in compat_copy_entry_to_user() local
1611 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1621 put_user(target_offset, &ce->target_offset) || in compat_copy_entry_to_user()
/Linux-v5.10/include/linux/netfilter/
Dx_tables.h281 unsigned int target_offset,
532 unsigned int target_offset,
/Linux-v5.10/drivers/visorbus/
Dcontrolvmchannel.h578 u32 target_offset; member
/Linux-v5.10/drivers/md/
Ddm.c1028 sector_t target_offset) in max_io_len_target_boundary() argument
1030 return ti->len - target_offset; in max_io_len_target_boundary()
1035 sector_t target_offset = dm_target_offset(ti, sector); in max_io_len() local
1036 sector_t len = max_io_len_target_boundary(ti, target_offset); in max_io_len()
1048 target_offset, ti->max_io_len); in max_io_len()