Lines Matching refs:struct_v
1284 u8 struct_v; in get_osdmap_client_data_v() local
1286 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1287 if (struct_v >= 7) { in get_osdmap_client_data_v()
1293 struct_v, struct_compat, in get_osdmap_client_data_v()
1299 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1303 struct_v, struct_compat, in get_osdmap_client_data_v()
1320 struct_v = 0; in get_osdmap_client_data_v()
1323 *v = struct_v; in get_osdmap_client_data_v()
1658 u8 struct_v; in osdmap_decode() local
1667 err = get_osdmap_client_data_v(p, end, "full", &struct_v); in osdmap_decode()
1703 map->max_osd*(struct_v >= 5 ? sizeof(u32) : in osdmap_decode()
1709 if (struct_v >= 5) { in osdmap_decode()
1729 if (struct_v >= 8) in osdmap_decode()
1745 if (struct_v >= 1) { in osdmap_decode()
1752 if (struct_v >= 2) { in osdmap_decode()
1767 if (struct_v >= 3) { in osdmap_decode()
1773 if (struct_v >= 4) { in osdmap_decode()
1832 static int decode_new_up_state_weight(void **p, void *end, u8 struct_v, in decode_new_up_state_weight() argument
1848 if (struct_v >= 7) in decode_new_up_state_weight()
1858 len *= sizeof(u32) + (struct_v >= 5 ? sizeof(u32) : sizeof(u8)); in decode_new_up_state_weight()
1902 if (struct_v >= 5) in decode_new_up_state_weight()
1936 if (struct_v >= 7) in decode_new_up_state_weight()
1972 u8 struct_v; in osdmap_apply_incremental() local
1976 err = get_osdmap_client_data_v(p, end, "inc", &struct_v); in osdmap_apply_incremental()
2049 err = decode_new_up_state_weight(p, end, struct_v, msgr2, map); in osdmap_apply_incremental()
2059 if (struct_v >= 1) { in osdmap_apply_incremental()
2066 if (struct_v >= 2) { in osdmap_apply_incremental()
2072 if (struct_v >= 3) { in osdmap_apply_incremental()
2080 if (struct_v >= 4) { in osdmap_apply_incremental()