Home
last modified time | relevance | path

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

/linux/include/linux/netfilter_ipv4/
H A Dip_tables.h45 .target_offset = sizeof(struct ipt_entry), \
76 __u16 target_offset; member
87 return (void *)e + e->target_offset; in compat_ipt_get_target()
/linux/include/linux/netfilter_arp/
H A Darp_tables.h31 .target_offset = sizeof(struct arpt_entry), \
65 __u16 target_offset; member
75 return (void *)e + e->target_offset; in compat_arpt_get_target()
/linux/include/uapi/linux/netfilter_bridge/
H A Debtables.h189 unsigned int target_offset;
199 return (struct ebt_entry_target *)((char *)e + e->target_offset); in ebt_get_target()
248 __i < (e)->target_offset; \
258 if (__i != (e)->target_offset) \
/linux/include/linux/netfilter_ipv6/
H A Dip6_tables.h41 __u16 target_offset; member
51 return (void *)e + e->target_offset; in compat_ip6t_get_target()
/linux/include/uapi/linux/netfilter_ipv6/
H A 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/drivers/scsi/aic7xxx/
H A 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()
1370 tags = tag_info->tag_commands[devinfo->target_offset]; in ahc_linux_user_tagdepth()
1436 int target_offset; in ahc_linux_run_command() local
[all …]
H A 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()
H A Daic79xx_osm.c601 unsigned int target_offset; in DEF_SCSI_QCMD() local
603 target_offset = starget->id; in DEF_SCSI_QCMD()
605 target_offset += 8; in DEF_SCSI_QCMD()
607 return &ahd->platform_data->starget[target_offset]; in DEF_SCSI_QCMD()
1500 tags = tag_info->tag_commands[devinfo->target_offset]; in ahd_linux_user_tagdepth()
H A Daic7xxx_core.c2801 devinfo->target_offset = target; in ahc_compile_devinfo()
2805 devinfo->target_offset += 8; in ahc_compile_devinfo()
2806 devinfo->target_mask = (0x01 << devinfo->target_offset); in ahc_compile_devinfo()
4100 &(ahc->untagged_queues[devinfo->target_offset]); in ahc_handle_msg_reject()
5636 u_int target_offset; in ahc_index_busy_tcl() local
5646 target_offset = TCL_TARGET_OFFSET(tcl); in ahc_index_busy_tcl()
5647 scbid = ahc_inb(ahc, BUSY_TARGETS + target_offset); in ahc_index_busy_tcl()
5656 u_int target_offset; in ahc_unbusy_tcl() local
5666 target_offset = TCL_TARGET_OFFSET(tcl); in ahc_unbusy_tcl()
5667 ahc_outb(ahc, BUSY_TARGETS + target_offset, SCB_LIST_NULL); in ahc_unbusy_tcl()
[all …]
H A Daic79xx.h1287 int target_offset; member
H A Daic79xx_core.c4333 devinfo->target_offset = target; in ahd_compile_devinfo()
4337 devinfo->target_offset += 8; in ahd_compile_devinfo()
4338 devinfo->target_mask = (0x01 << devinfo->target_offset); in ahd_compile_devinfo()
/linux/fs/smb/client/
H A Dtrace.h224 __u64 target_offset,
227 TP_ARGS(xid, src_fid, target_fid, tid, sesid, src_offset, target_offset, len, rc),
235 __field(__u64, target_offset)
246 __entry->target_offset = target_offset;
252 __entry->src_offset, __entry->target_fid, __entry->target_offset, __entry->len, __entry->rc)
263 __u64 target_offset, \
266 TP_ARGS(xid, src_fid, target_fid, tid, sesid, src_offset, target_offset, len, rc))
278 __u64 target_offset,
280 TP_ARGS(xid, src_fid, target_fid, tid, sesid, src_offset, target_offset, len),
288 __field(__u64, target_offset)
[all …]
/linux/include/uapi/linux/netfilter_arp/
H A Darp_tables.h101 __u16 target_offset; member
202 return (struct xt_entry_target *)((char *)e + e->target_offset); in arpt_get_target()
/linux/include/uapi/linux/netfilter_ipv4/
H A Dip_tables.h113 __u16 target_offset; member
225 return (struct xt_entry_target *)((char *)e + e->target_offset); in ipt_get_target()
/linux/net/netfilter/
H A Dx_tables.c821 unsigned int target_offset, in xt_compat_check_entry_offsets() argument
828 if (target_offset < size_of_base_struct) in xt_compat_check_entry_offsets()
831 if (target_offset + sizeof(*t) > next_offset) in xt_compat_check_entry_offsets()
834 t = (void *)(e + target_offset); in xt_compat_check_entry_offsets()
838 if (target_offset + t->u.target_size > next_offset) in xt_compat_check_entry_offsets()
844 if (COMPAT_XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_compat_check_entry_offsets()
863 return xt_check_entry_match(elems, base + target_offset, in xt_compat_check_entry_offsets()
914 unsigned int target_offset, in xt_check_entry_offsets() argument
922 if (target_offset < size_of_base_struct) in xt_check_entry_offsets()
925 if (target_offset + sizeof(*t) > next_offset) in xt_check_entry_offsets()
[all …]
/linux/include/uapi/linux/netfilter/
H A Dx_tables.h136 __i < (e)->target_offset; \
183 (entry)->target_offset); \
/linux/net/ipv4/netfilter/
H A Dip_tables.c112 return e->target_offset == sizeof(struct ipt_entry) && in unconditional()
610 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
848 i < e->target_offset; in copy_entries_to_user()
859 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()
H A Darp_tables.c295 return e->target_offset == sizeof(struct arpt_entry) && in unconditional()
475 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
706 if (xt_target_to_user(t, userptr + off + e->target_offset)) { in copy_entries_to_user()
1097 ret = xt_compat_check_entry_offsets(e, e->elems, e->target_offset, in check_compat_entry_size_and_hooks()
1146 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
1312 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1326 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1333 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
/linux/net/ipv6/netfilter/
H A Dip6_tables.c137 return e->target_offset == sizeof(struct ip6t_entry) && in unconditional()
628 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
864 i < e->target_offset; in copy_entries_to_user()
875 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/net/bridge/netfilter/
H A Debtables.c435 size_t left = ((char *)e + e->target_offset) - (char *)w; in ebt_check_watcher()
571 e->watchers_offset > e->target_offset || in ebt_check_entry_size_and_hooks()
572 e->target_offset >= e->next_offset) in ebt_check_entry_size_and_hooks()
576 if (e->next_offset - e->target_offset < sizeof(struct ebt_entry_target)) in ebt_check_entry_size_and_hooks()
747 gap = e->next_offset - e->target_offset; in ebt_check_entry()
827 if (e->target_offset + sizeof(struct ebt_standard_target) > in check_chainloops()
1496 hlp = ubase + (((char *)e + e->target_offset) - base); in ebt_entry_to_user()
1716 u32 watchers_offset, target_offset, next_offset; in compat_copy_entry_to_user() local
1749 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1759 put_user(target_offset, &ce->target_offset) || in compat_copy_entry_to_user()
/linux/include/uapi/drm/
H A Dtegra_drm.h812 __u64 target_offset; member
/linux/drivers/gpu/drm/tegra/
H A Dsubmit.c232 dma_addr_t iova = mapping->iova + buf->reloc.target_offset; in submit_write_reloc()