Lines Matching refs:features
31 static bool features_enabled(unsigned long features) in features_enabled() argument
33 return current->thread.features & features; in features_enabled()
36 static void features_set(unsigned long features) in features_set() argument
38 current->thread.features |= features; in features_set()
41 static void features_clr(unsigned long features) in features_clr() argument
43 current->thread.features &= ~features; in features_clr()
190 current->thread.features = 0; in reset_thread_features()
537 unsigned long features = arg2; in shstk_prctl() local
540 return put_user(task->thread.features, (unsigned long __user *)arg2); in shstk_prctl()
544 task->thread.features_locked |= features; in shstk_prctl()
551 task->thread.features_locked &= ~features; in shstk_prctl()
558 if (features & task->thread.features_locked) in shstk_prctl()
562 if (hweight_long(features) > 1) in shstk_prctl()
566 if (features & ARCH_SHSTK_WRSS) in shstk_prctl()
568 if (features & ARCH_SHSTK_SHSTK) in shstk_prctl()
574 if (features & ARCH_SHSTK_SHSTK) in shstk_prctl()
576 if (features & ARCH_SHSTK_WRSS) in shstk_prctl()