Searched refs:slab (Results 1 - 19 of 19) sorted by relevance

/device/google/contexthub/firmware/os/inc/
H A DosApi.h20 #include <slab.h>
109 //level 3 indices in the OS.main.slab table
110 #define SYSCALL_OS_MAIN_SLAB_NEW 0 // (uint32_t itemSz, uint32_t itemAlign, uint32_t numItems) -> struct SlabAllocator *slab
111 #define SYSCALL_OS_MAIN_SLAB_DESTROY 1 // (struct SlabAllocator *slab) -> void
112 #define SYSCALL_OS_MAIN_SLAB_ALLOC 2 // (struct SlabAllocator *slab) -> void *mem
113 #define SYSCALL_OS_MAIN_SLAB_FREE 3 // (struct SlabAllocator *slab, void *mem) -> void
/device/google/contexthub/firmware/os/core/
H A DeventQ.c23 #include <slab.h>
66 struct SlabAllocator *slab = slabAllocatorNew(sizeof(struct EvtRecord), local
69 if (q && slab) {
71 q->evtsSlab = slab;
79 if (slab)
80 slabAllocatorDestroy(slab);
H A Dslab.c20 #include <slab.h>
H A Dtimer.c27 #include <slab.h>
H A DosApi.c27 #include <slab.h>
311 //we reuse the same slab element to send the event now
H A Dsensors.c25 #include <slab.h>
H A Dseos.c42 #include <slab.h>
H A DnanohubCommand.c46 #include <slab.h>
/device/google/contexthub/firmware/
H A DAndroid.mk42 os/core/slab.c \
H A Dfirmware.mk79 SRCS_os += os/core/printf.c os/core/timer.c os/core/seos.c os/core/heap.c os/core/slab.c os/core/spi.c os/core/trylock.c
/device/google/contexthub/firmware/os/drivers/vsync/
H A Dvsync.c29 #include <slab.h>
40 // queue. Use this to size our slab
/device/google/contexthub/firmware/os/drivers/si_si7034/
H A Dsi7034a10.c26 #include <slab.h>
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
H A Dbosch_bmp280.c28 #include <slab.h>
60 // queue. Use this to size our slab
/device/google/contexthub/firmware/os/drivers/st_acc44/
H A Dst_acc44.c28 #include <slab.h>
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
H A Dlps22hb.c27 #include <slab.h>
/device/google/contexthub/firmware/os/drivers/orientation/
H A Dorientation.c34 #include <slab.h>
285 // slab allocation failed, need to stop draining raw samples for now.
304 // This is needed after recovering from a slab shortage.
342 // (most likely due to slab allocation failure)
466 // 2) updateOutput() succeeded (no slab shortage)
/device/google/contexthub/firmware/os/drivers/st_mag40/
H A Dst_mag40.c29 #include <slab.h>
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
H A Dbosch_bmi160.c37 #include <slab.h>
1185 // slab allocation failed
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
H A Dst_lsm6dsm.c22 #include <slab.h>
4121 * lsm6dsm_allocateThreeAxisDataEvt: allocate slab for three axis sensor data
4143 * lsm6dsm_threeAxisDataEvtFree: deallocate slab of three axis sensor.
4155 * lsm6dsm_allocateOneAxisDataEvt: allocate slab for one axis sensor data
4177 * lsm6dsm_oneAxisDataEvtFree: deallocate slab of one axis sensor
4192 * @sampleNum: number of samples in the current slab.
4356 * @sampleNum: number of samples in the current slab.
4395 * lsm6dsm_pushData: push slab to nanohub
4397 * @numSamples: number of samples in the slab.

Completed in 128 milliseconds