Searched refs:vstruct_end (Results 1 – 15 of 15) sorted by relevance
34 entry < (struct jset_entry *) vstruct_end(&clean->field); in bch2_sb_clean_validate_late()36 if (vstruct_end(entry) > vstruct_end(&clean->field)) { in bch2_sb_clean_validate_late()39 (u64 *) vstruct_end(entry) - (u64 *) vstruct_end(&clean->field)); in bch2_sb_clean_validate_late()65 end = vstruct_end(&clean->field); in btree_root_find()224 entry != vstruct_end(&clean->field); in bch2_sb_clean_validate()226 if ((void *) vstruct_next(entry) > vstruct_end(&clean->field)) { in bch2_sb_clean_validate()247 entry != vstruct_end(&clean->field); in bch2_sb_clean_to_text()249 if ((void *) vstruct_next(entry) > vstruct_end(&clean->field)) in bch2_sb_clean_to_text()320 BUG_ON((void *) entry > vstruct_end(&sb_clean->field)); in bch2_fs_mark_clean()323 vstruct_end(&sb_clean->field) - (void *) entry); in bch2_fs_mark_clean()
9 ? (__le64 *) vstruct_end(&j->field) - j->buckets in bch2_nr_journal_buckets()18 return (struct bch_sb_field_journal_v2_entry *) vstruct_end(&j->field) - &j->d[0]; in bch2_sb_field_journal_v2_nr_entries()
279 (void *) _i < vstruct_end(&(_d)->field) && \280 (void *) &_i->errors[0] <= vstruct_end(&(_d)->field) && \281 (void *) downgrade_entry_next_c(_i) <= vstruct_end(&(_d)->field); \290 (void *) i < vstruct_end(&e->field); in bch2_sb_downgrade_validate()297 if ((void *) &i->errors[0] > vstruct_end(&e->field)) in bch2_sb_downgrade_validate()301 (void *) downgrade_entry_next_c(i) > vstruct_end(&e->field)) { in bch2_sb_downgrade_validate()
68 (void *) (_i) < vstruct_end(&(_r)->field) && (_i)->data_type;\73 (void *) (_i) < vstruct_end(&(_r)->field) && (_i)->data_type;\
12 ? (vstruct_end(&groups->field) - in disk_groups_nr()
47 #define vstruct_end(_s) \ macro
631 vstruct_end(&sb_r->field) - in bch2_cpu_replicas_to_sb_replicas_v0()642 BUG_ON((void *) dst > vstruct_end(&sb_r->field)); in bch2_cpu_replicas_to_sb_replicas_v0()676 vstruct_end(&sb_r->field) - in bch2_cpu_replicas_to_sb_replicas()685 BUG_ON((void *) dst > vstruct_end(&sb_r->field)); in bch2_cpu_replicas_to_sb_replicas()
45 bch2_checksum(_c, _type, _nonce, _start, vstruct_end(_i) - _start);\
119 vstruct_end(i) - (void *) i->_data); in bset_encrypt()
330 BUG_ON(vstruct_end(&out->keys) > (void *) out + bytes); in btree_node_sort()647 (u64 *) vstruct_end(i) - (u64 *) k); in bch2_btree_node_drop_keys_outside_node()999 memmove_u64s_down(k, (u64 *) k + next_good_key, (u64 *) vstruct_end(i) - (u64 *) k); in validate_bset_keys()1261 (u64 *) vstruct_end(i) - (u64 *) k); in bch2_btree_node_read_done()2153 bytes_to_write = vstruct_end(i) - data; in __bch2_btree_node_write()
128 src = vstruct_end(f); in __bch2_sb_field_resize()132 dst = vstruct_end(f); in __bch2_sb_field_resize()137 memmove(dst, src, vstruct_end(sb->sb) - src); in __bch2_sb_field_resize()
279 if ((void *) members_v1_get_mut(mi, sb->nr_devices) > vstruct_end(&mi->field)) { in bch2_sb_members_v1_validate()
1123 vstruct_end(j) - (void *) j->encrypted_start); in journal_read_bucket()1950 vstruct_end(jset) - (void *) jset->encrypted_start); in bch2_journal_write_prep()
73 vstruct_end(inmemory) - (void *) inmemory->start)) { in bch2_btree_verify_replica()
962 unsigned bytes = vstruct_end(&b->data->keys) - (void *) b->data; in bch2_btree_update_add_new_node()