Lines Matching defs:query
649 * @query: query string used to retrieve data
650 * @query_len: size of query including second NUL byte
652 * The buffers pointed to by buf and query may overlap. The query buffer is
655 * The query should look like "<LABEL>\0<KEY>\0", where <LABEL> is the name of
664 char *query, size_t query_len)
676 return -EINVAL; /* need a query */
678 key = query + strnlen(query, query_len) + 1;
679 if (key + 1 >= query + query_len)
681 if (key + strnlen(key, query + query_len - key) >= query + query_len)
688 label = aa_label_parse(curr, query, GFP_KERNEL, false, false);
740 * @query: binary query string to match against the dfa
741 * @query_len: size of query
744 * The buffers pointed to by buf and query may overlap. The query buffer is
747 * The query should look like "LABEL_NAME\0DFA_STRING" where LABEL_NAME is
757 char *query, size_t query_len, bool view_only)
769 label_name = query;
770 label_name_len = strnlen(query, query_len);
917 * aa_write_access - generic permissions and data query
919 * @ubuf: user buffer containing the complete query string (NOT NULL)
923 * Allows for one permissions or data query per open(), write(), and read()
928 * profile query specific format described in the query_label() function
2400 AA_SFS_DIR("query", aa_sfs_entry_query),