Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/include/linux/netfilter_ipv4/
Dip_tables.h47 .target_offset = sizeof(struct ipt_entry), \
78 __u16 target_offset; member
89 return (void *)e + e->target_offset; in compat_ipt_get_target()
/Linux-v4.19/include/uapi/linux/netfilter_bridge/
Debtables.h188 unsigned int target_offset; member
197 return (void *)e + e->target_offset; in ebt_get_target()
246 __i < (e)->target_offset; \
256 if (__i != (e)->target_offset) \
/Linux-v4.19/include/linux/netfilter_ipv6/
Dip6_tables.h56 __u16 target_offset; member
66 return (void *)e + e->target_offset; in compat_ip6t_get_target()
/Linux-v4.19/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h117 __u16 target_offset; member
144 .target_offset = sizeof(struct ip6t_entry), \
265 return (void *)e + e->target_offset; in ip6t_get_target()
/Linux-v4.19/include/uapi/linux/netfilter_arp/
Darp_tables.h101 __u16 target_offset; member
202 return (void *)e + e->target_offset; in arpt_get_target()
/Linux-v4.19/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()
571 unsigned int target_offset; in ahc_linux_target_alloc() local
573 target_offset = starget->id; in ahc_linux_target_alloc()
575 target_offset += 8; in ahc_linux_target_alloc()
589 int flags = sc->device_flags[target_offset]; in ahc_linux_target_alloc()
1382 tags = tag_info->tag_commands[devinfo->target_offset]; in ahc_linux_user_tagdepth()
1448 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()
1516 tags = tag_info->tag_commands[devinfo->target_offset]; in ahd_linux_user_tagdepth()
Daic7xxx_core.c2826 devinfo->target_offset = target; in ahc_compile_devinfo()
2830 devinfo->target_offset += 8; in ahc_compile_devinfo()
2831 devinfo->target_mask = (0x01 << devinfo->target_offset); in ahc_compile_devinfo()
4125 &(ahc->untagged_queues[devinfo->target_offset]); in ahc_handle_msg_reject()
5700 u_int target_offset; in ahc_index_busy_tcl() local
5710 target_offset = TCL_TARGET_OFFSET(tcl); in ahc_index_busy_tcl()
5711 scbid = ahc_inb(ahc, BUSY_TARGETS + target_offset); in ahc_index_busy_tcl()
5720 u_int target_offset; in ahc_unbusy_tcl() local
5730 target_offset = TCL_TARGET_OFFSET(tcl); in ahc_unbusy_tcl()
5731 ahc_outb(ahc, BUSY_TARGETS + target_offset, SCB_LIST_NULL); in ahc_unbusy_tcl()
[all …]
Daic7xxx.h1100 int target_offset; member
Daic79xx.h1293 int target_offset; member
Daic79xx_core.c4369 devinfo->target_offset = target; in ahd_compile_devinfo()
4373 devinfo->target_offset += 8; in ahd_compile_devinfo()
4374 devinfo->target_mask = (0x01 << devinfo->target_offset); in ahd_compile_devinfo()
/Linux-v4.19/include/uapi/linux/netfilter_ipv4/
Dip_tables.h113 __u16 target_offset; member
225 return (void *)e + e->target_offset; in ipt_get_target()
/Linux-v4.19/include/uapi/linux/netfilter/
Dx_tables.h136 __i < (e)->target_offset; \
183 (entry)->target_offset); \
/Linux-v4.19/net/netfilter/
Dx_tables.c807 unsigned int target_offset, in xt_compat_check_entry_offsets() argument
814 if (target_offset < size_of_base_struct) in xt_compat_check_entry_offsets()
817 if (target_offset + sizeof(*t) > next_offset) in xt_compat_check_entry_offsets()
820 t = (void *)(e + target_offset); in xt_compat_check_entry_offsets()
824 if (target_offset + t->u.target_size > next_offset) in xt_compat_check_entry_offsets()
830 if (COMPAT_XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_compat_check_entry_offsets()
849 return xt_check_entry_match(elems, base + target_offset, in xt_compat_check_entry_offsets()
900 unsigned int target_offset, in xt_check_entry_offsets() argument
908 if (target_offset < size_of_base_struct) in xt_check_entry_offsets()
911 if (target_offset + sizeof(*t) > next_offset) in xt_check_entry_offsets()
[all …]
/Linux-v4.19/net/ipv4/netfilter/
Darp_tables.c293 return e->target_offset == sizeof(struct arpt_entry) && in unconditional()
471 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
699 if (xt_target_to_user(t, userptr + off + e->target_offset)) { in copy_entries_to_user()
1089 ret = xt_compat_check_entry_offsets(e, e->elems, e->target_offset, in check_compat_entry_size_and_hooks()
1138 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
1321 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1335 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1342 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
Dip_tables.c117 return e->target_offset == sizeof(struct ipt_entry) && in unconditional()
614 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
852 i < e->target_offset; in copy_entries_to_user()
863 if (xt_target_to_user(t, userptr + off + e->target_offset)) { in copy_entries_to_user()
1227 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1247 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1253 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1315 e->target_offset, e->next_offset); in check_compat_entry_size_and_hooks()
1379 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
/Linux-v4.19/net/ipv6/netfilter/
Dip6_tables.c142 return e->target_offset == sizeof(struct ip6t_entry) && in unconditional()
632 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
868 i < e->target_offset; in copy_entries_to_user()
879 if (xt_target_to_user(t, userptr + off + e->target_offset)) { in copy_entries_to_user()
1243 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1263 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1269 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1331 e->target_offset, e->next_offset); in check_compat_entry_size_and_hooks()
1395 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
/Linux-v4.19/net/bridge/netfilter/
Debtables.c404 size_t left = ((char *)e + e->target_offset) - (char *)w; in ebt_check_watcher()
552 e->watchers_offset > e->target_offset || in ebt_check_entry_size_and_hooks()
553 e->target_offset >= e->next_offset) { in ebt_check_entry_size_and_hooks()
558 if (e->next_offset - e->target_offset < sizeof(struct ebt_entry_target)) { in ebt_check_entry_size_and_hooks()
733 gap = e->next_offset - e->target_offset; in ebt_check_entry()
815 if (e->target_offset + sizeof(struct ebt_standard_target) > in check_chainloops()
1418 hlp = ubase + (((char *)e + e->target_offset) - base); in ebt_entry_to_user()
1725 u32 watchers_offset, target_offset, next_offset; in compat_copy_entry_to_user() local
1758 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1768 put_user(target_offset, &ce->target_offset) || in compat_copy_entry_to_user()
/Linux-v4.19/include/linux/netfilter/
Dx_tables.h281 unsigned int target_offset,
530 unsigned int target_offset,
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gem_execbuffer.c1235 u64 target_offset = relocation_target(reloc, target); in relocate_entry() local
1264 *batch++ = lower_32_bits(target_offset); in relocate_entry()
1271 *batch++ = upper_32_bits(target_offset); in relocate_entry()
1276 *batch++ = lower_32_bits(target_offset); in relocate_entry()
1277 *batch++ = upper_32_bits(target_offset); in relocate_entry()
1283 *batch++ = target_offset; in relocate_entry()
1288 *batch++ = target_offset; in relocate_entry()
1292 *batch++ = target_offset; in relocate_entry()
1304 lower_32_bits(target_offset), in relocate_entry()
1309 target_offset >>= 32; in relocate_entry()
/Linux-v4.19/drivers/visorbus/
Dcontrolvmchannel.h578 u32 target_offset; member
/Linux-v4.19/drivers/md/
Ddm.c973 sector_t target_offset = dm_target_offset(ti, sector); in max_io_len_target_boundary() local
975 return ti->len - target_offset; in max_io_len_target_boundary()