Searched refs:BIT_INDEX (Results 1 – 3 of 3) sorted by relevance
470 [BIT_INDEX(LANDLOCK_ACCESS_FS_EXECUTE)] = BIT_ULL(0), in test_no_more_access()471 [BIT_INDEX(LANDLOCK_ACCESS_FS_READ_FILE)] = BIT_ULL(0), in test_no_more_access()474 [BIT_INDEX(LANDLOCK_ACCESS_FS_EXECUTE)] = BIT_ULL(0), in test_no_more_access()475 [BIT_INDEX(LANDLOCK_ACCESS_FS_MAKE_REG)] = BIT_ULL(0), in test_no_more_access()478 [BIT_INDEX(LANDLOCK_ACCESS_FS_EXECUTE)] = BIT_ULL(0), in test_no_more_access()481 [BIT_INDEX(LANDLOCK_ACCESS_FS_EXECUTE)] = BIT_ULL(1), in test_no_more_access()484 [BIT_INDEX(LANDLOCK_ACCESS_FS_EXECUTE)] = BIT_ULL(0) | in test_no_more_access()606 layer_masks[BIT_INDEX(LANDLOCK_ACCESS_FS_EXECUTE)]); in test_scope_to_request_with_exec_none()608 layer_masks[BIT_INDEX(LANDLOCK_ACCESS_FS_WRITE_FILE)]); in test_scope_to_request_with_exec_none()615 [BIT_INDEX(LANDLOCK_ACCESS_FS_EXECUTE)] = BIT_ULL(0), in test_scope_to_request_with_exec_some()[all …]
20 #define BIT_INDEX(bit) HWEIGHT(bit - 1) macro
92 #define BIT_INDEX(caps) (HWEIGHT((caps) - 1)) macro94 [BIT_INDEX(caps)] = { \