Lines Matching defs:query
733 * @query: query string used to retrieve data
734 * @query_len: size of query including second NUL byte
736 * The buffers pointed to by buf and query may overlap. The query buffer is
739 * The query should look like "<LABEL>\0<KEY>\0", where <LABEL> is the name of
748 char *query, size_t query_len)
760 return -EINVAL; /* need a query */
762 key = query + strnlen(query, query_len) + 1;
763 if (key + 1 >= query + query_len)
765 if (key + strnlen(key, query + query_len - key) >= query + query_len)
772 label = aa_label_parse(curr, query, GFP_KERNEL, false, false);
824 * @query: binary query string to match against the dfa
825 * @query_len: size of query
828 * The buffers pointed to by buf and query may overlap. The query buffer is
831 * The query should look like "LABEL_NAME\0DFA_STRING" where LABEL_NAME is
841 char *query, size_t query_len, bool view_only)
853 label_name = query;
854 label_name_len = strnlen(query, query_len);
1001 * aa_write_access - generic permissions and data query
1003 * @ubuf: user buffer containing the complete query string (NOT NULL)
1007 * Allows for one permissions or data query per open(), write(), and read()
1012 * profile query specific format described in the query_label() function
2538 AA_SFS_DIR("query", aa_sfs_entry_query),