Home
last modified time | relevance | path

Searched refs:vh (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-5.10/fs/efs/
H A Dsuper.c48 {0x00, "SGI vh"},
155 static efs_block_t efs_validate_vh(struct volume_header *vh) { in efs_validate_vh() argument
163 if (be32_to_cpu(vh->vh_magic) != VHMAGIC) { in efs_validate_vh()
172 ui = ((__be32 *) (vh + 1)) - 1; in efs_validate_vh()
173 for(csum = 0; ui >= ((__be32 *) vh);) { in efs_validate_vh()
183 pr_debug("bf: \"%16s\"\n", vh->vh_bootfile); in efs_validate_vh()
190 name[j] = vh->vh_vd[i].vd_name[j]; in efs_validate_vh()
195 pr_debug("vh: %8s block: 0x%08x size: 0x%08x\n", in efs_validate_vh()
196 name, (int) be32_to_cpu(vh->vh_vd[i].vd_lbn), in efs_validate_vh()
197 (int) be32_to_cpu(vh in efs_validate_vh()
[all...]
/kernel/linux/linux-6.6/fs/efs/
H A Dsuper.c48 {0x00, "SGI vh"},
155 static efs_block_t efs_validate_vh(struct volume_header *vh) { in efs_validate_vh() argument
163 if (be32_to_cpu(vh->vh_magic) != VHMAGIC) { in efs_validate_vh()
172 ui = ((__be32 *) (vh + 1)) - 1; in efs_validate_vh()
173 for(csum = 0; ui >= ((__be32 *) vh);) { in efs_validate_vh()
183 pr_debug("bf: \"%16s\"\n", vh->vh_bootfile); in efs_validate_vh()
190 name[j] = vh->vh_vd[i].vd_name[j]; in efs_validate_vh()
195 pr_debug("vh: %8s block: 0x%08x size: 0x%08x\n", in efs_validate_vh()
196 name, (int) be32_to_cpu(vh->vh_vd[i].vd_lbn), in efs_validate_vh()
197 (int) be32_to_cpu(vh in efs_validate_vh()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dtap.c309 struct virtio_net_hdr *vh = (struct virtio_net_hdr *)buf; in build_test_packet_valid_udp_gso() local
311 vh->hdr_len = ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr); in build_test_packet_valid_udp_gso()
312 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()
314 vh->csum_offset = __builtin_offsetof(struct udphdr, check); 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()
329 struct virtio_net_hdr *vh = (struct virtio_net_hdr *)buf; in build_test_packet_valid_udp_csum() local
331 vh in build_test_packet_valid_udp_csum()
346 struct virtio_net_hdr *vh = (struct virtio_net_hdr *)buf; build_test_packet_crash_tap_invalid_eth_proto() local
[all...]
H 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()
[all...]
H A Dcsum.c408 struct virtio_net_hdr vh = {0}; in send_packet() local
421 vh.flags = VIRTIO_NET_HDR_F_NEEDS_CSUM; in send_packet()
423 vh.csum_start = sizeof(struct ethhdr) + sizeof(struct ipv6hdr); in send_packet()
426 vh.csum_start = sizeof(struct ethhdr) + sizeof(struct iphdr); in send_packet()
431 vh.csum_start += ENC_HEADER_LEN; in send_packet()
434 vh.csum_offset = __builtin_offsetof(struct tcphdr, check); in send_packet()
435 vh.hdr_len = vh.csum_start + sizeof(struct tcphdr); in send_packet()
437 vh.csum_offset = __builtin_offsetof(struct udphdr, check); in send_packet()
438 vh in send_packet()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H 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()
[all...]
/kernel/linux/linux-6.6/fs/hfsplus/
H 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()
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/
H A Dsolo6x10-v4l2-enc.c89 const vop_header *vh; member
394 static inline int vop_interlaced(const vop_header *vh) in vop_interlaced() argument
396 return (__le32_to_cpu((*vh)[0]) >> 30) & 1; in vop_interlaced()
399 static inline u8 vop_channel(const vop_header *vh) in vop_channel() argument
401 return (__le32_to_cpu((*vh)[0]) >> 24) & 0x1F; in vop_channel()
404 static inline u8 vop_type(const vop_header *vh) in vop_type() argument
406 return (__le32_to_cpu((*vh)[0]) >> 22) & 3; in vop_type()
409 static inline u32 vop_mpeg_size(const vop_header *vh) in vop_mpeg_size() argument
411 return __le32_to_cpu((*vh)[0]) & 0xFFFFF; in vop_mpeg_size()
414 static inline u8 vop_hsize(const vop_header *vh) in vop_hsize() argument
419 vop_vsize(const vop_header *vh) vop_vsize() argument
424 vop_mpeg_offset(const vop_header *vh) vop_mpeg_offset() argument
429 vop_jpeg_offset(const vop_header *vh) vop_jpeg_offset() argument
434 vop_jpeg_size(const vop_header *vh) vop_jpeg_size() argument
439 vop_sec(const vop_header *vh) vop_sec() argument
444 vop_usec(const vop_header *vh) vop_usec() argument
449 solo_fill_jpeg(struct solo_enc_dev *solo_enc, struct vb2_buffer *vb, const vop_header *vh) solo_fill_jpeg() argument
471 solo_fill_mpeg(struct solo_enc_dev *solo_enc, struct vb2_buffer *vb, const vop_header *vh) solo_fill_mpeg() argument
510 const vop_header *vh = enc_buf->vh; solo_enc_fillbuf() local
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/solo6x10/
H A Dsolo6x10-v4l2-enc.c89 const vop_header *vh; member
394 static inline __always_unused int vop_interlaced(const vop_header *vh) in vop_interlaced() argument
396 return (__le32_to_cpu((*vh)[0]) >> 30) & 1; in vop_interlaced()
399 static inline __always_unused u8 vop_channel(const vop_header *vh) in vop_channel() argument
401 return (__le32_to_cpu((*vh)[0]) >> 24) & 0x1F; in vop_channel()
404 static inline u8 vop_type(const vop_header *vh) in vop_type() argument
406 return (__le32_to_cpu((*vh)[0]) >> 22) & 3; in vop_type()
409 static inline u32 vop_mpeg_size(const vop_header *vh) in vop_mpeg_size() argument
411 return __le32_to_cpu((*vh)[0]) & 0xFFFFF; in vop_mpeg_size()
414 static inline u8 __always_unused vop_hsize(const vop_header *vh) in vop_hsize() argument
419 vop_vsize(const vop_header *vh) vop_vsize() argument
424 vop_mpeg_offset(const vop_header *vh) vop_mpeg_offset() argument
429 vop_jpeg_offset(const vop_header *vh) vop_jpeg_offset() argument
434 vop_jpeg_size(const vop_header *vh) vop_jpeg_size() argument
439 vop_sec(const vop_header *vh) vop_sec() argument
444 vop_usec(const vop_header *vh) vop_usec() argument
449 solo_fill_jpeg(struct solo_enc_dev *solo_enc, struct vb2_buffer *vb, const vop_header *vh) solo_fill_jpeg() argument
471 solo_fill_mpeg(struct solo_enc_dev *solo_enc, struct vb2_buffer *vb, const vop_header *vh) solo_fill_mpeg() argument
510 const vop_header *vh = enc_buf->vh; solo_enc_fillbuf() local
[all...]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dkvm_hyp.h18 #define read_sysreg_elx(r,nvh,vh) \
22 __mrs_s("%0", r##vh), \
28 #define write_sysreg_elx(v,r,nvh,vh) \
32 __msr_s(r##vh, "%x0"), \
/kernel/linux/linux-5.10/fs/hfsplus/
H 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()
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dkvm_hyp.h42 #define read_sysreg_elx(r,nvh,vh) \
46 __mrs_s("%0", r##vh), \
52 #define write_sysreg_elx(v,r,nvh,vh) \
56 __msr_s(r##vh, "%x0"), \
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/
H A Dunpack.h14 #define nvif_unpack(r,d,s,m,vl,vh,x) ({ \
16 int _ret = (r), _vl = (vl), _vh = (vh); \
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvif/
H A Dunpack.h14 #define nvif_unpack(r,d,s,m,vl,vh,x) ({ \
16 int _ret = (r), _vl = (vl), _vh = (vh); \
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H 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()
/kernel/linux/linux-5.10/sound/usb/6fire/
H A Dcomm.c56 u8 reg, u8 vl, u8 vh) in usb6fire_comm_init_buffer()
66 buffer[6] = vh; in usb6fire_comm_init_buffer()
125 u8 reg, u8 vl, u8 vh) in usb6fire_comm_write16()
135 usb6fire_comm_init_buffer(buffer, 0x00, request, reg, vl, vh); in usb6fire_comm_write16()
55 usb6fire_comm_init_buffer(u8 *buffer, u8 id, u8 request, u8 reg, u8 vl, u8 vh) usb6fire_comm_init_buffer() argument
124 usb6fire_comm_write16(struct comm_runtime *rt, u8 request, u8 reg, u8 vl, u8 vh) usb6fire_comm_write16() argument
H A Dcomm.h32 u8 vh, u8 vl);
/kernel/linux/linux-6.6/sound/usb/6fire/
H A Dcomm.c56 u8 reg, u8 vl, u8 vh) in usb6fire_comm_init_buffer()
66 buffer[6] = vh; in usb6fire_comm_init_buffer()
125 u8 reg, u8 vl, u8 vh) in usb6fire_comm_write16()
135 usb6fire_comm_init_buffer(buffer, 0x00, request, reg, vl, vh); in usb6fire_comm_write16()
55 usb6fire_comm_init_buffer(u8 *buffer, u8 id, u8 request, u8 reg, u8 vl, u8 vh) usb6fire_comm_init_buffer() argument
124 usb6fire_comm_write16(struct comm_runtime *rt, u8 request, u8 reg, u8 vl, u8 vh) usb6fire_comm_write16() argument
/kernel/linux/linux-5.10/drivers/mtd/ubi/
H A Dfastmap.c107 struct ubi_vid_hdr *vh; in new_fm_vbuf() local
113 vh = ubi_get_vid_hdr(new); in new_fm_vbuf()
114 vh->vol_type = UBI_VID_DYNAMIC; in new_fm_vbuf()
115 vh->vol_id = cpu_to_be32(vol_id); in new_fm_vbuf()
120 vh->compat = UBI_COMPAT_DELETE; in new_fm_vbuf()
405 struct ubi_vid_hdr *vh; in scan_pool() local
420 vh = ubi_get_vid_hdr(vb); in scan_pool()
487 new_aeb->lnum = be32_to_cpu(vh->lnum); in scan_pool()
488 new_aeb->sqnum = be64_to_cpu(vh->sqnum); in scan_pool()
489 new_aeb->copy_flag = vh in scan_pool()
847 struct ubi_vid_hdr *vh; ubi_scan_fastmap() local
1448 struct ubi_vid_hdr *vh; invalidate_fastmap() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/ubi/
H A Dfastmap.c107 struct ubi_vid_hdr *vh; in new_fm_vbuf() local
113 vh = ubi_get_vid_hdr(new); in new_fm_vbuf()
114 vh->vol_type = UBI_VID_DYNAMIC; in new_fm_vbuf()
115 vh->vol_id = cpu_to_be32(vol_id); in new_fm_vbuf()
120 vh->compat = UBI_COMPAT_DELETE; in new_fm_vbuf()
405 struct ubi_vid_hdr *vh; in scan_pool() local
420 vh = ubi_get_vid_hdr(vb); in scan_pool()
487 new_aeb->lnum = be32_to_cpu(vh->lnum); in scan_pool()
488 new_aeb->sqnum = be64_to_cpu(vh->sqnum); in scan_pool()
489 new_aeb->copy_flag = vh in scan_pool()
865 struct ubi_vid_hdr *vh; ubi_scan_fastmap() local
1458 struct ubi_vid_hdr *vh; invalidate_fastmap() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/
H 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()
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/
H 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()
/kernel/linux/linux-5.10/include/linux/
H A Dif_vlan.h608 struct vlan_hdr vhdr, *vh; in __vlan_get_protocol() local
610 vh = skb_header_pointer(skb, vlan_depth, sizeof(vhdr), &vhdr); in __vlan_get_protocol()
611 if (unlikely(!vh || !--parse_depth)) in __vlan_get_protocol()
614 type = vh->h_vlan_encapsulated_proto; in __vlan_get_protocol()
/kernel/linux/linux-6.6/include/linux/
H A Dif_vlan.h611 struct vlan_hdr vhdr, *vh; in __vlan_get_protocol() local
613 vh = skb_header_pointer(skb, vlan_depth, sizeof(vhdr), &vhdr); in __vlan_get_protocol()
614 if (unlikely(!vh || !--parse_depth)) in __vlan_get_protocol()
617 type = vh->h_vlan_encapsulated_proto; in __vlan_get_protocol()

Completed in 14 milliseconds

12