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
157 if [ "$ratio" -gt 100 ] || [ "$ratio" -lt 0 ]; then
165 if ! [ "$error" -ge -4095 -a "$error" -lt 0 ]; then
179 if [ "$hotpluggable_num" -gt 0 ]; then
182 if ! online_memory_expect_success $memory; then
198 if [ "$target" -gt 0 ]; then
200 if offline_memory_expect_success $memory; then
205 if [ "$target" -gt 0 ]; then
215 if [ "$hotpluggable_num" -gt 0 ]; then
218 if ! online_memory_expect_success $memory; then
240 if [ ! -d "$DEBUGFS" ]; then
245 if [ ! -d $NOTIFIER_ERR_INJECT_DIR ]; then
259 if [ $((RANDOM % 100)) -lt $ratio ]; then