Lines Matching refs:knob
3392 unsigned long knob; in merge_across_nodes_store() local
3394 err = kstrtoul(buf, 10, &knob); in merge_across_nodes_store()
3397 if (knob > 1) in merge_across_nodes_store()
3402 if (ksm_merge_across_nodes != knob) { in merge_across_nodes_store()
3427 ksm_merge_across_nodes = knob; in merge_across_nodes_store()
3428 ksm_nr_node_ids = knob ? 1 : nr_node_ids; in merge_across_nodes_store()
3471 int knob; in max_page_sharing_store() local
3473 err = kstrtoint(buf, 10, &knob); in max_page_sharing_store()
3481 if (knob < 2) in max_page_sharing_store()
3484 if (READ_ONCE(ksm_max_page_sharing) == knob) in max_page_sharing_store()
3489 if (ksm_max_page_sharing != knob) { in max_page_sharing_store()
3493 ksm_max_page_sharing = knob; in max_page_sharing_store()