Lines Matching refs:LOC

159 	LOC=$1
162 echo "Running port tests on: $(basename $LOC) / $(basename $REM)"
164 LOCAL_PORT=$(read_file "$LOC/port")
167 LOCAL_PIDX=$(find_pidx ${REMOTE_PORT} "$LOC")
178 LOC=$1
182 echo "Running link tests on: $(subdirname $LOC) / $(subdirname $REM)"
184 if ! write_file "N" "$LOC/../link" 2> /dev/null; then
189 write_file "N" "$LOC/link_event"
196 write_file "Y" "$LOC/../link"
203 LOC=$1
207 echo "Running db tests on: $(basename $LOC) / $(basename $REM)"
209 DB_VALID_MASK=$(read_file "$LOC/db_valid_mask")
224 write_file "s $MASK" "$LOC/peer_db"
239 LOC=$2
241 split_remote $LOC
253 LOC=$1
256 echo "Running spad tests on: $(subdirname $LOC) / $(subdirname $REM)"
258 CNT=$(get_files_count "spad" "$LOC")
267 write_file "$VAL" "$LOC/spad$i"
281 LOC=$1
284 echo "Running msg tests on: $(subdirname $LOC) / $(subdirname $REM)"
286 CNT=$(get_files_count "msg" "$LOC")
293 MSG_OUTBITS_MASK=$(read_file "$LOC/../msg_inbits")
296 write_file "c $MSG_OUTBITS_MASK" "$LOC/../msg_sts"
301 write_file "$VAL" "$LOC/msg$i"
323 LOC=$2
326 write_file $MW_SIZE "$LOC/mw_trans$IDX"
328 INB_MW=$(read_file "$LOC/mw_trans$IDX")
354 LOC=$2
357 write_mw "$LOC/mw$IDX"
359 split_remote "$LOC/mw$IDX"
392 LOC=$2
397 write_file 0 "$LOC/mw_trans$IDX"
402 LOC=$1
405 CNT=$(get_files_count "mw_trans" "$LOC")
408 echo "Running mw$i tests on: $(subdirname $LOC) / " \
411 mw_alloc $i $LOC $REM
413 mw_check $i $LOC $REM
415 mw_free $i $LOC $REM
424 LOC=$1
427 echo "Running ping pong tests on: $(basename $LOC) / $(basename $REM)"
429 LOC_START=$(read_file "$LOC/count")
434 LOC_END=$(read_file "$LOC/count")
447 LOC=$1
450 write_file 1 $LOC/ready
452 echo "Running MSI interrupt tests on: $(subdirname $LOC) / $(subdirname $REM)"
454 CNT=$(read_file "$LOC/count")
457 write_file $i $LOC/trigger