Searched refs:data_pad (Results 1 – 11 of 11) sorted by relevance
/drivers/mtd/ubi/ |
D | vtbl.c | 173 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; in vtbl_check() local 183 data_pad = be32_to_cpu(vtbl[i].data_pad); in vtbl_check() 206 if (reserved_pebs < 0 || alignment < 0 || data_pad < 0 || in vtbl_check() 224 if (data_pad != n) { in vtbl_check() 322 vid_hdr->data_pad = cpu_to_be32(0); in create_vtbl() 550 vol->data_pad = be32_to_cpu(vtbl[i].data_pad); in init_volumes() 555 vol->usable_leb_size = ubi->leb_size - vol->data_pad; in init_volumes() 636 (long long)vol->used_ebs * (ubi->leb_size - vol->data_pad); in init_volumes() 689 if (av->data_pad != vol->data_pad) { in check_av()
|
D | vmt.c | 230 vol->data_pad = ubi->leb_size % vol->alignment; in ubi_create_volume() 301 vtbl_rec.data_pad = cpu_to_be32(vol->data_pad); in ubi_create_volume() 666 int reserved_pebs, alignment, data_pad, vol_type, name_len, upd_marker; in self_check_volume() local 684 if (vol->reserved_pebs < 0 || vol->alignment < 0 || vol->data_pad < 0 || in self_check_volume() 701 if (vol->data_pad != n) { in self_check_volume() 722 n = ubi->leb_size - vol->data_pad; in self_check_volume() 723 if (vol->usable_leb_size != ubi->leb_size - vol->data_pad) { in self_check_volume() 776 data_pad = be32_to_cpu(ubi->vtbl[vol_id].data_pad); in self_check_volume() 785 if (alignment != vol->alignment || data_pad != vol->data_pad || in self_check_volume()
|
D | ubi-media.h | 289 __be32 data_pad; member 368 __be32 data_pad; member 494 __be32 data_pad; member
|
D | attach.c | 233 int data_pad = be32_to_cpu(vid_hdr->data_pad); in validate_vid_hdr() local 264 if (data_pad != av->data_pad) { in validate_vid_hdr() 324 av->data_pad = be32_to_cpu(vid_hdr->data_pad); in add_volume() 1602 av->data_pad < 0 || av->last_data_size < 0) { in self_check_ai() 1625 if (av->data_pad > ubi->leb_size / 2) { in self_check_ai() 1752 if (av->data_pad != be32_to_cpu(vidh->data_pad)) { in self_check_ai() 1753 ubi_err(ubi, "bad data_pad %d", av->data_pad); in self_check_ai()
|
D | debug.c | 94 pr_err("\tdata_pad %d\n", be32_to_cpu(vid_hdr->data_pad)); in ubi_dump_vid_hdr() 113 pr_err("\tdata_pad %d\n", vol->data_pad); in ubi_dump_vol_info() 145 pr_err("\tdata_pad %d\n", be32_to_cpu(r->data_pad)); in ubi_dump_vtbl_record() 180 pr_err("\tdata_pad %d\n", av->data_pad); in ubi_dump_av()
|
D | eba.c | 821 vid_hdr->data_pad = cpu_to_be32(vol->data_pad); in ubi_eba_write_leb() 938 vid_hdr->data_pad = cpu_to_be32(vol->data_pad); in ubi_eba_write_leb_st() 1059 vid_hdr->data_pad = cpu_to_be32(vol->data_pad); in ubi_eba_atomic_leb_change() 1193 ubi->leb_size - be32_to_cpu(vid_hdr->data_pad); in ubi_eba_copy_leb()
|
D | io.c | 887 int data_pad = be32_to_cpu(vid_hdr->data_pad); in validate_vid_hdr() local 889 int usable_leb_size = ubi->leb_size - data_pad; in validate_vid_hdr() 897 data_pad < 0) { in validate_vid_hdr() 924 if (data_pad >= ubi->leb_size / 2) { in validate_vid_hdr()
|
D | fastmap.c | 183 int used_ebs, int data_pad, u8 vol_type, in add_vol() argument 207 av->data_pad = data_pad; in add_vol() 749 be32_to_cpu(fmvhdr->data_pad), in ubi_attach_fastmap() 1292 fvh->data_pad = cpu_to_be32(vol->data_pad); in ubi_write_fastmap()
|
D | ubi.h | 333 int data_pad; member 688 int data_pad; member
|
D | cdev.c | 419 ubi->leb_size-vol->data_pad; in vol_cdev_ioctl()
|
/drivers/net/wireless/ |
D | mwl8k.c | 890 int data_pad; in mwl8k_encapsulate_tx_frame() local 910 data_pad = 0; in mwl8k_encapsulate_tx_frame() 916 data_pad = 4; in mwl8k_encapsulate_tx_frame() 919 data_pad = 12; in mwl8k_encapsulate_tx_frame() 922 data_pad = 8; in mwl8k_encapsulate_tx_frame() 926 mwl8k_add_dma_header(priv, skb, head_pad, data_pad); in mwl8k_encapsulate_tx_frame()
|