Searched refs:free_id (Results 1 – 6 of 6) sorted by relevance
36 u16 free_id, max_id, t16; in mi_new_attt_id() local42 free_id = le16_to_cpu(id); in mi_new_attt_id()43 if (free_id < 0x7FFF) { in mi_new_attt_id()44 rec->next_attr_id = cpu_to_le16(free_id + 1); in mi_new_attt_id()49 free_id = 0; in mi_new_attt_id()59 return cpu_to_le16(free_id); in mi_new_attt_id()63 if (t16 == free_id) { in mi_new_attt_id()64 free_id += 1; in mi_new_attt_id()
229 int free_id; in prestera_counter_get_vacant() local235 free_id = idr_alloc_cyclic(&block->counter_idr, NULL, block->offset, in prestera_counter_get_vacant()238 if (free_id < 0) { in prestera_counter_get_vacant()239 if (free_id == -ENOSPC) in prestera_counter_get_vacant()243 return free_id; in prestera_counter_get_vacant()245 *id = free_id; in prestera_counter_get_vacant()
665 goto free_id; in gdrom_outputversion()680 free_id: in gdrom_outputversion()
317 goto free_id; in iscsi_login_zero_tsih_s1()331 free_id: in iscsi_login_zero_tsih_s1()
102 static void free_id(struct rtrs_srv_op *id) in free_id() function116 free_id(srv_path->ops_ids[i]); in rtrs_srv_free_ops_ids()
234 goto free_id; in iscsi_create_endpoint()248 free_id: in iscsi_create_endpoint()