• Home
  • Raw
  • Download

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()
1653 u8 struct_v; in osdmap_decode() local
1662 err = get_osdmap_client_data_v(p, end, "full", &struct_v); in osdmap_decode()
1698 map->max_osd*(struct_v >= 5 ? sizeof(u32) : in osdmap_decode()
1704 if (struct_v >= 5) { in osdmap_decode()
1724 if (struct_v >= 8) in osdmap_decode()
1740 if (struct_v >= 1) { in osdmap_decode()
1747 if (struct_v >= 2) { in osdmap_decode()
1762 if (struct_v >= 3) { in osdmap_decode()
1768 if (struct_v >= 4) { in osdmap_decode()
1827 static int decode_new_up_state_weight(void **p, void *end, u8 struct_v, in decode_new_up_state_weight() argument
1843 if (struct_v >= 7) in decode_new_up_state_weight()
1853 len *= sizeof(u32) + (struct_v >= 5 ? sizeof(u32) : sizeof(u8)); in decode_new_up_state_weight()
1892 if (struct_v >= 5) in decode_new_up_state_weight()
1925 if (struct_v >= 7) in decode_new_up_state_weight()
1961 u8 struct_v; in osdmap_apply_incremental() local
1965 err = get_osdmap_client_data_v(p, end, "inc", &struct_v); in osdmap_apply_incremental()
2036 err = decode_new_up_state_weight(p, end, struct_v, msgr2, map); in osdmap_apply_incremental()
2046 if (struct_v >= 1) { in osdmap_apply_incremental()
2053 if (struct_v >= 2) { in osdmap_apply_incremental()
2059 if (struct_v >= 3) { in osdmap_apply_incremental()
2067 if (struct_v >= 4) { in osdmap_apply_incremental()