Lines Matching refs:vidb
783 struct ubi_vid_io_buf *vidb; member
898 struct ubi_vid_io_buf *vidb);
934 struct ubi_vid_io_buf *vidb, int verbose);
936 struct ubi_vid_io_buf *vidb);
1069 struct ubi_vid_io_buf *vidb, in ubi_init_vid_buf() argument
1075 vidb->buffer = buf; in ubi_init_vid_buf()
1076 vidb->hdr = buf + ubi->vid_hdr_shift; in ubi_init_vid_buf()
1087 struct ubi_vid_io_buf *vidb; in ubi_alloc_vid_buf() local
1090 vidb = kzalloc(sizeof(*vidb), gfp_flags); in ubi_alloc_vid_buf()
1091 if (!vidb) in ubi_alloc_vid_buf()
1096 kfree(vidb); in ubi_alloc_vid_buf()
1100 ubi_init_vid_buf(ubi, vidb, buf); in ubi_alloc_vid_buf()
1102 return vidb; in ubi_alloc_vid_buf()
1109 static inline void ubi_free_vid_buf(struct ubi_vid_io_buf *vidb) in ubi_free_vid_buf() argument
1111 if (!vidb) in ubi_free_vid_buf()
1114 kfree(vidb->buffer); in ubi_free_vid_buf()
1115 kfree(vidb); in ubi_free_vid_buf()
1122 static inline struct ubi_vid_hdr *ubi_get_vid_hdr(struct ubi_vid_io_buf *vidb) in ubi_get_vid_hdr() argument
1124 return vidb->hdr; in ubi_get_vid_hdr()