Lines Matching refs:struct_v
1073 u8 struct_v; in get_osdmap_client_data_v() local
1075 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1076 if (struct_v >= 7) { in get_osdmap_client_data_v()
1082 struct_v, struct_compat, in get_osdmap_client_data_v()
1088 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1092 struct_v, struct_compat, in get_osdmap_client_data_v()
1109 struct_v = 0; in get_osdmap_client_data_v()
1112 *v = struct_v; in get_osdmap_client_data_v()
1448 u8 struct_v; in osdmap_decode() local
1457 err = get_osdmap_client_data_v(p, end, "full", &struct_v); in osdmap_decode()
1493 map->max_osd*((struct_v >= 5 ? sizeof(u32) : in osdmap_decode()
1501 if (struct_v >= 5) { in osdmap_decode()
1528 if (struct_v >= 1) { in osdmap_decode()
1535 if (struct_v >= 2) { in osdmap_decode()
1550 if (struct_v >= 3) { in osdmap_decode()
1556 if (struct_v >= 4) { in osdmap_decode()
1615 static int decode_new_up_state_weight(void **p, void *end, u8 struct_v, in decode_new_up_state_weight() argument
1631 len *= sizeof(u32) + (struct_v >= 5 ? sizeof(u32) : sizeof(u8)); in decode_new_up_state_weight()
1671 if (struct_v >= 5) in decode_new_up_state_weight()
1733 u8 struct_v; in osdmap_apply_incremental() local
1737 err = get_osdmap_client_data_v(p, end, "inc", &struct_v); in osdmap_apply_incremental()
1808 err = decode_new_up_state_weight(p, end, struct_v, map); in osdmap_apply_incremental()
1818 if (struct_v >= 1) { in osdmap_apply_incremental()
1825 if (struct_v >= 2) { in osdmap_apply_incremental()
1831 if (struct_v >= 3) { in osdmap_apply_incremental()
1839 if (struct_v >= 4) { in osdmap_apply_incremental()