Searched refs:seg_desc (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/google/gve/ |
D | gve_tx.c | 414 static void gve_tx_fill_seg_desc(union gve_tx_desc *seg_desc, in gve_tx_fill_seg_desc() argument 418 seg_desc->seg.type_flags = GVE_TXD_SEG; in gve_tx_fill_seg_desc() 421 seg_desc->seg.type_flags |= GVE_TXSF_IPV6; in gve_tx_fill_seg_desc() 422 seg_desc->seg.l3_offset = skb_network_offset(skb) >> 1; in gve_tx_fill_seg_desc() 423 seg_desc->seg.mss = cpu_to_be16(skb_shinfo(skb)->gso_size); in gve_tx_fill_seg_desc() 425 seg_desc->seg.seg_len = cpu_to_be16(len); in gve_tx_fill_seg_desc() 426 seg_desc->seg.seg_addr = cpu_to_be64(addr); in gve_tx_fill_seg_desc() 443 union gve_tx_desc *pkt_desc, *seg_desc; in gve_tx_add_skb_copy() local 495 seg_desc = &tx->desc[next_idx]; in gve_tx_add_skb_copy() 497 gve_tx_fill_seg_desc(seg_desc, skb, is_gso, in gve_tx_add_skb_copy() [all …]
|
/linux-6.1.9/arch/x86/kvm/ |
D | emulate.c | 1586 struct desc_struct seg_desc, old_desc; in __load_segment_descriptor() local 1596 memset(&seg_desc, 0, sizeof(seg_desc)); in __load_segment_descriptor() 1601 ctxt->ops->get_segment(ctxt, &dummy, &seg_desc, NULL, seg); in __load_segment_descriptor() 1602 set_desc_base(&seg_desc, selector << 4); in __load_segment_descriptor() 1606 set_desc_base(&seg_desc, selector << 4); in __load_segment_descriptor() 1607 set_desc_limit(&seg_desc, 0xffff); in __load_segment_descriptor() 1608 seg_desc.type = 3; in __load_segment_descriptor() 1609 seg_desc.p = 1; in __load_segment_descriptor() 1610 seg_desc.s = 1; in __load_segment_descriptor() 1611 seg_desc.dpl = 3; in __load_segment_descriptor() [all …]
|
/linux-6.1.9/drivers/target/ |
D | target_core_xcopy.c | 791 unsigned char *p = NULL, *seg_desc; in target_parse_xcopy_cmd() local 840 seg_desc = &p[16] + tdll; in target_parse_xcopy_cmd() 842 rc = target_xcopy_parse_segment_descriptors(xop, seg_desc, sdll, &ret); in target_parse_xcopy_cmd()
|