Lines Matching defs:hat
105 char *hat;
110 hat = split_token_from_name(OP_CHANGE_HAT, args, &token);
111 if (IS_ERR(hat))
112 return PTR_ERR(hat);
114 if (!hat && !token) {
115 AA_ERROR("change_hat: Invalid input, NULL hat and NULL magic");
119 if (hat) {
120 /* set up hat name vector, args guaranteed null terminated
123 * If there are multiple hat names in the buffer each is
127 for (count = 0; (hat < end) && count < 16; ++count) {
128 char *next = hat + strlen(hat) + 1;
129 hats[count] = hat;
131 "%s: (pid %d) Magic 0x%llx count %d hat '%s'\n"
132 , __func__, current->pid, token, count, hat);
133 hat = next;