Lines Matching refs:struct_v
1293 u8 struct_v; in get_osdmap_client_data_v() local
1295 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1296 if (struct_v >= 7) { in get_osdmap_client_data_v()
1302 struct_v, struct_compat, in get_osdmap_client_data_v()
1308 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1312 struct_v, struct_compat, in get_osdmap_client_data_v()
1329 struct_v = 0; in get_osdmap_client_data_v()
1332 *v = struct_v; in get_osdmap_client_data_v()
1669 u8 struct_v; in osdmap_decode() local
1678 err = get_osdmap_client_data_v(p, end, "full", &struct_v); in osdmap_decode()
1714 map->max_osd*(struct_v >= 5 ? sizeof(u32) : in osdmap_decode()
1720 if (struct_v >= 5) { in osdmap_decode()
1740 if (struct_v >= 8) in osdmap_decode()
1756 if (struct_v >= 1) { in osdmap_decode()
1763 if (struct_v >= 2) { in osdmap_decode()
1778 if (struct_v >= 3) { in osdmap_decode()
1784 if (struct_v >= 4) { in osdmap_decode()
1843 static int decode_new_up_state_weight(void **p, void *end, u8 struct_v, in decode_new_up_state_weight() argument
1859 if (struct_v >= 7) in decode_new_up_state_weight()
1869 len *= sizeof(u32) + (struct_v >= 5 ? sizeof(u32) : sizeof(u8)); in decode_new_up_state_weight()
1908 if (struct_v >= 5) in decode_new_up_state_weight()
1941 if (struct_v >= 7) in decode_new_up_state_weight()
1977 u8 struct_v; in osdmap_apply_incremental() local
1981 err = get_osdmap_client_data_v(p, end, "inc", &struct_v); in osdmap_apply_incremental()
2052 err = decode_new_up_state_weight(p, end, struct_v, msgr2, map); in osdmap_apply_incremental()
2062 if (struct_v >= 1) { in osdmap_apply_incremental()
2069 if (struct_v >= 2) { in osdmap_apply_incremental()
2075 if (struct_v >= 3) { in osdmap_apply_incremental()
2083 if (struct_v >= 4) { in osdmap_apply_incremental()