Lines Matching refs:struct_v
1277 u8 struct_v; in get_osdmap_client_data_v() local
1279 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1280 if (struct_v >= 7) { in get_osdmap_client_data_v()
1286 struct_v, struct_compat, in get_osdmap_client_data_v()
1292 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1296 struct_v, struct_compat, in get_osdmap_client_data_v()
1313 struct_v = 0; in get_osdmap_client_data_v()
1316 *v = struct_v; in get_osdmap_client_data_v()
1652 u8 struct_v; in osdmap_decode() local
1661 err = get_osdmap_client_data_v(p, end, "full", &struct_v); in osdmap_decode()
1697 map->max_osd*(struct_v >= 5 ? sizeof(u32) : in osdmap_decode()
1703 if (struct_v >= 5) { in osdmap_decode()
1732 if (struct_v >= 1) { in osdmap_decode()
1739 if (struct_v >= 2) { in osdmap_decode()
1754 if (struct_v >= 3) { in osdmap_decode()
1760 if (struct_v >= 4) { in osdmap_decode()
1819 static int decode_new_up_state_weight(void **p, void *end, u8 struct_v, in decode_new_up_state_weight() argument
1840 len *= sizeof(u32) + (struct_v >= 5 ? sizeof(u32) : sizeof(u8)); in decode_new_up_state_weight()
1880 if (struct_v >= 5) in decode_new_up_state_weight()
1942 u8 struct_v; in osdmap_apply_incremental() local
1946 err = get_osdmap_client_data_v(p, end, "inc", &struct_v); in osdmap_apply_incremental()
2017 err = decode_new_up_state_weight(p, end, struct_v, map); in osdmap_apply_incremental()
2027 if (struct_v >= 1) { in osdmap_apply_incremental()
2034 if (struct_v >= 2) { in osdmap_apply_incremental()
2040 if (struct_v >= 3) { in osdmap_apply_incremental()
2048 if (struct_v >= 4) { in osdmap_apply_incremental()