find_stateid_locked
s = find_stateid_locked(cl, t);
st = find_stateid_locked(cl, stid);
s = find_stateid_locked(cl, stateid);