Lines Matching +full:indexed +full:- +full:array
1 /* SPDX-License-Identifier: GPL-2.0-only */
12 * Copyright (C) 2004-2005 Trusted Computer Solutions, Inc.
17 * Copyright (C) 2003-2004 Tresys Technology, LLC
54 struct symtab permissions; /* class-specific permission symbol table */
123 struct mls_range range; /* MLS range (min - max) for user */
212 /* symbol table array indices */
223 /* object context array indices */
250 /* symbol names indexed by (value - 1) */
253 /* class, role, and user attributes indexed by (value - 1) */
273 /* bools indexed by (value - 1) */
277 /* array indexing te_cond_avtab by conditional */
293 /* range transitions table (range_trans_key -> mls_range) */
296 /* type -> attribute reverse mapping */
357 if (bytes > fp->len) in next_entry()
358 return -EINVAL; in next_entry()
360 memcpy(buf, fp->data, bytes); in next_entry()
361 fp->data += bytes; in next_entry()
362 fp->len -= bytes; in next_entry()
372 return -EINVAL; in put_entry()
374 if (len > fp->len) in put_entry()
375 return -EINVAL; in put_entry()
376 memcpy(fp->data, buf, len); in put_entry()
377 fp->data += len; in put_entry()
378 fp->len -= len; in put_entry()
386 return p->sym_val_to_name[sym_num][element_nr]; in sym_name()