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