Lines Matching full:then
13 if [ $UID != 0 ]; then
20 if [ ! -d "$SYSFS" ]; then
25 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then
30 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then
45 grep -q $state $memory/state; then
85 if ! online_memory $memory; then
88 elif ! memory_is_online $memory; then
99 if online_memory $memory 2> /dev/null; then
102 elif ! memory_is_offline $memory; then
113 if ! offline_memory $memory; then
116 elif ! memory_is_offline $memory; then
127 if offline_memory $memory 2> /dev/null; then
130 elif ! memory_is_online $memory; then
140 if ! online_memory_expect_success $memory; then
166 if [ "$ratio" -gt 100 ] || [ "$ratio" -lt 0 ]; then
174 if ! [ "$error" -ge -4095 -a "$error" -lt 0 ]; then
188 if [ "$hotpluggable_num" -gt 0 ]; then
191 if ! online_memory_expect_success $memory; then
207 if [ "$target" -gt 0 ]; then
209 if offline_memory_expect_success $memory &>/dev/null; then
217 if [ "$target" -gt 0 ]; then
227 if [ "$hotpluggable_num" -gt 0 ]; then
230 if ! online_memory_expect_success $memory; then
252 if [ ! -d "$DEBUGFS" ]; then
257 if [ ! -d $NOTIFIER_ERR_INJECT_DIR ]; then
271 if [ $((RANDOM % 100)) -lt $ratio ]; then
281 if ! online_memory_expect_fail $memory; then
297 if [ $((RANDOM % 100)) -lt $ratio ]; then
298 if ! offline_memory_expect_fail $memory; then