Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/netfilter_arp/
Darp_tables.h30 .target_offset = sizeof(struct arpt_entry), \
64 __u16 target_offset; member
74 return (void *)e + e->target_offset; in compat_arpt_get_target()
/linux-4.4.14/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-4.4.14/include/linux/netfilter_ipv6/
Dip6_tables.h54 __u16 target_offset; member
64 return (void *)e + e->target_offset; in compat_ip6t_get_target()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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()
1382 tags = tag_info->tag_commands[devinfo->target_offset]; in ahc_linux_user_tagdepth()
1448 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()
1516 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.4.14/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.4.14/net/netfilter/
Dx_tables.c593 unsigned int target_offset, in xt_compat_check_entry_offsets() argument
600 if (target_offset < size_of_base_struct) in xt_compat_check_entry_offsets()
603 if (target_offset + sizeof(*t) > next_offset) in xt_compat_check_entry_offsets()
606 t = (void *)(e + target_offset); in xt_compat_check_entry_offsets()
610 if (target_offset + t->u.target_size > next_offset) in xt_compat_check_entry_offsets()
614 COMPAT_XT_ALIGN(target_offset + sizeof(struct compat_xt_standard_target)) != next_offset) in xt_compat_check_entry_offsets()
623 return xt_check_entry_match(elems, base + target_offset, in xt_compat_check_entry_offsets()
674 unsigned int target_offset, in xt_check_entry_offsets() argument
682 if (target_offset < size_of_base_struct) in xt_check_entry_offsets()
685 if (target_offset + sizeof(*t) > next_offset) in xt_check_entry_offsets()
[all …]
/linux-4.4.14/include/uapi/linux/netfilter/
Dx_tables.h135 __i < (e)->target_offset; \
182 (entry)->target_offset); \
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_execbuffer.c255 uint64_t target_offset) in relocate_entry_cpu() argument
259 uint64_t delta = reloc->delta + target_offset; in relocate_entry_cpu()
291 uint64_t target_offset) in relocate_entry_gtt() argument
295 uint64_t delta = reloc->delta + target_offset; in relocate_entry_gtt()
346 uint64_t target_offset) in relocate_entry_clflush() argument
350 uint64_t delta = (int)reloc->delta + target_offset; in relocate_entry_clflush()
388 uint64_t target_offset; in i915_gem_execbuffer_relocate_entry() local
398 target_offset = target_vma->node.start; in i915_gem_execbuffer_relocate_entry()
440 if (target_offset == reloc->presumed_offset) in i915_gem_execbuffer_relocate_entry()
466 ret = relocate_entry_cpu(obj, reloc, target_offset); in i915_gem_execbuffer_relocate_entry()
[all …]
/linux-4.4.14/net/bridge/netfilter/
Debtables.c244 (((char *)point) + point->target_offset); in ebt_do_table()
397 size_t left = ((char *)e + e->target_offset) - (char *)w; in ebt_check_watcher()
537 e->watchers_offset > e->target_offset || in ebt_check_entry_size_and_hooks()
538 e->target_offset >= e->next_offset) { in ebt_check_entry_size_and_hooks()
543 if (e->next_offset - e->target_offset < sizeof(struct ebt_entry_target)) { in ebt_check_entry_size_and_hooks()
638 t = (struct ebt_entry_target *)(((char *)e) + e->target_offset); in ebt_cleanup_entry()
716 t = (struct ebt_entry_target *)(((char *)e) + e->target_offset); in ebt_check_entry()
717 gap = e->next_offset - e->target_offset; in ebt_check_entry()
791 (((char *)e) + e->target_offset); in check_chainloops()
794 if (e->target_offset + sizeof(struct ebt_standard_target) > in check_chainloops()
[all …]
/linux-4.4.14/net/ipv4/netfilter/
Darp_tables.c366 return e->target_offset == sizeof(struct arpt_entry) && in unconditional()
595 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
812 if (copy_to_user(userptr + off + e->target_offset in copy_entries_to_user()
1228 ret = xt_compat_check_entry_offsets(e, e->elems, e->target_offset, in check_compat_entry_size_and_hooks()
1280 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
1471 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1485 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1492 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
Dip_tables.c175 return e->target_offset == sizeof(struct ipt_entry) && in unconditional()
757 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
979 i < e->target_offset; in copy_entries_to_user()
995 if (copy_to_user(userptr + off + e->target_offset in copy_entries_to_user()
1379 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1399 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1405 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1475 e->target_offset, e->next_offset); in check_compat_entry_size_and_hooks()
1542 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
/linux-4.4.14/net/ipv6/netfilter/
Dip6_tables.c205 return e->target_offset == sizeof(struct ip6t_entry) && in unconditional()
769 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
991 i < e->target_offset; in copy_entries_to_user()
1007 if (copy_to_user(userptr + off + e->target_offset in copy_entries_to_user()
1390 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1410 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1416 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1486 e->target_offset, e->next_offset); in check_compat_entry_size_and_hooks()
1552 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
/linux-4.4.14/include/linux/netfilter/
Dx_tables.h243 unsigned int target_offset,
499 unsigned int target_offset,
/linux-4.4.14/drivers/staging/unisys/visorbus/
Dcontrolvmchannel.h473 u32 target_offset; member
Dvisorchipset.c472 ctx->curr = ctx->data + phdr->target_offset; in parser_param_start()
/linux-4.4.14/drivers/md/
Ddm.c1387 sector_t target_offset = dm_target_offset(ti, sector); in max_io_len_target_boundary() local
1389 return ti->len - target_offset; in max_io_len_target_boundary()