Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/netfilter_arp/
Darp_tables.h30 .target_offset = sizeof(struct arpt_entry), \
65 __u16 target_offset; member
75 return (void *)e + e->target_offset; in compat_arpt_get_target()
/linux-4.1.27/include/linux/netfilter_ipv4/
Dip_tables.h45 .target_offset = sizeof(struct ipt_entry), \
77 __u16 target_offset; member
88 return (void *)e + e->target_offset; in compat_ipt_get_target()
/linux-4.1.27/include/linux/netfilter_ipv6/
Dip6_tables.h55 __u16 target_offset; member
65 return (void *)e + e->target_offset; in compat_ip6t_get_target()
/linux-4.1.27/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h115 __u16 target_offset; member
142 .target_offset = sizeof(struct ip6t_entry), \
263 return (void *)e + e->target_offset; in ip6t_get_target()
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
Debtables.h175 unsigned int target_offset; member
227 __i < (e)->target_offset; \
237 if (__i != (e)->target_offset) \
/linux-4.1.27/include/uapi/linux/netfilter_arp/
Darp_tables.h99 __u16 target_offset; member
200 return (void *)e + e->target_offset; in arpt_get_target()
/linux-4.1.27/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()
1383 tags = tag_info->tag_commands[devinfo->target_offset]; in ahc_linux_user_tagdepth()
1449 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()
1517 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.h1296 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-4.1.27/include/uapi/linux/netfilter_ipv4/
Dip_tables.h111 __u16 target_offset; member
223 return (void *)e + e->target_offset; in ipt_get_target()
/linux-4.1.27/include/uapi/linux/netfilter/
Dx_tables.h135 __i < (e)->target_offset; \
182 (entry)->target_offset); \
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gem_execbuffer.c260 uint64_t target_offset) in relocate_entry_cpu() argument
264 uint64_t delta = reloc->delta + target_offset; in relocate_entry_cpu()
296 uint64_t target_offset) in relocate_entry_gtt() argument
300 uint64_t delta = reloc->delta + target_offset; in relocate_entry_gtt()
351 uint64_t target_offset) in relocate_entry_clflush() argument
355 uint64_t delta = (int)reloc->delta + target_offset; in relocate_entry_clflush()
393 uint64_t target_offset; in i915_gem_execbuffer_relocate_entry() local
403 target_offset = target_vma->node.start; in i915_gem_execbuffer_relocate_entry()
446 if (target_offset == reloc->presumed_offset) in i915_gem_execbuffer_relocate_entry()
472 ret = relocate_entry_cpu(obj, reloc, target_offset); in i915_gem_execbuffer_relocate_entry()
[all …]
/linux-4.1.27/net/bridge/netfilter/
Debtables.c242 (((char *)point) + point->target_offset); in ebt_do_table()
395 size_t left = ((char *)e + e->target_offset) - (char *)w; in ebt_check_watcher()
535 e->watchers_offset > e->target_offset || in ebt_check_entry_size_and_hooks()
536 e->target_offset >= e->next_offset) { in ebt_check_entry_size_and_hooks()
541 if (e->next_offset - e->target_offset < sizeof(struct ebt_entry_target)) { in ebt_check_entry_size_and_hooks()
636 t = (struct ebt_entry_target *)(((char *)e) + e->target_offset); in ebt_cleanup_entry()
714 t = (struct ebt_entry_target *)(((char *)e) + e->target_offset); in ebt_check_entry()
715 gap = e->next_offset - e->target_offset; in ebt_check_entry()
789 (((char *)e) + e->target_offset); in check_chainloops()
792 if (e->target_offset + sizeof(struct ebt_standard_target) > in check_chainloops()
[all …]
/linux-4.1.27/net/ipv6/netfilter/
Dip6_tables.c261 if (s->target_offset == sizeof(struct ip6t_entry) && in get_chainname_rulenum()
487 if ((e->target_offset == sizeof(struct ip6t_entry) && in mark_source_chains()
589 if (e->target_offset + sizeof(struct xt_entry_target) > in check_entry()
594 if (e->target_offset + t->u.target_size > e->next_offset) in check_entry()
982 i < e->target_offset; in copy_entries_to_user()
998 if (copy_to_user(userptr + off + e->target_offset in copy_entries_to_user()
1426 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1446 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1452 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1604 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
/linux-4.1.27/net/ipv4/netfilter/
Dip_tables.c232 if (s->target_offset == sizeof(struct ipt_entry) && in get_chainname_rulenum()
474 if ((e->target_offset == sizeof(struct ipt_entry) && in mark_source_chains()
576 if (e->target_offset + sizeof(struct xt_entry_target) > in check_entry()
581 if (e->target_offset + t->u.target_size > e->next_offset) in check_entry()
969 i < e->target_offset; in copy_entries_to_user()
985 if (copy_to_user(userptr + off + e->target_offset in copy_entries_to_user()
1411 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1431 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1437 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1590 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
Darp_tables.c400 if ((e->target_offset == sizeof(struct arpt_entry) && in mark_source_chains()
481 if (e->target_offset + sizeof(struct xt_entry_target) > e->next_offset) in check_entry()
485 if (e->target_offset + t->u.target_size > e->next_offset) in check_entry()
799 if (copy_to_user(userptr + off + e->target_offset in copy_entries_to_user()
1305 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
1576 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1590 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1597 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/
Dcontrolvmchannel.h500 u32 target_offset; member
/linux-4.1.27/drivers/staging/unisys/visorchipset/
Dparser.c202 ctx->curr = ctx->data + phdr->target_offset; in parser_param_start()
/linux-4.1.27/drivers/md/
Ddm.c1347 sector_t target_offset = dm_target_offset(ti, sector); in max_io_len_target_boundary() local
1349 return ti->len - target_offset; in max_io_len_target_boundary()