Home
last modified time | relevance | path

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

/linux/include/linux/netfilter_arp/
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/linux/netfilter_ipv4/
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/uapi/linux/netfilter_bridge/
A 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/include/uapi/linux/netfilter_ipv6/
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/include/linux/netfilter_ipv6/
A Dip6_tables.h41 __u16 target_offset; member
51 return (void *)e + e->target_offset; in compat_ip6t_get_target()
/linux/drivers/scsi/aic7xxx/
A Daic7xxx_osm.c547 unsigned int target_offset; in DEF_SCSI_QCMD() local
549 target_offset = starget->id; in DEF_SCSI_QCMD()
551 target_offset += 8; in DEF_SCSI_QCMD()
568 unsigned int target_offset; in ahc_linux_target_alloc() local
570 target_offset = starget->id; in ahc_linux_target_alloc()
572 target_offset += 8; in ahc_linux_target_alloc()
1428 int target_offset; in ahc_linux_run_command() local
1596 int target_offset; in ahc_send_async() local
1621 target_offset = target; in ahc_send_async()
1623 target_offset += 8; in ahc_send_async()
[all …]
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()
A Daic79xx_osm.c596 unsigned int target_offset; in DEF_SCSI_QCMD() local
598 target_offset = starget->id; in DEF_SCSI_QCMD()
600 target_offset += 8; in DEF_SCSI_QCMD()
602 return &ahd->platform_data->starget[target_offset]; in DEF_SCSI_QCMD()
1499 tags = tag_info->tag_commands[devinfo->target_offset]; in ahd_linux_user_tagdepth()
A Daic7xxx_core.c2801 devinfo->target_offset = target; in ahc_compile_devinfo()
2805 devinfo->target_offset += 8; 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()
5674 u_int target_offset; in ahc_busy_tcl() local
5684 target_offset = TCL_TARGET_OFFSET(tcl); in ahc_busy_tcl()
[all …]
A Daic7xxx.h1093 int target_offset; member
A Daic79xx.h1287 int target_offset; member
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/include/uapi/linux/netfilter_arp/
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/
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/
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()
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()
928 t = (void *)(e + target_offset); in xt_check_entry_offsets()
[all …]
/linux/include/uapi/linux/netfilter/
A Dx_tables.h136 __i < (e)->target_offset; \
183 (entry)->target_offset); \
/linux/net/ipv4/netfilter/
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()
1093 ret = xt_compat_check_entry_offsets(e, e->elems, e->target_offset, in check_compat_entry_size_and_hooks()
1142 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
1304 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1318 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1325 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
A Dip_tables.c114 return e->target_offset == sizeof(struct ipt_entry) && in unconditional()
612 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
850 i < e->target_offset; in copy_entries_to_user()
861 if (xt_target_to_user(t, userptr + off + e->target_offset)) { in copy_entries_to_user()
1223 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1243 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1249 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1311 e->target_offset, e->next_offset); in check_compat_entry_size_and_hooks()
1375 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
/linux/net/ipv6/netfilter/
A Dip6_tables.c139 return e->target_offset == sizeof(struct ip6t_entry) && in unconditional()
630 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
866 i < e->target_offset; in copy_entries_to_user()
877 if (xt_target_to_user(t, userptr + off + e->target_offset)) { in copy_entries_to_user()
1239 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1259 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1265 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1327 e->target_offset, e->next_offset); in check_compat_entry_size_and_hooks()
1391 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
/linux/net/bridge/netfilter/
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/linux/netfilter/
A Dx_tables.h281 unsigned int target_offset,
533 unsigned int target_offset,
/linux/include/uapi/drm/
A Dtegra_drm.h812 __u64 target_offset; member
/linux/drivers/visorbus/
A Dcontrolvmchannel.h578 u32 target_offset; member
/linux/drivers/md/
A Ddm.c942 sector_t target_offset) in max_io_len_target_boundary() argument
944 return ti->len - target_offset; in max_io_len_target_boundary()
949 sector_t target_offset = dm_target_offset(ti, sector); in max_io_len() local
950 sector_t len = max_io_len_target_boundary(ti, target_offset); in max_io_len()
962 target_offset, ti->max_io_len); in max_io_len()
/linux/drivers/gpu/drm/tegra/
A Dsubmit.c208 dma_addr_t iova = mapping->iova + buf->reloc.target_offset; in submit_write_reloc()

Completed in 100 milliseconds