ccs_lock_array_new
cc_int32 ccs_lock_array_new (ccs_lock_array_t *out_array);
err = ccs_lock_array_new (&lock_state->locks);