Searched refs:vid_hdr (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
D | eba.c | 503 struct ubi_vid_hdr *vid_hdr; in check_mapping() local 548 vid_hdr = ubi_get_vid_hdr(vidb); in check_mapping() 549 found_vol_id = be32_to_cpu(vid_hdr->vol_id); in check_mapping() 550 found_lnum = be32_to_cpu(vid_hdr->lnum); in check_mapping() 601 struct ubi_vid_hdr *vid_hdr; in ubi_eba_read_leb() local 643 vid_hdr = ubi_get_vid_hdr(vidb); in ubi_eba_read_leb() 687 ubi_assert(lnum < be32_to_cpu(vid_hdr->used_ebs)); in ubi_eba_read_leb() 688 ubi_assert(len == be32_to_cpu(vid_hdr->data_size)); in ubi_eba_read_leb() 690 crc = be32_to_cpu(vid_hdr->data_crc); in ubi_eba_read_leb() 812 struct ubi_vid_hdr *vid_hdr; in try_recover_peb() local [all …]
|
D | io.c | 87 const struct ubi_vid_hdr *vid_hdr); 465 struct ubi_vid_hdr vid_hdr; in nor_erase_prepare() local 483 ubi_init_vid_buf(ubi, &vidb, &vid_hdr); in nor_erase_prepare() 484 ubi_assert(&vid_hdr == ubi_get_vid_hdr(&vidb)); in nor_erase_prepare() 833 const struct ubi_vid_hdr *vid_hdr) in validate_vid_hdr() argument 835 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() 836 int copy_flag = vid_hdr->copy_flag; in validate_vid_hdr() 837 int vol_id = be32_to_cpu(vid_hdr->vol_id); in validate_vid_hdr() 838 int lnum = be32_to_cpu(vid_hdr->lnum); in validate_vid_hdr() 839 int compat = vid_hdr->compat; in validate_vid_hdr() [all …]
|
D | attach.c | 297 struct ubi_vid_hdr *vid_hdr, int ec) in add_fastmap() argument 305 aeb->vol_id = be32_to_cpu(vid_hdr->vol_id); in add_fastmap() 306 aeb->sqnum = be64_to_cpu(vid_hdr->sqnum); in add_fastmap() 331 const struct ubi_vid_hdr *vid_hdr, in validate_vid_hdr() argument 334 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() 335 int vol_id = be32_to_cpu(vid_hdr->vol_id); in validate_vid_hdr() 336 int used_ebs = be32_to_cpu(vid_hdr->used_ebs); in validate_vid_hdr() 337 int data_pad = be32_to_cpu(vid_hdr->data_pad); in validate_vid_hdr() 378 ubi_dump_vid_hdr(vid_hdr); in validate_vid_hdr() 398 const struct ubi_vid_hdr *vid_hdr) in add_volume() argument [all …]
|
D | debug.c | 70 void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr) in ubi_dump_vid_hdr() argument 73 pr_err("\tmagic %08x\n", be32_to_cpu(vid_hdr->magic)); in ubi_dump_vid_hdr() 74 pr_err("\tversion %d\n", (int)vid_hdr->version); in ubi_dump_vid_hdr() 75 pr_err("\tvol_type %d\n", (int)vid_hdr->vol_type); in ubi_dump_vid_hdr() 76 pr_err("\tcopy_flag %d\n", (int)vid_hdr->copy_flag); in ubi_dump_vid_hdr() 77 pr_err("\tcompat %d\n", (int)vid_hdr->compat); in ubi_dump_vid_hdr() 78 pr_err("\tvol_id %d\n", be32_to_cpu(vid_hdr->vol_id)); in ubi_dump_vid_hdr() 79 pr_err("\tlnum %d\n", be32_to_cpu(vid_hdr->lnum)); in ubi_dump_vid_hdr() 80 pr_err("\tdata_size %d\n", be32_to_cpu(vid_hdr->data_size)); in ubi_dump_vid_hdr() 81 pr_err("\tused_ebs %d\n", be32_to_cpu(vid_hdr->used_ebs)); in ubi_dump_vid_hdr() [all …]
|
D | vtbl.c | 290 struct ubi_vid_hdr *vid_hdr; in create_vtbl() local 299 vid_hdr = ubi_get_vid_hdr(vidb); in create_vtbl() 308 vid_hdr->vol_type = UBI_LAYOUT_VOLUME_TYPE; in create_vtbl() 309 vid_hdr->vol_id = cpu_to_be32(UBI_LAYOUT_VOLUME_ID); in create_vtbl() 310 vid_hdr->compat = UBI_LAYOUT_VOLUME_COMPAT; in create_vtbl() 311 vid_hdr->data_size = vid_hdr->used_ebs = in create_vtbl() 312 vid_hdr->data_pad = cpu_to_be32(0); in create_vtbl() 313 vid_hdr->lnum = cpu_to_be32(copy); in create_vtbl() 314 vid_hdr->sqnum = cpu_to_be64(++ai->max_sqnum); in create_vtbl() 330 err = ubi_add_to_av(ubi, ai, new_aeb->pnum, new_aeb->ec, vid_hdr, 0); in create_vtbl()
|
D | debug.h | 13 void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr);
|
D | ubi.h | 828 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips); 962 int pnum, const struct ubi_vid_hdr *vid_hdr);
|
D | wl.c | 653 struct ubi_vid_hdr *vid_hdr; local 664 vid_hdr = ubi_get_vid_hdr(vidb); 814 vol_id = be32_to_cpu(vid_hdr->vol_id); 815 lnum = be32_to_cpu(vid_hdr->lnum);
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | hyperv_fb.c | 224 struct synthvid_msg_hdr vid_hdr; member 301 msg->pipe_hdr.size = msg->vid_hdr.size; in synthvid_send() 304 msg->vid_hdr.size + sizeof(struct pipe_msg_hdr), in synthvid_send() 326 msg.vid_hdr.type = SYNTHVID_SITUATION_UPDATE; in synthvid_send_situ() 327 msg.vid_hdr.size = sizeof(struct synthvid_msg_hdr) + in synthvid_send_situ() 349 msg.vid_hdr.type = SYNTHVID_POINTER_POSITION; in synthvid_send_ptr() 350 msg.vid_hdr.size = sizeof(struct synthvid_msg_hdr) + in synthvid_send_ptr() 359 msg.vid_hdr.type = SYNTHVID_POINTER_SHAPE; in synthvid_send_ptr() 360 msg.vid_hdr.size = sizeof(struct synthvid_msg_hdr) + in synthvid_send_ptr() 390 msg.vid_hdr.type = SYNTHVID_DIRT; in synthvid_update() [all …]
|