Lines Matching refs:struct_v

1281 	u8 struct_v;  in get_osdmap_client_data_v()  local
1283 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1284 if (struct_v >= 7) { in get_osdmap_client_data_v()
1290 struct_v, struct_compat, in get_osdmap_client_data_v()
1296 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1300 struct_v, struct_compat, in get_osdmap_client_data_v()
1317 struct_v = 0; in get_osdmap_client_data_v()
1320 *v = struct_v; in get_osdmap_client_data_v()
1655 u8 struct_v; in osdmap_decode() local
1664 err = get_osdmap_client_data_v(p, end, "full", &struct_v); in osdmap_decode()
1700 map->max_osd*(struct_v >= 5 ? sizeof(u32) : in osdmap_decode()
1706 if (struct_v >= 5) { in osdmap_decode()
1726 if (struct_v >= 8) in osdmap_decode()
1742 if (struct_v >= 1) { in osdmap_decode()
1749 if (struct_v >= 2) { in osdmap_decode()
1764 if (struct_v >= 3) { in osdmap_decode()
1770 if (struct_v >= 4) { in osdmap_decode()
1829 static int decode_new_up_state_weight(void **p, void *end, u8 struct_v, in decode_new_up_state_weight() argument
1845 if (struct_v >= 7) in decode_new_up_state_weight()
1855 len *= sizeof(u32) + (struct_v >= 5 ? sizeof(u32) : sizeof(u8)); in decode_new_up_state_weight()
1899 if (struct_v >= 5) in decode_new_up_state_weight()
1933 if (struct_v >= 7) in decode_new_up_state_weight()
1969 u8 struct_v; in osdmap_apply_incremental() local
1973 err = get_osdmap_client_data_v(p, end, "inc", &struct_v); in osdmap_apply_incremental()
2044 err = decode_new_up_state_weight(p, end, struct_v, msgr2, map); in osdmap_apply_incremental()
2054 if (struct_v >= 1) { in osdmap_apply_incremental()
2061 if (struct_v >= 2) { in osdmap_apply_incremental()
2067 if (struct_v >= 3) { in osdmap_apply_incremental()
2075 if (struct_v >= 4) { in osdmap_apply_incremental()