Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/include/linux/netfilter_ipv4/
Dip_tables.h44 .target_offset = sizeof(struct ipt_entry), \
75 __u16 target_offset; member
86 return (void *)e + e->target_offset; in compat_ipt_get_target()
/Linux-v5.4/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-v5.4/include/linux/netfilter_ipv6/
Dip6_tables.h42 __u16 target_offset; member
52 return (void *)e + e->target_offset; in compat_ip6t_get_target()
/Linux-v5.4/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-v5.4/include/uapi/linux/netfilter_arp/
Darp_tables.h101 __u16 target_offset; member
202 return (void *)e + e->target_offset; in arpt_get_target()
/Linux-v5.4/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()
1379 tags = tag_info->tag_commands[devinfo->target_offset]; in ahc_linux_user_tagdepth()
1445 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()
1515 tags = tag_info->tag_commands[devinfo->target_offset]; in ahd_linux_user_tagdepth()
Daic7xxx_core.c2819 devinfo->target_offset = target; in ahc_compile_devinfo()
2823 devinfo->target_offset += 8; in ahc_compile_devinfo()
2824 devinfo->target_mask = (0x01 << devinfo->target_offset); in ahc_compile_devinfo()
4118 &(ahc->untagged_queues[devinfo->target_offset]); in ahc_handle_msg_reject()
5667 u_int target_offset; in ahc_index_busy_tcl() local
5677 target_offset = TCL_TARGET_OFFSET(tcl); in ahc_index_busy_tcl()
5678 scbid = ahc_inb(ahc, BUSY_TARGETS + target_offset); in ahc_index_busy_tcl()
5687 u_int target_offset; in ahc_unbusy_tcl() local
5697 target_offset = TCL_TARGET_OFFSET(tcl); in ahc_unbusy_tcl()
5698 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.c4363 devinfo->target_offset = target; in ahd_compile_devinfo()
4367 devinfo->target_offset += 8; in ahd_compile_devinfo()
4368 devinfo->target_mask = (0x01 << devinfo->target_offset); in ahd_compile_devinfo()
/Linux-v5.4/include/uapi/linux/netfilter_ipv4/
Dip_tables.h113 __u16 target_offset; member
225 return (void *)e + e->target_offset; in ipt_get_target()
/Linux-v5.4/include/uapi/linux/netfilter/
Dx_tables.h136 __i < (e)->target_offset; \
183 (entry)->target_offset); \
/Linux-v5.4/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.4/net/ipv4/netfilter/
Darp_tables.c294 return e->target_offset == sizeof(struct arpt_entry) && in unconditional()
472 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
700 if (xt_target_to_user(t, userptr + off + e->target_offset)) { in copy_entries_to_user()
1090 ret = xt_compat_check_entry_offsets(e, e->elems, e->target_offset, in check_compat_entry_size_and_hooks()
1139 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
1322 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1336 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1343 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()
1224 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1244 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1250 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1312 e->target_offset, e->next_offset); in check_compat_entry_size_and_hooks()
1376 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
/Linux-v5.4/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()
1240 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1260 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1266 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1328 e->target_offset, e->next_offset); in check_compat_entry_size_and_hooks()
1392 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
/Linux-v5.4/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()
1365 hlp = ubase + (((char *)e + e->target_offset) - base); in ebt_entry_to_user()
1665 u32 watchers_offset, target_offset, next_offset; in compat_copy_entry_to_user() local
1698 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1708 put_user(target_offset, &ce->target_offset) || in compat_copy_entry_to_user()
/Linux-v5.4/include/linux/netfilter/
Dx_tables.h281 unsigned int target_offset,
529 unsigned int target_offset,
/Linux-v5.4/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c1262 u64 target_offset = relocation_target(reloc, target); in relocate_entry() local
1291 *batch++ = lower_32_bits(target_offset); in relocate_entry()
1298 *batch++ = upper_32_bits(target_offset); in relocate_entry()
1303 *batch++ = lower_32_bits(target_offset); in relocate_entry()
1304 *batch++ = upper_32_bits(target_offset); in relocate_entry()
1310 *batch++ = target_offset; in relocate_entry()
1315 *batch++ = target_offset; in relocate_entry()
1319 *batch++ = target_offset; in relocate_entry()
1331 lower_32_bits(target_offset), in relocate_entry()
1336 target_offset >>= 32; in relocate_entry()
/Linux-v5.4/drivers/visorbus/
Dcontrolvmchannel.h578 u32 target_offset; member
/Linux-v5.4/drivers/md/
Ddm.c1020 sector_t target_offset = dm_target_offset(ti, sector); in max_io_len_target_boundary() local
1022 return ti->len - target_offset; in max_io_len_target_boundary()