Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/netfilter_ipv4/
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-6.1.9/include/linux/netfilter_arp/
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-6.1.9/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-6.1.9/include/linux/netfilter_ipv6/
Dip6_tables.h41 __u16 target_offset; member
51 return (void *)e + e->target_offset; in compat_ip6t_get_target()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/scsi/aic7xxx/
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()
553 return &ahc->platform_data->starget[target_offset]; 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()
586 int flags = sc->device_flags[target_offset]; in ahc_linux_target_alloc()
1362 tags = tag_info->tag_commands[devinfo->target_offset]; in ahc_linux_user_tagdepth()
1428 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.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()
1495 tags = tag_info->tag_commands[devinfo->target_offset]; in ahd_linux_user_tagdepth()
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 …]
Daic7xxx.h1093 int target_offset; member
Daic79xx.h1287 int target_offset; member
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-6.1.9/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-6.1.9/include/uapi/linux/netfilter/
Dx_tables.h136 __i < (e)->target_offset; \
183 (entry)->target_offset); \
/linux-6.1.9/net/netfilter/
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-6.1.9/net/ipv4/netfilter/
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()
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-6.1.9/net/ipv6/netfilter/
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-6.1.9/net/bridge/netfilter/
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()
1492 hlp = ubase + (((char *)e + e->target_offset) - base); in ebt_entry_to_user()
1712 u32 watchers_offset, target_offset, next_offset; in compat_copy_entry_to_user() local
1745 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1755 put_user(target_offset, &ce->target_offset) || in compat_copy_entry_to_user()
/linux-6.1.9/include/linux/netfilter/
Dx_tables.h281 unsigned int target_offset,
533 unsigned int target_offset,
/linux-6.1.9/include/uapi/drm/
Dtegra_drm.h812 __u64 target_offset; member
/linux-6.1.9/drivers/md/
Ddm.c1170 sector_t target_offset) in max_io_len_target_boundary() argument
1172 return ti->len - target_offset; in max_io_len_target_boundary()
1177 sector_t target_offset = dm_target_offset(ti, sector); in max_io_len() local
1178 sector_t len = max_io_len_target_boundary(ti, target_offset); in max_io_len()
1190 blk_chunk_sectors_left(target_offset, ti->max_io_len))); in max_io_len()
/linux-6.1.9/drivers/gpu/drm/tegra/
Dsubmit.c237 dma_addr_t iova = mapping->iova + buf->reloc.target_offset; in submit_write_reloc()