Lines Matching defs:hat
116 char *hat;
121 hat = split_token_from_name(OP_CHANGE_HAT, args, &token);
122 if (IS_ERR(hat))
123 return PTR_ERR(hat);
125 if (!hat && !token) {
126 AA_ERROR("change_hat: Invalid input, NULL hat and NULL magic");
130 if (hat) {
131 /* set up hat name vector, args guaranteed null terminated
134 * If there are multiple hat names in the buffer each is
138 for (count = 0; (hat < end) && count < 16; ++count) {
139 char *next = hat + strlen(hat) + 1;
140 hats[count] = hat;
141 hat = next;
146 __func__, token, hat ? hat : NULL);