Home
last modified time | relevance | path

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

12

/openbmc/u-boot/tools/binman/etype/
H A Du_boot_with_ucode_ptr.py34 self.target_offset = None
44 self.target_offset = sym
51 if not self.target_offset:
69 if (self.target_offset < self.image_pos or
70 self.target_offset >= self.image_pos + self.size):
72 (self.target_offset, self.image_pos,
93 self.target_offset -= self.image_pos
94 self.ProcessContentsUpdate(self.data[:self.target_offset] +
96 self.data[self.target_offset + 8:])
H A Du_boot_dtb_with_ucode.py46 if not ucode_dest_entry or not ucode_dest_entry.target_offset:
49 if not ucode_dest_entry or not ucode_dest_entry.target_offset:
52 if not ucode_dest_entry or not ucode_dest_entry.target_offset:
H A Du_boot_ucode.py69 if entry and entry.target_offset:
/openbmc/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()
/openbmc/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()
/openbmc/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) \
/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/scsi/aic7xxx/
H 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()
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 …]
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.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()
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 …]
/openbmc/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()
/openbmc/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()
/openbmc/linux/include/uapi/linux/netfilter/
H A Dx_tables.h136 __i < (e)->target_offset; \
183 (entry)->target_offset); \
/openbmc/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 …]
/openbmc/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()
/openbmc/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()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/arptables/arptables/
H A Darptables-arpt-get-target-fix.patch24 - return (void *)e + e->target_offset;
/openbmc/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()
/openbmc/linux/include/linux/netfilter/
H A Dx_tables.h281 unsigned int target_offset,
533 unsigned int target_offset,
/openbmc/linux/include/uapi/drm/
H A Dtegra_drm.h812 __u64 target_offset; member
/openbmc/linux/drivers/md/
H A Ddm.c1156 sector_t target_offset) in max_io_len_target_boundary() argument
1158 return ti->len - target_offset; in max_io_len_target_boundary()
1165 sector_t target_offset = dm_target_offset(ti, sector); in __max_io_len() local
1166 sector_t len = max_io_len_target_boundary(ti, target_offset); in __max_io_len()
1178 blk_chunk_sectors_left(target_offset, max_granularity))); in __max_io_len()
/openbmc/qemu/block/
H A Dmirror.c589 int64_t target_offset; in mirror_iteration() local
593 &target_offset, &target_bytes); in mirror_iteration()
595 if (target_offset == offset && in mirror_iteration()

12