Lines Matching refs:access_bit
415 unsigned long access_bit; in no_more_access() local
417 for (access_bit = 0; access_bit < ARRAY_SIZE(*layer_masks_parent2); in no_more_access()
418 access_bit++) { in no_more_access()
421 !!(BIT_ULL(access_bit) & ACCESS_FILE); in no_more_access()
430 if ((((*layer_masks_parent1)[access_bit] & in no_more_access()
431 (*layer_masks_child1)[access_bit]) | in no_more_access()
432 (*layer_masks_parent2)[access_bit]) != in no_more_access()
433 (*layer_masks_parent2)[access_bit]) in no_more_access()
444 if ((((*layer_masks_parent2)[access_bit] & in no_more_access()
445 (*layer_masks_child2)[access_bit]) | in no_more_access()
446 (*layer_masks_parent1)[access_bit]) != in no_more_access()
447 (*layer_masks_parent1)[access_bit]) in no_more_access()
583 unsigned long access_bit; in scope_to_request() local
588 for_each_clear_bit(access_bit, &access_req, ARRAY_SIZE(*layer_masks)) in scope_to_request()
589 (*layer_masks)[access_bit] = 0; in scope_to_request()
653 unsigned long access_bit; in is_eacces() local
661 for_each_set_bit(access_bit, &access_check, ARRAY_SIZE(*layer_masks)) { in is_eacces()
662 if ((*layer_masks)[access_bit]) in is_eacces()
1653 unsigned long access_bit; in hook_file_open() local
1662 for_each_set_bit(access_bit, &access_req, in hook_file_open()
1664 if (!layer_masks[access_bit]) in hook_file_open()
1665 allowed_access |= BIT_ULL(access_bit); in hook_file_open()