Lines Matching refs:new_value
142 bool old_value, new_value; in sel_write_enforce() local
159 new_value = !!scan_value; in sel_write_enforce()
162 if (new_value != old_value) { in sel_write_enforce()
171 new_value, old_value, in sel_write_enforce()
174 enforcing_set(new_value); in sel_write_enforce()
175 if (new_value) in sel_write_enforce()
177 selnl_notify_setenforce(new_value); in sel_write_enforce()
178 selinux_status_update_setenforce(new_value); in sel_write_enforce()
179 if (!new_value) in sel_write_enforce()
277 int new_value; in sel_write_disable() local
290 if (sscanf(page, "%d", &new_value) != 1) { in sel_write_disable()
296 if (new_value) { in sel_write_disable()
692 unsigned int new_value; in sel_write_checkreqprot() local
711 if (sscanf(page, "%u", &new_value) != 1) { in sel_write_checkreqprot()
717 if (new_value) { in sel_write_checkreqprot()
1253 int new_value; in sel_write_bool() local
1282 if (sscanf(page, "%d", &new_value) != 1) in sel_write_bool()
1285 if (new_value) in sel_write_bool()
1286 new_value = 1; in sel_write_bool()
1288 fsi->bool_pending_values[index] = new_value; in sel_write_bool()
1310 int new_value; in sel_commit_bools_write() local
1332 if (sscanf(page, "%d", &new_value) != 1) in sel_commit_bools_write()
1336 if (new_value && fsi->bool_pending_values) in sel_commit_bools_write()
1457 unsigned int new_value; in sel_write_avc_cache_threshold() local
1477 if (sscanf(page, "%u", &new_value) != 1) in sel_write_avc_cache_threshold()
1480 avc_set_cache_threshold(new_value); in sel_write_avc_cache_threshold()