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