Home
last modified time | relevance | path

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

/linux-4.4.14/fs/efs/
Dsuper.c159 static efs_block_t efs_validate_vh(struct volume_header *vh) { in module_exit()
167 if (be32_to_cpu(vh->vh_magic) != VHMAGIC) { in module_exit()
176 ui = ((__be32 *) (vh + 1)) - 1; in module_exit()
177 for(csum = 0; ui >= ((__be32 *) vh);) { in module_exit()
187 pr_debug("bf: \"%16s\"\n", vh->vh_bootfile); in module_exit()
194 name[j] = vh->vh_vd[i].vd_name[j]; in module_exit()
200 name, (int) be32_to_cpu(vh->vh_vd[i].vd_lbn), in module_exit()
201 (int) be32_to_cpu(vh->vh_vd[i].vd_nbytes)); in module_exit()
207 pt_type = (int) be32_to_cpu(vh->vh_pt[i].pt_type); in module_exit()
212 if (be32_to_cpu(vh->vh_pt[i].pt_nblks)) { in module_exit()
[all …]
/linux-4.4.14/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-4.4.14/fs/hfsplus/
Dioctl.c31 struct hfsplus_vh *vh = sbi->s_vhdr; in hfsplus_ioctl_bless() local
41 vh->finder_info[0] = bvh->finder_info[0] = in hfsplus_ioctl_bless()
49 vh->finder_info[1] = bvh->finder_info[1] = cpu_to_be32(cnid); in hfsplus_ioctl_bless()
52 vh->finder_info[5] = bvh->finder_info[5] = in hfsplus_ioctl_bless()
/linux-4.4.14/drivers/mtd/ubi/
Dfastmap.c456 struct ubi_vid_hdr *vh; in scan_pool() local
465 vh = ubi_zalloc_vid_hdr(ubi, GFP_KERNEL); in scan_pool()
466 if (!vh) { in scan_pool()
511 err = ubi_io_read_vid_hdr(ubi, pnum, vh, 0); in scan_pool()
536 new_aeb->lnum = be32_to_cpu(vh->lnum); in scan_pool()
537 new_aeb->sqnum = be64_to_cpu(vh->sqnum); in scan_pool()
538 new_aeb->copy_flag = vh->copy_flag; in scan_pool()
544 err = process_pool_aeb(ubi, ai, vh, new_aeb); in scan_pool()
559 ubi_free_vid_hdr(ubi, vh); in scan_pool()
866 struct ubi_vid_hdr *vh; in ubi_scan_fastmap() local
[all …]
Dattach.c329 struct ubi_vid_hdr *vh = NULL; in ubi_compare_lebs() local
372 vh = ubi_zalloc_vid_hdr(ubi, GFP_KERNEL); in ubi_compare_lebs()
373 if (!vh) in ubi_compare_lebs()
377 err = ubi_io_read_vid_hdr(ubi, pnum, vh, 0); in ubi_compare_lebs()
391 vid_hdr = vh; in ubi_compare_lebs()
417 ubi_free_vid_hdr(ubi, vh); in ubi_compare_lebs()
429 ubi_free_vid_hdr(ubi, vh); in ubi_compare_lebs()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/
Dunpack.h9 #define nvif_unpack(d,vl,vh,m) ({ \ argument
13 (d).version <= (vh)) { \
/linux-4.4.14/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-4.4.14/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-4.4.14/include/linux/
Dif_vlan.h499 struct vlan_hdr *vh; in __vlan_get_protocol() local
505 vh = (struct vlan_hdr *)(skb->data + vlan_depth); in __vlan_get_protocol()
506 type = vh->h_vlan_encapsulated_proto; in __vlan_get_protocol()
/linux-4.4.14/drivers/net/
Dvxlan.c517 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum() argument
524 return vh; in vxlan_gro_remcsum()
534 vh = skb_gro_remcsum_process(skb, (void *)vh, off, hdrlen, in vxlan_gro_remcsum()
539 return vh; in vxlan_gro_remcsum()
547 struct vxlanhdr *vh, *vh2; in vxlan_gro_receive() local
558 hlen = off_vx + sizeof(*vh); in vxlan_gro_receive()
559 vh = skb_gro_header_fast(skb, off_vx); in vxlan_gro_receive()
561 vh = skb_gro_header_slow(skb, hlen, off_vx); in vxlan_gro_receive()
562 if (unlikely(!vh)) in vxlan_gro_receive()
566 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_receive()
[all …]
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c307 struct vlan_ethhdr *vh = (struct vlan_ethhdr *)(skb->data); in qlcnic_send_filter() local
322 vh = (struct vlan_ethhdr *)skb->data; in qlcnic_send_filter()
323 vlan_id = ntohs(vh->h_vlan_TCI); in qlcnic_send_filter()
467 struct vlan_ethhdr *vh; in qlcnic_tx_pkt() local
472 vh = (struct vlan_ethhdr *)skb->data; in qlcnic_tx_pkt()
474 vlan_tci = ntohs(vh->h_vlan_TCI); in qlcnic_tx_pkt()
475 protocol = ntohs(vh->h_vlan_encapsulated_proto); in qlcnic_tx_pkt()
525 vh = (struct vlan_ethhdr *)((char *) hwdesc + 2); in qlcnic_tx_pkt()
526 skb_copy_from_linear_data(skb, vh, 12); in qlcnic_tx_pkt()
527 vh->h_vlan_proto = htons(ETH_P_8021Q); in qlcnic_tx_pkt()
[all …]
/linux-4.4.14/drivers/net/ethernet/sfc/
Drx.c857 const struct vlan_hdr *vh = in efx_filter_rfs() local
864 EFX_BUG_ON_PARANOID(skb_headlen(skb) < sizeof(*vh)); in efx_filter_rfs()
865 ether_type = vh->h_vlan_encapsulated_proto; in efx_filter_rfs()
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c1886 struct vlan_ethhdr *vh; in netxen_tso_check() local
1890 vh = (struct vlan_ethhdr *)skb->data; in netxen_tso_check()
1891 protocol = vh->h_vlan_encapsulated_proto; in netxen_tso_check()
1963 vh = (struct vlan_ethhdr *)((char *)hwdesc + 2); in netxen_tso_check()
1964 skb_copy_from_linear_data(skb, vh, 12); in netxen_tso_check()
1965 vh->h_vlan_proto = htons(ETH_P_8021Q); in netxen_tso_check()
1966 vh->h_vlan_TCI = htons(vid); in netxen_tso_check()
1968 (char *)vh + 16, copy_len - 16); in netxen_tso_check()
/linux-4.4.14/kernel/trace/
Dtrace_events_filter.c2323 #define DATA_REC(m, va, vb, vc, vd, ve, vf, vg, vh, nvisit) \ argument
2327 .e = ve, .f = vf, .g = vg, .h = vh }, \
/linux-4.4.14/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c1281 struct vlan_hdr *vh = (struct vlan_hdr *)(skb->data); in myri10ge_vlan_ip_csum() local
1284 (vh->h_vlan_encapsulated_proto == htons(ETH_P_IP) || in myri10ge_vlan_ip_csum()
1285 vh->h_vlan_encapsulated_proto == htons(ETH_P_IPV6))) { in myri10ge_vlan_ip_csum()