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