Home
last modified time | relevance | path

Searched refs:hats (Results 1 – 7 of 7) sorted by relevance

/linux/security/apparmor/
H A Dprocattr.c107 const char *hats[16]; /* current hard limit on # of names */ in aa_setprocattr_changehat()
129 hats[count] = hat; in aa_setprocattr_changehat()
140 return aa_change_hat(hats, count, token, flags);
105 const char *hats[16]; /* current hard limit on # of names */ aa_setprocattr_changehat() local
H A Ddomain.c1116 struct aa_label *label, const char *hats[], in change_hat()
1128 AA_BUG(!hats); in change_hat()
1134 * list of potential hats. Because we are getting the namespaces from in change_hat()
1162 name = hats[i]; in change_hat()
1192 /* no hats that match, find appropriate error in change_hat()
1206 info = "no hats defined";
1215 * related to missing hats
1242 * @hats: vector of hat names to try changing into (MAYBE NULL if @count == 0) in aa_change_hat()
1243 * @count: number of hat names in @hats in aa_change_hat()
1249 * Change to the first profile specified in @hats tha in aa_change_hat()
1108 change_hat(const struct cred * subj_cred,struct aa_label * label,const char * hats[],int count,int flags) change_hat() argument
1223 aa_change_hat(const char * hats[],int count,u64 token,int flags) aa_change_hat() argument
[all...]
/linux/drivers/input/joystick/
H A Dadi.c99 char hats; member
222 for (i = 0; i < adi->hats; i++) { in adi_decode()
325 if ((t = adi_get_bits(adi, 4)) & ADI_FLAG_HAT) adi->hats++; in adi_id_decode()
338 if (adi_get_bits(adi, 6) != 8 && adi->hats) { in adi_id_decode()
345 adi->hats += adi_get_bits(adi, 4); in adi_id_decode()
360 t = 8 + adi->buttons + adi->axes10 * 10 + adi->axes8 * 8 + adi->hats * 4; in adi_id_decode()
416 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) in adi_init_input()
432 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) { in adi_init_center()
H A Dtmdc.c77 char hats; member
320 for (i = 0; i < model->hats && i < TMDC_ABS_HAT; i++) in tmdc_setup_port()
H A DKconfig26 with rudders, additional hats and buttons compatible with CH
/linux/security/apparmor/include/
H A Ddomain.h30 int aa_change_hat(const char *hats[], int count, u64 token, int flags);
/linux/Documentation/input/joydev/
H A Djoystick.rst149 It also supports extensions like additional hats and buttons compatible
161 For other joystick types (more/less axes, hats, and buttons) support
182 fullchf CH Flightstick compatible with two hats and 6 buttons