Home
last modified time | relevance | path

Searched refs:orig_offset (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/net/strparser/
H A Dstrparser.c90 unsigned int orig_offset, size_t orig_len, in __strp_recv() argument
107 if (unlikely(orig_offset)) { in __strp_recv()
119 if (!pskb_pull(orig_skb, orig_offset)) { in __strp_recv()
126 orig_offset = 0; in __strp_recv()
188 stm->strp.offset = orig_offset + eaten; in __strp_recv()
318 unsigned int orig_offset, size_t orig_len, in strp_process() argument
325 return __strp_recv(&desc, orig_skb, orig_offset, orig_len, in strp_process()
331 unsigned int orig_offset, size_t orig_len) in strp_recv() argument
335 return __strp_recv(desc, orig_skb, orig_offset, orig_len, in strp_recv()
/openbmc/linux/arch/arm64/kernel/
H A Dalternative.c24 #define ALT_ORIG_PTR(a) __ALT_PTR(a, orig_offset)
81 s32 orig_offset, new_offset; in get_alt_insn() local
89 orig_offset = aarch64_insn_adrp_get_offset(insn); in get_alt_insn()
90 target = align_down(altinsnptr, SZ_4K) + orig_offset; in get_alt_insn()
/openbmc/linux/arch/parisc/kernel/
H A Dalternative.c52 from = (u32 *)((ulong)&entry->orig_offset + entry->orig_offset); in apply_alternatives()
/openbmc/linux/arch/arm64/include/asm/
H A Dalternative-macros.h94 .macro altinstruction_entry orig_offset alt_offset cpucap orig_len alt_len
95 .word \orig_offset - .
H A Dalternative.h14 s32 orig_offset; /* offset to original instruction */ member
/openbmc/linux/arch/parisc/include/asm/
H A Dalternative.h24 s32 orig_offset; /* offset to original instructions */ member
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_tmr.c523 (seq->offset - seq->orig_offset); in iscsit_task_reassign_prepare_unsolicited_dataout()
526 seq->offset = seq->orig_offset; in iscsit_task_reassign_prepare_unsolicited_dataout()
679 (seq->offset - seq->orig_offset); in iscsit_task_reassign_prepare_write()
681 seq->offset = seq->orig_offset; in iscsit_task_reassign_prepare_write()
H A Discsi_target_seq_pdu_list.h77 u32 orig_offset; member
H A Discsi_target_seq_pdu_list.c323 seq[seq_no].orig_offset = offset; in iscsit_do_build_pdu_and_seq_lists()
677 cmd->seq_list[i].orig_offset, cmd->seq_list[i].xfer_len, in iscsit_get_seq_holder()
680 if ((cmd->seq_list[i].orig_offset + in iscsit_get_seq_holder()
H A Discsi_target_erl1.c706 *r2t_offset = seq->orig_offset; in iscsit_recalculate_dataout_values()
709 cmd->write_data_done -= (seq->offset - seq->orig_offset); in iscsit_recalculate_dataout_values()
714 seq->offset = seq->orig_offset; in iscsit_recalculate_dataout_values()
/openbmc/qemu/block/
H A Dnbd.c580 uint8_t *payload, uint64_t orig_offset, in nbd_parse_offset_hole_payload() argument
595 if (!hole_size || offset < orig_offset || hole_size > qiov->size || in nbd_parse_offset_hole_payload()
596 offset > orig_offset + qiov->size - hole_size) { in nbd_parse_offset_hole_payload()
606 qemu_iovec_memset(qiov, offset - orig_offset, 0, hole_size); in nbd_parse_offset_hole_payload()
757 nbd_co_receive_offset_data_payload(BDRVNBDState *s, uint64_t orig_offset, in nbd_co_receive_offset_data_payload() argument
781 if (offset < orig_offset || data_size > qiov->size || in nbd_co_receive_offset_data_payload()
782 offset > orig_offset + qiov->size - data_size) { in nbd_co_receive_offset_data_payload()
792 qemu_iovec_concat(&sub_qiov, qiov, offset - orig_offset, data_size); in nbd_co_receive_offset_data_payload()
/openbmc/linux/include/net/
H A Dstrparser.h167 unsigned int orig_offset, size_t orig_len,
/openbmc/qemu/tests/qemu-iotests/
H A Dcommon.pattern104 local orig_offset=$1
/openbmc/linux/fs/btrfs/
H A Dfile.c555 u64 objectid, u64 bytenr, u64 orig_offset, in extent_mergeable() argument
572 btrfs_file_extent_offset(leaf, fi) != key.offset - orig_offset || in extent_mergeable()
607 u64 orig_offset; in btrfs_mark_extent_written() local
657 orig_offset = key.offset - btrfs_file_extent_offset(leaf, fi); in btrfs_mark_extent_written()
664 ino, bytenr, orig_offset, in btrfs_mark_extent_written()
675 end - orig_offset); in btrfs_mark_extent_written()
691 ino, bytenr, orig_offset, in btrfs_mark_extent_written()
710 start - orig_offset); in btrfs_mark_extent_written()
742 btrfs_set_file_extent_offset(leaf, fi, split - orig_offset); in btrfs_mark_extent_written()
750 orig_offset, 0, false); in btrfs_mark_extent_written()
[all …]
H A Dctree.c4079 u32 orig_offset; in split_item() local
4091 orig_offset = btrfs_item_offset(leaf, path->slots[0]); in split_item()
4111 btrfs_set_item_offset(leaf, slot, orig_offset); in split_item()
4115 orig_offset + item_size - split_offset); in split_item()
/openbmc/linux/net/core/
H A Dskmsg.c37 u32 orig_offset; in sk_msg_alloc() local
45 orig_offset = pfrag->offset; in sk_msg_alloc()
46 use = min_t(int, len, pfrag->size - orig_offset); in sk_msg_alloc()
58 sge->offset + sge->length == orig_offset) { in sk_msg_alloc()
68 sg_set_page(sge, pfrag->page, use, orig_offset); in sk_msg_alloc()
/openbmc/linux/fs/xfs/
H A Dxfs_bmap_util.c77 xfs_fileoff_t orig_offset = ap->offset; in xfs_bmap_rtalloc() local
107 if (ap->offset != orig_offset) in xfs_bmap_rtalloc()
108 minlen += orig_offset - ap->offset; in xfs_bmap_rtalloc()
198 ap->offset = orig_offset; in xfs_bmap_rtalloc()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_bmap.c3367 xfs_fileoff_t orig_offset, in xfs_bmap_process_allocated_extent() argument
3385 ap->offset = orig_offset; in xfs_bmap_process_allocated_extent()
3386 else if (ap->offset + ap->length < orig_offset + orig_length) in xfs_bmap_process_allocated_extent()
3387 ap->offset = orig_offset + orig_length - ap->length; in xfs_bmap_process_allocated_extent()
3398 xfs_fileoff_t orig_offset; in xfs_bmap_exact_minlen_extent_alloc() local
3410 orig_offset = ap->offset; in xfs_bmap_exact_minlen_extent_alloc()
3444 xfs_bmap_process_allocated_extent(ap, &args, orig_offset, in xfs_bmap_exact_minlen_extent_alloc()
3701 xfs_fileoff_t orig_offset; in xfs_bmap_btalloc() local
3707 orig_offset = ap->offset; in xfs_bmap_btalloc()
3724 xfs_bmap_process_allocated_extent(ap, &args, orig_offset, in xfs_bmap_btalloc()
/openbmc/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_hwi.c1502 u32 orig_offset = offset; in bnx2fc_init_seq_cleanup_task() local
1564 task->rxwr_only.rx_seq_ctx.low_exp_ro = orig_offset; in bnx2fc_init_seq_cleanup_task()
1565 task->rxwr_only.rx_seq_ctx.high_exp_ro = orig_offset; in bnx2fc_init_seq_cleanup_task()
/openbmc/linux/Documentation/networking/
H A Dstrparser.rst85 unsigned int orig_offset, size_t orig_len,
/openbmc/linux/net/mptcp/
H A Dprotocol.c1113 int orig_offset) in mptcp_carve_data_frag() argument
1115 int offset = ALIGN(orig_offset, sizeof(long)); in mptcp_carve_data_frag()
1121 dfrag->overhead = offset - orig_offset + sizeof(struct mptcp_data_frag); in mptcp_carve_data_frag()
/openbmc/linux/tools/perf/util/
H A Dheader.c2378 u64 limit = offset + size, orig_offset = offset; in perf_header__read_build_ids() local
2407 if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1) in perf_header__read_build_ids()