Home
last modified time | relevance | path

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

/Linux-v4.19/fs/efs/
Dsuper.c160 static efs_block_t efs_validate_vh(struct volume_header *vh) { in module_exit()
168 if (be32_to_cpu(vh->vh_magic) != VHMAGIC) { in module_exit()
177 ui = ((__be32 *) (vh + 1)) - 1; in module_exit()
178 for(csum = 0; ui >= ((__be32 *) vh);) { in module_exit()
188 pr_debug("bf: \"%16s\"\n", vh->vh_bootfile); in module_exit()
195 name[j] = vh->vh_vd[i].vd_name[j]; in module_exit()
201 name, (int) be32_to_cpu(vh->vh_vd[i].vd_lbn), in module_exit()
202 (int) be32_to_cpu(vh->vh_vd[i].vd_nbytes)); in module_exit()
208 pt_type = (int) be32_to_cpu(vh->vh_pt[i].pt_type); in module_exit()
213 if (be32_to_cpu(vh->vh_pt[i].pt_nblks)) { in module_exit()
[all …]
/Linux-v4.19/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2-enc.c98 const vop_header *vh; member
403 static inline int vop_interlaced(const vop_header *vh) in vop_interlaced() argument
405 return (__le32_to_cpu((*vh)[0]) >> 30) & 1; in vop_interlaced()
408 static inline u8 vop_channel(const vop_header *vh) in vop_channel() argument
410 return (__le32_to_cpu((*vh)[0]) >> 24) & 0x1F; in vop_channel()
413 static inline u8 vop_type(const vop_header *vh) in vop_type() argument
415 return (__le32_to_cpu((*vh)[0]) >> 22) & 3; in vop_type()
418 static inline u32 vop_mpeg_size(const vop_header *vh) in vop_mpeg_size() argument
420 return __le32_to_cpu((*vh)[0]) & 0xFFFFF; in vop_mpeg_size()
423 static inline u8 vop_hsize(const vop_header *vh) in vop_hsize() argument
[all …]
/Linux-v4.19/tools/testing/selftests/net/
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()
/Linux-v4.19/fs/hfsplus/
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-v4.19/arch/arm64/include/asm/
Dkvm_hyp.h27 #define read_sysreg_elx(r,nvh,vh) \ argument
31 "mrs_s %0, " __stringify(r##vh),\
37 #define write_sysreg_elx(v,r,nvh,vh) \ argument
41 "msr_s " __stringify(r##vh) ", %x0",\
/Linux-v4.19/sound/usb/6fire/
Dcomm.c60 u8 reg, u8 vl, u8 vh) in usb6fire_comm_init_buffer() argument
70 buffer[6] = vh; in usb6fire_comm_init_buffer()
129 u8 reg, u8 vl, u8 vh) in usb6fire_comm_write16() argument
139 usb6fire_comm_init_buffer(buffer, 0x00, request, reg, vl, vh); in usb6fire_comm_write16()
Dcomm.h36 u8 vh, u8 vl);
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
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-v4.19/drivers/mtd/ubi/
Dfastmap.c116 struct ubi_vid_hdr *vh; in new_fm_vbuf() local
122 vh = ubi_get_vid_hdr(new); in new_fm_vbuf()
123 vh->vol_type = UBI_VID_DYNAMIC; in new_fm_vbuf()
124 vh->vol_id = cpu_to_be32(vol_id); in new_fm_vbuf()
129 vh->compat = UBI_COMPAT_DELETE; in new_fm_vbuf()
414 struct ubi_vid_hdr *vh; in scan_pool() local
429 vh = ubi_get_vid_hdr(vb); in scan_pool()
494 new_aeb->lnum = be32_to_cpu(vh->lnum); in scan_pool()
495 new_aeb->sqnum = be64_to_cpu(vh->sqnum); in scan_pool()
496 new_aeb->copy_flag = vh->copy_flag; in scan_pool()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/include/nvif/
Dunpack.h14 #define nvif_unpack(r,d,s,m,vl,vh,x) ({ \ argument
16 int _ret = (r), _vl = (vl), _vh = (vh); \
/Linux-v4.19/include/linux/
Dif_vlan.h579 struct vlan_hdr *vh; in __vlan_get_protocol() local
585 vh = (struct vlan_hdr *)(skb->data + vlan_depth); in __vlan_get_protocol()
586 type = vh->h_vlan_encapsulated_proto; in __vlan_get_protocol()
/Linux-v4.19/net/openvswitch/
Dflow.c319 struct vlan_head *vh = (struct vlan_head *)skb->data; in parse_vlan_tag() local
321 if (likely(!eth_type_vlan(vh->tpid))) in parse_vlan_tag()
331 vh = (struct vlan_head *)skb->data; in parse_vlan_tag()
332 key_vh->tci = vh->tci | htons(VLAN_TAG_PRESENT); in parse_vlan_tag()
333 key_vh->tpid = vh->tpid; in parse_vlan_tag()
Dflow_netlink.c1919 static int ovs_nla_put_vlan(struct sk_buff *skb, const struct vlan_head *vh, in ovs_nla_put_vlan() argument
1922 __be16 eth_type = !is_mask ? vh->tpid : htons(0xffff); in ovs_nla_put_vlan()
1925 nla_put_be16(skb, OVS_KEY_ATTR_VLAN, vh->tci)) in ovs_nla_put_vlan()
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c306 struct vlan_ethhdr *vh = (struct vlan_ethhdr *)(skb->data); in qlcnic_send_filter() local
321 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()
524 vh = (struct vlan_ethhdr *)((char *) hwdesc + 2); in qlcnic_tx_pkt()
525 skb_copy_from_linear_data(skb, vh, 12); in qlcnic_tx_pkt()
526 vh->h_vlan_proto = htons(ETH_P_8021Q); in qlcnic_tx_pkt()
[all …]
/Linux-v4.19/drivers/net/
Dvxlan.c547 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum() argument
555 return vh; in vxlan_gro_remcsum()
563 vh = skb_gro_remcsum_process(skb, (void *)vh, off, hdrlen, in vxlan_gro_remcsum()
568 return vh; in vxlan_gro_remcsum()
577 struct vxlanhdr *vh, *vh2; in vxlan_gro_receive() local
587 hlen = off_vx + sizeof(*vh); in vxlan_gro_receive()
588 vh = skb_gro_header_fast(skb, off_vx); in vxlan_gro_receive()
590 vh = skb_gro_header_slow(skb, hlen, off_vx); in vxlan_gro_receive()
591 if (unlikely(!vh)) in vxlan_gro_receive()
595 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_receive()
[all …]
Dthunderbolt.c933 struct vlan_hdr *vhdr, vh; in tbnet_xmit_csum_and_map() local
935 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(vh), &vh); in tbnet_xmit_csum_and_map()
/Linux-v4.19/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c1888 struct vlan_ethhdr *vh; in netxen_tso_check() local
1892 vh = (struct vlan_ethhdr *)skb->data; in netxen_tso_check()
1893 protocol = vh->h_vlan_encapsulated_proto; in netxen_tso_check()
1965 vh = (struct vlan_ethhdr *)((char *)hwdesc + 2); in netxen_tso_check()
1966 skb_copy_from_linear_data(skb, vh, 12); in netxen_tso_check()
1967 vh->h_vlan_proto = htons(ETH_P_8021Q); in netxen_tso_check()
1968 vh->h_vlan_TCI = htons(vid); in netxen_tso_check()
1970 (char *)vh + 16, copy_len - 16); in netxen_tso_check()
/Linux-v4.19/kernel/trace/
Dtrace_events_filter.c2072 #define DATA_REC(m, va, vb, vc, vd, ve, vf, vg, vh, nvisit) \ argument
2076 .e = ve, .f = vf, .g = vg, .h = vh }, \
/Linux-v4.19/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c1180 struct vlan_hdr *vh = (struct vlan_hdr *)(skb->data); in myri10ge_vlan_ip_csum() local
1183 (vh->h_vlan_encapsulated_proto == htons(ETH_P_IP) || in myri10ge_vlan_ip_csum()
1184 vh->h_vlan_encapsulated_proto == htons(ETH_P_IPV6))) { in myri10ge_vlan_ip_csum()