Home
last modified time | relevance | path

Searched refs:hat (Results 1 – 13 of 13) sorted by relevance

/linux-2.6.39/security/apparmor/
Dprocattr.c115 char *hat; in aa_setprocattr_changehat() local
120 hat = split_token_from_name(OP_CHANGE_HAT, args, &token); in aa_setprocattr_changehat()
121 if (IS_ERR(hat)) in aa_setprocattr_changehat()
122 return PTR_ERR(hat); in aa_setprocattr_changehat()
124 if (!hat && !token) { in aa_setprocattr_changehat()
129 if (hat) { in aa_setprocattr_changehat()
137 for (count = 0; (hat < end) && count < 16; ++count) { in aa_setprocattr_changehat()
138 char *next = hat + strlen(hat) + 1; in aa_setprocattr_changehat()
139 hats[count] = hat; in aa_setprocattr_changehat()
140 hat = next; in aa_setprocattr_changehat()
[all …]
Ddomain.c605 struct aa_profile *profile, *previous_profile, *hat = NULL; in aa_change_hat() local
630 for (i = 0; i < count && !hat; i++) in aa_change_hat()
632 hat = aa_find_child(root, hats[i]); in aa_change_hat()
633 if (!hat) { in aa_change_hat()
655 hat = aa_new_null_profile(profile, 1); in aa_change_hat()
656 if (!hat) { in aa_change_hat()
662 target = hat->base.hname; in aa_change_hat()
663 if (!PROFILE_IS_HAT(hat)) { in aa_change_hat()
670 error = may_change_ptraced_domain(current, hat); in aa_change_hat()
678 error = aa_set_current_hat(hat, token); in aa_change_hat()
[all …]
Dpolicy.c676 struct aa_profile *aa_new_null_profile(struct aa_profile *parent, int hat) in aa_new_null_profile() argument
696 if (hat) in aa_new_null_profile()
/linux-2.6.39/drivers/input/joystick/
Dsidewinder.c304 int hat, i, j; in sw_parse() local
311 if (sw_check(GB(0,64)) || (hat = (GB(6,1) << 3) | GB(60,3)) > 8) in sw_parse()
321 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x); in sw_parse()
322 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y); in sw_parse()
355 if (!sw_parity(GB(0,48)) || (hat = GB(42,4)) > 8) in sw_parse()
364 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x); in sw_parse()
365 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y); in sw_parse()
376 if (!sw_parity(GB(0,43)) || (hat = GB(28,4)) > 8) in sw_parse()
384 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x); in sw_parse()
385 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y); in sw_parse()
Dguillemot.c63 int hat; member
139 if (guillemot->type->hat) { in guillemot_poll()
244 if (guillemot->type->hat) { in guillemot_connect()
/linux-2.6.39/security/apparmor/include/
Dpolicy.h237 struct aa_profile *aa_new_null_profile(struct aa_profile *parent, int hat);
/linux-2.6.39/Documentation/video4linux/
Dcafe_ccic42 ten. That number was carefully picked out of a hat and should not be
/linux-2.6.39/Documentation/usb/
Dgadget_hid.txt293 /* set default hat position: neutral */
/linux-2.6.39/Documentation/input/
Djoystick-api.txt77 directions, some only in 4, The driver, however, always reports a hat as two
Djoystick.txt200 chf | Joystick with a CH Flightstick compatible hat
/linux-2.6.39/Documentation/video4linux/bttv/
DCards390 DE hat diverse Treiber fuer diese Modelle (Stand 09/2002):
/linux-2.6.39/Documentation/
DSmack.txt194 ^ Pronounced "hat", a single circumflex character.
/linux-2.6.39/drivers/staging/iio/Documentation/
Dsysfs-bus-iio488 hat: /sys/.../deviceX:eventY/accel_x_roc_rising_period