Home
last modified time | relevance | path

Searched refs:segs (Results 51 – 75 of 157) sorted by relevance

1234567

/openbmc/linux/fs/
H A Dbinfmt_elf.c1491 static void fill_elf_header(struct elfhdr *elf, int segs, in fill_elf_header() argument
1509 elf->e_phnum = segs; in fill_elf_header()
2005 elf_addr_t e_shoff, int segs) in fill_extnum_info() argument
2017 shdr4extnum->sh_info = segs; in fill_extnum_info()
2030 int segs, i; in elf_core_dump() local
2043 segs = cprm->vma_count + elf_core_extra_phdrs(cprm); in elf_core_dump()
2046 segs++; in elf_core_dump()
2051 e_phnum = segs > PN_XNUM ? PN_XNUM : segs; in elf_core_dump()
2063 offset += segs * sizeof(struct elf_phdr); /* Program headers */ in elf_core_dump()
2090 fill_extnum_info(&elf, shdr4extnum, e_shoff, segs); in elf_core_dump()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_struct.h153 u64 segs : 2; member
228 u64 segs : 2; member
H A Dotx2_txrx.c267 for (seg = 0; seg < sg->segs; seg++, seg_addr++) in otx2_free_rcv_seg()
333 if (cqe->sg.segs) in otx2_check_rcv_errors()
370 for (seg = 0; seg < sg->segs; seg++, seg_addr++) { in otx2_rcv_pkt_handler()
629 sg->segs = 0; in otx2_sqe_add_sg()
645 sg->segs++; in otx2_sqe_add_sg()
863 sg->segs = 0; in otx2_sqe_tso_add_sg()
876 sg->segs++; in otx2_sqe_tso_add_sg()
1237 if (cqe->sg.segs > 1) { in otx2_cleanup_rx_cqes()
1359 sg->segs = 1; in otx2_xdp_sqe_add_sg()
/openbmc/qemu/target/i386/
H A Dcpu.h1703 SegmentCache segs[6]; /* selector values */ member
2264 sc = &env->segs[seg_reg]; in cpu_x86_load_seg_cache()
2282 new_hflags = (env->segs[R_CS].flags & DESC_B_MASK) in cpu_x86_load_seg_cache()
2297 new_hflags = (env->segs[R_SS].flags & DESC_B_MASK) in cpu_x86_load_seg_cache()
2311 new_hflags |= ((env->segs[R_DS].base | in cpu_x86_load_seg_cache()
2312 env->segs[R_ES].base | in cpu_x86_load_seg_cache()
2313 env->segs[R_SS].base) != 0) << in cpu_x86_load_seg_cache()
2330 env->segs[R_CS].limit, in cpu_x86_load_seg_cache_sipi()
2331 env->segs[R_CS].flags); in cpu_x86_load_seg_cache_sipi()
2485 *cs_base = env->segs[R_CS].base; in cpu_get_tb_cpu_state()
H A Dmonitor.c605 return env->eip + env->segs[R_CS].base; in monitor_get_pc()
610 { name, offsetof(CPUX86State, segs[seg].selector), NULL, MD_I32 },\
611 { name ".base", offsetof(CPUX86State, segs[seg].base) },\
612 { name ".limit", offsetof(CPUX86State, segs[seg].limit), NULL, MD_I32 },
/openbmc/qemu/include/hw/xen/
H A Dxen-legacy-backend.h54 bool to_domain, XenGrantCopySegment segs[],
H A Dxen-bus.h115 XenDeviceGrantCopySegment segs[],
/openbmc/linux/arch/um/drivers/
H A Dubd_kern.c1305 int segs = 0; in ubd_submit_request() local
1311 segs = 0; in ubd_submit_request()
1313 segs = 1; in ubd_submit_request()
1315 segs = blk_rq_nr_phys_segments(req); in ubd_submit_request()
1317 io_req = ubd_alloc_req(dev, req, segs); in ubd_submit_request()
1321 io_req->desc_cnt = segs; in ubd_submit_request()
1322 if (segs) in ubd_submit_request()
/openbmc/linux/include/net/
H A Dip.h530 void __ip_select_ident(struct net *net, struct iphdr *iph, int segs);
533 struct sock *sk, int segs) in ip_select_ident_segs() argument
549 atomic_set(&inet_sk(sk)->inet_id, val + segs); in ip_select_ident_segs()
551 val = atomic_add_return(segs, &inet_sk(sk)->inet_id); in ip_select_ident_segs()
560 __ip_select_ident(net, iph, segs); in ip_select_ident_segs()
/openbmc/linux/fs/smb/server/
H A Dtransport_tcp.c310 unsigned int segs; in ksmbd_tcp_readv() local
329 segs = kvec_array_init(iov, iov_orig, nr_segs, total_read); in ksmbd_tcp_readv()
332 iov, segs, to_read, 0); in ksmbd_tcp_readv()
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pko.h241 uint64_t segs:6; member
246 uint64_t segs:6;
/openbmc/linux/include/linux/
H A Dbio.h176 unsigned segs = 0; in bio_segments() local
195 segs++; in bio_segments()
197 return segs; in bio_segments()
389 unsigned *segs, struct bio_set *bs, unsigned max_bytes);
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_coredump.h90 u16 segs; member
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_flow.h374 struct ice_flow_seg_info segs[ICE_FLOW_SEG_MAX]; member
390 u64 prof_id, struct ice_flow_seg_info *segs, u8 segs_cnt,
/openbmc/linux/net/sched/
H A Dsch_taprio.c594 struct sk_buff *segs, *nskb; in taprio_enqueue_segmented() local
597 segs = skb_gso_segment(skb, features & ~NETIF_F_GSO_MASK); in taprio_enqueue_segmented()
598 if (IS_ERR_OR_NULL(segs)) in taprio_enqueue_segmented()
601 skb_list_walk_safe(segs, segs, nskb) { in taprio_enqueue_segmented()
602 skb_mark_not_on_list(segs); in taprio_enqueue_segmented()
603 qdisc_skb_cb(segs)->pkt_len = segs->len; in taprio_enqueue_segmented()
604 slen += segs->len; in taprio_enqueue_segmented()
609 if (taprio_skb_exceeds_queue_max_sdu(sch, segs)) in taprio_enqueue_segmented()
610 ret = qdisc_drop(segs, sch, to_free); in taprio_enqueue_segmented()
612 ret = taprio_enqueue_one(segs, sch, child, to_free); in taprio_enqueue_segmented()
/openbmc/linux/fs/f2fs/
H A Dgc.c2078 int segs = secs * SEGS_PER_SEC(sbi); in update_sb_metadata() local
2088 raw_sb->segment_count = cpu_to_le32(segment_count + segs); in update_sb_metadata()
2089 raw_sb->segment_count_main = cpu_to_le32(segment_count_main + segs); in update_sb_metadata()
2091 (long long)(segs << sbi->log_blocks_per_seg)); in update_sb_metadata()
2098 cpu_to_le32(dev_segs + segs); in update_sb_metadata()
2106 int segs = secs * SEGS_PER_SEC(sbi); in update_fs_metadata() local
2107 long long blks = (long long)segs << sbi->log_blocks_per_seg; in update_fs_metadata()
2111 SM_I(sbi)->segment_count = (int)SM_I(sbi)->segment_count + segs; in update_fs_metadata()
2112 MAIN_SEGS(sbi) = (int)MAIN_SEGS(sbi) + segs; in update_fs_metadata()
2115 FREE_I(sbi)->free_segments = (int)FREE_I(sbi)->free_segments + segs; in update_fs_metadata()
[all …]
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c3034 fix_pmode_seg(vcpu, VCPU_SREG_CS, &vmx->rmode.segs[VCPU_SREG_CS]); in enter_pmode()
3035 fix_pmode_seg(vcpu, VCPU_SREG_SS, &vmx->rmode.segs[VCPU_SREG_SS]); in enter_pmode()
3114 fix_rmode_seg(VCPU_SREG_SS, &vmx->rmode.segs[VCPU_SREG_SS]); in enter_rmode()
3115 fix_rmode_seg(VCPU_SREG_CS, &vmx->rmode.segs[VCPU_SREG_CS]); in enter_rmode()
3116 fix_rmode_seg(VCPU_SREG_ES, &vmx->rmode.segs[VCPU_SREG_ES]); in enter_rmode()
3117 fix_rmode_seg(VCPU_SREG_DS, &vmx->rmode.segs[VCPU_SREG_DS]); in enter_rmode()
3118 fix_rmode_seg(VCPU_SREG_GS, &vmx->rmode.segs[VCPU_SREG_GS]); in enter_rmode()
3119 fix_rmode_seg(VCPU_SREG_FS, &vmx->rmode.segs[VCPU_SREG_FS]); in enter_rmode()
3508 *var = vmx->rmode.segs[seg]; in vmx_get_segment()
3586 vmx->rmode.segs[seg] = *var; in __vmx_set_segment()
[all …]
/openbmc/linux/fs/nfs/
H A Dnfs42xdr.c1049 struct read_plus_segment *segs; in decode_read_plus() local
1067 segs = kmalloc_array(segments, sizeof(*segs), GFP_KERNEL); in decode_read_plus()
1068 if (!segs) in decode_read_plus()
1072 status = decode_read_plus_segment(xdr, &segs[i]); in decode_read_plus()
1079 res->count += process_read_plus_segment(xdr, args, res, &segs[i-1]); in decode_read_plus()
1083 kfree(segs); in decode_read_plus()
/openbmc/linux/net/netfilter/
H A Dnfnetlink_queue.c841 struct sk_buff *skb, *segs, *nskb; in nfqnl_enqueue_packet() local
869 segs = skb_gso_segment(skb, 0); in nfqnl_enqueue_packet()
874 if (IS_ERR_OR_NULL(segs)) in nfqnl_enqueue_packet()
878 skb_list_walk_safe(segs, segs, nskb) { in nfqnl_enqueue_packet()
881 segs, entry); in nfqnl_enqueue_packet()
885 kfree_skb(segs); in nfqnl_enqueue_packet()
/openbmc/qemu/linux-user/
H A Delfload.c208 (*regs)[17] = tswapreg(env->segs[R_CS].selector & 0xffff); in elf_core_copy_regs()
211 (*regs)[20] = tswapreg(env->segs[R_SS].selector & 0xffff); in elf_core_copy_regs()
212 (*regs)[21] = tswapreg(env->segs[R_FS].selector & 0xffff); in elf_core_copy_regs()
213 (*regs)[22] = tswapreg(env->segs[R_GS].selector & 0xffff); in elf_core_copy_regs()
214 (*regs)[23] = tswapreg(env->segs[R_DS].selector & 0xffff); in elf_core_copy_regs()
215 (*regs)[24] = tswapreg(env->segs[R_ES].selector & 0xffff); in elf_core_copy_regs()
216 (*regs)[25] = tswapreg(env->segs[R_FS].selector & 0xffff); in elf_core_copy_regs()
305 (*regs)[7] = tswapreg(env->segs[R_DS].selector & 0xffff); in elf_core_copy_regs()
306 (*regs)[8] = tswapreg(env->segs[R_ES].selector & 0xffff); in elf_core_copy_regs()
307 (*regs)[9] = tswapreg(env->segs[R_FS].selector & 0xffff); in elf_core_copy_regs()
[all …]
/openbmc/linux/net/ipv4/
H A Daf_inet.c1373 struct sk_buff *segs = ERR_PTR(-EINVAL); in inet_gso_segment() local
1407 segs = ERR_PTR(-EPROTONOSUPPORT); in inet_gso_segment()
1420 segs = ops->callbacks.gso_segment(skb, features); in inet_gso_segment()
1421 if (!segs) in inet_gso_segment()
1425 if (IS_ERR_OR_NULL(segs)) in inet_gso_segment()
1428 gso_partial = !!(skb_shinfo(segs)->gso_type & SKB_GSO_PARTIAL); in inet_gso_segment()
1430 skb = segs; in inet_gso_segment()
1465 return segs; in inet_gso_segment()
H A Dip_output.c250 struct sk_buff *segs, *nskb; in ip_finish_output_gso() local
274 segs = skb_gso_segment(skb, features & ~NETIF_F_GSO_MASK); in ip_finish_output_gso()
275 if (IS_ERR_OR_NULL(segs)) { in ip_finish_output_gso()
282 skb_list_walk_safe(segs, segs, nskb) { in ip_finish_output_gso()
285 skb_mark_not_on_list(segs); in ip_finish_output_gso()
286 err = ip_fragment(net, sk, segs, mtu, ip_finish_output2); in ip_finish_output_gso()
/openbmc/linux/net/ipv6/
H A Dip6_output.c150 struct sk_buff *segs, *nskb; in ip6_finish_output_gso_slowpath_drop() local
159 segs = skb_gso_segment(skb, features & ~NETIF_F_GSO_MASK); in ip6_finish_output_gso_slowpath_drop()
160 if (IS_ERR_OR_NULL(segs)) { in ip6_finish_output_gso_slowpath_drop()
167 skb_list_walk_safe(segs, segs, nskb) { in ip6_finish_output_gso_slowpath_drop()
170 skb_mark_not_on_list(segs); in ip6_finish_output_gso_slowpath_drop()
175 err = segs->len > mtu ? in ip6_finish_output_gso_slowpath_drop()
176 ip6_fragment(net, sk, segs, ip6_finish_output2) : in ip6_finish_output_gso_slowpath_drop()
177 ip6_finish_output2(net, sk, segs); in ip6_finish_output_gso_slowpath_drop()
/openbmc/linux/tools/testing/selftests/net/
H A Dsrv6_end_dt46_l3vpn_test.sh347 encap seg6 mode encap segs ${vpn_sid} dev veth0
349 encap seg6 mode encap segs ${vpn_sid} dev veth0
/openbmc/qemu/hw/i386/
H A Dvapic.c357 if (cpu_memory_rw_debug(CPU(cpu), env->segs[R_FS].base, in get_kpcr_number()
359 kpcr.self != env->segs[R_FS].base) { in get_kpcr_number()
668 rom_paddr = (env->segs[R_CS].base + env->eip) & ROM_BLOCK_MASK; in vapic_write()

1234567