Home
last modified time | relevance | path

Searched refs:new_profile (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/security/apparmor/
Ddomain.c241 struct aa_profile *new_profile = NULL; in x_table_lookup() local
248 for (name = profile->file.trans.table[index]; !new_profile && name; in x_table_lookup()
256 new_profile = aa_find_child(profile, name); in x_table_lookup()
282 new_profile = aa_lookup_profile(new_ns ? new_ns : ns, xname); in x_table_lookup()
287 return new_profile; in x_table_lookup()
303 struct aa_profile *new_profile = NULL; in x_to_profile() local
314 new_profile = find_attach(ns, &profile->base.profiles, in x_to_profile()
318 new_profile = find_attach(ns, &ns->base.profiles, in x_to_profile()
323 new_profile = x_table_lookup(profile, xindex); in x_to_profile()
328 return new_profile; in x_to_profile()
[all …]
/linux-4.4.14/drivers/hid/
Dhid-roccat-isku.c31 static void isku_profile_activated(struct isku_device *isku, uint new_profile) in isku_profile_activated() argument
33 isku->actual_profile = new_profile; in isku_profile_activated()
52 static int isku_set_actual_profile(struct usb_device *usb_dev, int new_profile) in isku_set_actual_profile() argument
58 buf.actual_profile = new_profile; in isku_set_actual_profile()
Dhid-roccat-kone.c40 static void kone_profile_activated(struct kone_device *kone, uint new_profile) in kone_profile_activated() argument
42 kone->actual_profile = new_profile; in kone_profile_activated()
43 kone->actual_dpi = kone->profiles[new_profile - 1].startup_dpi; in kone_profile_activated()
46 static void kone_profile_report(struct kone_device *kone, uint new_profile) in kone_profile_report() argument
51 roccat_report.value = new_profile; in kone_profile_report()
Dhid-roccat-koneplus.c35 uint new_profile) in koneplus_profile_activated() argument
37 koneplus->actual_profile = new_profile; in koneplus_profile_activated()
73 int new_profile) in koneplus_set_actual_profile() argument
79 buf.actual_profile = new_profile; in koneplus_set_actual_profile()
Dhid-roccat-pyra.c36 unsigned int new_profile) in profile_activated() argument
38 if (new_profile >= ARRAY_SIZE(pyra->profile_settings)) in profile_activated()
40 pyra->actual_profile = new_profile; in profile_activated()
Dhid-roccat-kovaplus.c114 int new_profile) in kovaplus_set_actual_profile() argument
120 buf.actual_profile = new_profile; in kovaplus_set_actual_profile()