Searched refs:db (Results 1 – 1 of 1) sorted by relevance
381 struct prb_data_block *db = NULL; in to_blk_size() local383 size += sizeof(*db); in to_blk_size()384 size = ALIGN(size, sizeof(db->id)); in to_blk_size()396 struct prb_data_block *db = NULL; in data_check_size() local407 if (size > DATA_SIZE(data_ring) - sizeof(db->id)) in data_check_size()1209 struct prb_data_block *db; in get_data() local1223 db = to_block(data_ring, blk_lpos->begin); in get_data()1229 db = to_block(data_ring, 0); in get_data()1239 if (WARN_ON_ONCE(blk_lpos->begin != ALIGN(blk_lpos->begin, sizeof(db->id))) || in get_data()1240 WARN_ON_ONCE(blk_lpos->next != ALIGN(blk_lpos->next, sizeof(db->id)))) { in get_data()[all …]