Home
last modified time | relevance | path

Searched refs:BIT_INDEX (Results 1 – 3 of 3) sorted by relevance

/linux/security/landlock/
H A Dfs.c470 [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 …]
H A Dcommon.h20 #define BIT_INDEX(bit) HWEIGHT(bit - 1) macro
/linux/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl_allowlist.c92 #define BIT_INDEX(caps) (HWEIGHT((caps) - 1)) macro
94 [BIT_INDEX(caps)] = { \