Home
last modified time | relevance | path

Searched refs:vh (Results 1 – 24 of 24) sorted by relevance

/linux-6.3-rc2/fs/efs/
A Dsuper.c163 if (be32_to_cpu(vh->vh_magic) != VHMAGIC) { in module_exit()
172 ui = ((__be32 *) (vh + 1)) - 1; in module_exit()
173 for(csum = 0; ui >= ((__be32 *) vh);) { in module_exit()
183 pr_debug("bf: \"%16s\"\n", vh->vh_bootfile); in module_exit()
190 name[j] = vh->vh_vd[i].vd_name[j]; in module_exit()
196 name, (int) be32_to_cpu(vh->vh_vd[i].vd_lbn), in module_exit()
197 (int) be32_to_cpu(vh->vh_vd[i].vd_nbytes)); in module_exit()
208 if (be32_to_cpu(vh->vh_pt[i].pt_nblks)) { in module_exit()
210 i, (int)be32_to_cpu(vh->vh_pt[i].pt_firstlbn), in module_exit()
211 (int)be32_to_cpu(vh->vh_pt[i].pt_nblks), in module_exit()
[all …]
/linux-6.3-rc2/tools/testing/selftests/net/
A Dtap.c312 vh->flags = VIRTIO_NET_HDR_F_NEEDS_CSUM; in build_test_packet_valid_udp_gso()
313 vh->csum_start = ETH_HLEN + sizeof(struct iphdr); in build_test_packet_valid_udp_gso()
315 vh->gso_type = VIRTIO_NET_HDR_GSO_UDP; in build_test_packet_valid_udp_gso()
316 vh->gso_size = ETH_DATA_LEN - sizeof(struct iphdr); in build_test_packet_valid_udp_gso()
317 cur += sizeof(*vh); in build_test_packet_valid_udp_gso()
331 vh->flags = VIRTIO_NET_HDR_F_DATA_VALID; in build_test_packet_valid_udp_csum()
332 vh->gso_type = VIRTIO_NET_HDR_GSO_NONE; in build_test_packet_valid_udp_csum()
333 cur += sizeof(*vh); in build_test_packet_valid_udp_csum()
349 vh->flags = 0; in build_test_packet_crash_tap_invalid_eth_proto()
350 vh->gso_type = VIRTIO_NET_HDR_GSO_UDP; in build_test_packet_crash_tap_invalid_eth_proto()
[all …]
A Dpsock_snd.c78 struct virtio_net_hdr *vh = header; in build_vnet_header() local
80 vh->hdr_len = ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr); in build_vnet_header()
83 vh->flags |= VIRTIO_NET_HDR_F_NEEDS_CSUM; in build_vnet_header()
84 vh->csum_start = ETH_HLEN + sizeof(struct iphdr); in build_vnet_header()
85 vh->csum_offset = __builtin_offsetof(struct udphdr, check); in build_vnet_header()
89 vh->csum_start += sizeof(struct udphdr) + cfg_payload_len - in build_vnet_header()
90 vh->csum_offset - 1; in build_vnet_header()
94 vh->gso_type = VIRTIO_NET_HDR_GSO_UDP; in build_vnet_header()
95 vh->gso_size = cfg_mtu - sizeof(struct iphdr); in build_vnet_header()
98 return sizeof(*vh); in build_vnet_header()
A Dcsum.c406 struct virtio_net_hdr vh = {0}; in send_packet() local
419 vh.flags = VIRTIO_NET_HDR_F_NEEDS_CSUM; in send_packet()
424 vh.csum_start = sizeof(struct ethhdr) + sizeof(struct iphdr); in send_packet()
429 vh.csum_start += ENC_HEADER_LEN; in send_packet()
432 vh.csum_offset = __builtin_offsetof(struct tcphdr, check); in send_packet()
433 vh.hdr_len = vh.csum_start + sizeof(struct tcphdr); in send_packet()
435 vh.csum_offset = __builtin_offsetof(struct udphdr, check); in send_packet()
436 vh.hdr_len = vh.csum_start + sizeof(struct udphdr); in send_packet()
443 iov[0].iov_base = &vh; in send_packet()
444 iov[0].iov_len = sizeof(vh); in send_packet()
[all …]
/linux-6.3-rc2/drivers/media/pci/solo6x10/
A Dsolo6x10-v4l2-enc.c89 const vop_header *vh; member
421 return __le32_to_cpu((*vh)[1]) & 0xFF; in vop_vsize()
426 return __le32_to_cpu((*vh)[2]); in vop_mpeg_offset()
431 return __le32_to_cpu((*vh)[3]); in vop_jpeg_offset()
441 return __le32_to_cpu((*vh)[5]); in vop_sec()
446 return __le32_to_cpu((*vh)[6]); in vop_usec()
486 if (!vop_type(vh)) { in solo_fill_mpeg()
510 const vop_header *vh = enc_buf->vh; in solo_enc_fillbuf() local
516 ret = solo_fill_mpeg(solo_enc, vb, vh); in solo_enc_fillbuf()
617 enc_buf.vh = solo_dev->vh_buf; in solo_handle_ring()
[all …]
/linux-6.3-rc2/fs/hfsplus/
A Dioctl.c32 struct hfsplus_vh *vh = sbi->s_vhdr; in hfsplus_ioctl_bless() local
42 vh->finder_info[0] = bvh->finder_info[0] = in hfsplus_ioctl_bless()
50 vh->finder_info[1] = bvh->finder_info[1] = cpu_to_be32(cnid); in hfsplus_ioctl_bless()
53 vh->finder_info[5] = bvh->finder_info[5] = in hfsplus_ioctl_bless()
/linux-6.3-rc2/arch/arm64/include/asm/
A Dkvm_hyp.h19 #define read_sysreg_elx(r,nvh,vh) \ argument
23 __mrs_s("%0", r##vh), \
29 #define write_sysreg_elx(v,r,nvh,vh) \ argument
33 __msr_s(r##vh, "%x0"), \
/linux-6.3-rc2/sound/usb/6fire/
A Dcomm.c56 u8 reg, u8 vl, u8 vh) in usb6fire_comm_init_buffer() argument
66 buffer[6] = vh; in usb6fire_comm_init_buffer()
125 u8 reg, u8 vl, u8 vh) in usb6fire_comm_write16() argument
135 usb6fire_comm_init_buffer(buffer, 0x00, request, reg, vl, vh); in usb6fire_comm_write16()
A Dcomm.h32 u8 vh, u8 vl);
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
A Dgddr5.c37 int pd, lf, xd, vh, vr, vo, l3; in nvkm_gddr5_calc() local
47 vh = ram->next->bios.ramcfg_11_02_10; in nvkm_gddr5_calc()
114 ram->mr[7] |= (vh & 0x01) << 7; in nvkm_gddr5_calc()
/linux-6.3-rc2/drivers/mtd/ubi/
A Dfastmap.c106 struct ubi_vid_hdr *vh; in new_fm_vbuf() local
112 vh = ubi_get_vid_hdr(new); in new_fm_vbuf()
113 vh->vol_type = UBI_VID_DYNAMIC; in new_fm_vbuf()
119 vh->compat = UBI_COMPAT_DELETE; in new_fm_vbuf()
404 struct ubi_vid_hdr *vh; in scan_pool() local
419 vh = ubi_get_vid_hdr(vb); in scan_pool()
864 struct ubi_vid_hdr *vh; in ubi_scan_fastmap() local
952 vh = ubi_get_vid_hdr(vb); in ubi_scan_fastmap()
1006 be32_to_cpu(vh->vol_id), in ubi_scan_fastmap()
1457 struct ubi_vid_hdr *vh; in invalidate_fastmap() local
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvif/
A Dunpack.h14 #define nvif_unpack(r,d,s,m,vl,vh,x) ({ \ argument
16 int _ret = (r), _vl = (vl), _vh = (vh); \
/linux-6.3-rc2/include/linux/
A Dif_vlan.h602 struct vlan_hdr vhdr, *vh; in __vlan_get_protocol() local
604 vh = skb_header_pointer(skb, vlan_depth, sizeof(vhdr), &vhdr); in __vlan_get_protocol()
605 if (unlikely(!vh || !--parse_depth)) in __vlan_get_protocol()
608 type = vh->h_vlan_encapsulated_proto; in __vlan_get_protocol()
/linux-6.3-rc2/tools/testing/selftests/netfilter/
A Dnf-queue.c170 struct nfqnl_msg_verdict_hdr vh = { in nfq_build_verdict() local
185 mnl_attr_put(nlh, NFQA_VERDICT_HDR, sizeof(vh), &vh); in nfq_build_verdict()
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_io.c321 vh = (struct vlan_ethhdr *)skb->data; in qlcnic_send_filter()
322 vlan_id = ntohs(vh->h_vlan_TCI); in qlcnic_send_filter()
466 struct vlan_ethhdr *vh; in qlcnic_tx_pkt() local
471 vh = (struct vlan_ethhdr *)skb->data; in qlcnic_tx_pkt()
473 vlan_tci = ntohs(vh->h_vlan_TCI); in qlcnic_tx_pkt()
474 protocol = ntohs(vh->h_vlan_encapsulated_proto); in qlcnic_tx_pkt()
526 vh = (struct vlan_ethhdr *)((char *) hwdesc + 2); in qlcnic_tx_pkt()
527 skb_copy_from_linear_data(skb, vh, 12); in qlcnic_tx_pkt()
528 vh->h_vlan_proto = htons(ETH_P_8021Q); in qlcnic_tx_pkt()
529 vh->h_vlan_TCI = htons(vlan_tci); in qlcnic_tx_pkt()
[all …]
/linux-6.3-rc2/net/openvswitch/
A Dflow.c453 struct vlan_head *vh = (struct vlan_head *)skb->data; in parse_vlan_tag() local
455 if (likely(!eth_type_vlan(vh->tpid))) in parse_vlan_tag()
465 vh = (struct vlan_head *)skb->data; in parse_vlan_tag()
466 key_vh->tci = vh->tci | htons(VLAN_CFI_MASK); in parse_vlan_tag()
467 key_vh->tpid = vh->tpid; in parse_vlan_tag()
A Dflow_netlink.c1969 static int ovs_nla_put_vlan(struct sk_buff *skb, const struct vlan_head *vh, in ovs_nla_put_vlan() argument
1972 __be16 eth_type = !is_mask ? vh->tpid : htons(0xffff); in ovs_nla_put_vlan()
1975 nla_put_be16(skb, OVS_KEY_ATTR_VLAN, vh->tci)) in ovs_nla_put_vlan()
/linux-6.3-rc2/Documentation/devicetree/bindings/ufs/
A Dsamsung,exynos-ufs.yaml23 - samsung,exynosautov9-ufs-vh
/linux-6.3-rc2/drivers/net/vxlan/
A Dvxlan_core.c683 return vh; in vxlan_gro_remcsum()
691 vh = skb_gro_remcsum_process(skb, (void *)vh, off, hdrlen, in vxlan_gro_remcsum()
696 return vh; in vxlan_gro_remcsum()
705 struct vxlanhdr *vh, *vh2; in vxlan_gro_receive() local
715 hlen = off_vx + sizeof(*vh); in vxlan_gro_receive()
717 if (unlikely(!vh)) in vxlan_gro_receive()
722 flags = vh->vx_flags; in vxlan_gro_receive()
725 vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr), in vxlan_gro_receive()
726 vh->vx_vni, &grc, in vxlan_gro_receive()
730 if (!vh) in vxlan_gro_receive()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/qlogic/netxen/
A Dnetxen_nic_main.c1861 struct vlan_ethhdr *vh; in netxen_tso_check() local
1865 vh = (struct vlan_ethhdr *)skb->data; in netxen_tso_check()
1866 protocol = vh->h_vlan_encapsulated_proto; in netxen_tso_check()
1938 vh = (struct vlan_ethhdr *)((char *)hwdesc + 2); in netxen_tso_check()
1939 skb_copy_from_linear_data(skb, vh, 12); in netxen_tso_check()
1940 vh->h_vlan_proto = htons(ETH_P_8021Q); in netxen_tso_check()
1941 vh->h_vlan_TCI = htons(vid); in netxen_tso_check()
1943 (char *)vh + 16, copy_len - 16); in netxen_tso_check()
/linux-6.3-rc2/drivers/net/thunderbolt/
A Dmain.c1018 struct vlan_hdr *vhdr, vh; in tbnet_xmit_csum_and_map() local
1020 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(vh), &vh); in tbnet_xmit_csum_and_map()
/linux-6.3-rc2/drivers/ufs/host/
A Dufs-exynos.c91 #define MHCTRL_EN_VH(vh) (vh << 1) argument
/linux-6.3-rc2/kernel/trace/
A Dtrace_events_filter.c2392 #define DATA_REC(m, va, vb, vc, vd, ve, vf, vg, vh, nvisit) \ argument
2396 .e = ve, .f = vf, .g = vg, .h = vh }, \
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_enet.c3808 struct vlan_hdr *vh; in hns3_gro_complete() local
3813 vh = (struct vlan_hdr *)(skb->data + depth); in hns3_gro_complete()
3814 type = vh->h_vlan_encapsulated_proto; in hns3_gro_complete()

Completed in 71 milliseconds