Lines Matching refs:vidb
794 struct ubi_vid_io_buf *vidb; member
911 struct ubi_vid_io_buf *vidb);
946 struct ubi_vid_io_buf *vidb, int verbose);
948 struct ubi_vid_io_buf *vidb);
1079 struct ubi_vid_io_buf *vidb, in ubi_init_vid_buf() argument
1085 vidb->buffer = buf; in ubi_init_vid_buf()
1086 vidb->hdr = buf + ubi->vid_hdr_shift; in ubi_init_vid_buf()
1097 struct ubi_vid_io_buf *vidb; in ubi_alloc_vid_buf() local
1100 vidb = kzalloc(sizeof(*vidb), gfp_flags); in ubi_alloc_vid_buf()
1101 if (!vidb) in ubi_alloc_vid_buf()
1106 kfree(vidb); in ubi_alloc_vid_buf()
1110 ubi_init_vid_buf(ubi, vidb, buf); in ubi_alloc_vid_buf()
1112 return vidb; in ubi_alloc_vid_buf()
1119 static inline void ubi_free_vid_buf(struct ubi_vid_io_buf *vidb) in ubi_free_vid_buf() argument
1121 if (!vidb) in ubi_free_vid_buf()
1124 kfree(vidb->buffer); in ubi_free_vid_buf()
1125 kfree(vidb); in ubi_free_vid_buf()
1132 static inline struct ubi_vid_hdr *ubi_get_vid_hdr(struct ubi_vid_io_buf *vidb) in ubi_get_vid_hdr() argument
1134 return vidb->hdr; in ubi_get_vid_hdr()