iPXE
bitops.h File Reference

Bit operations. More...

#include <bits/bitops.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 FILE_SECBOOT (PERMITTED)
void set_bit (unsigned int bit, volatile void *bits)
void clear_bit (unsigned int bit, volatile void *bits)
int test_and_set_bit (unsigned int bit, volatile void *bits)
int test_and_clear_bit (unsigned int bit, volatile void *bits)

Detailed Description

Bit operations.

Definition in file bitops.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

◆ set_bit()

void set_bit ( unsigned int bit,
volatile void * bits )

References bit, and bits.

◆ clear_bit()

void clear_bit ( unsigned int bit,
volatile void * bits )

References bit, and bits.

◆ test_and_set_bit()

int test_and_set_bit ( unsigned int bit,
volatile void * bits )

References bit, and bits.

Referenced by bitops_test_exec().

◆ test_and_clear_bit()

int test_and_clear_bit ( unsigned int bit,
volatile void * bits )

References bit, and bits.

Referenced by bitops_test_exec().