Home
last modified time | relevance | path

Searched refs:once (Results 1 - 25 of 143) sorted by relevance

123456

/kernel/linux/linux-6.6/tools/testing/selftests/resctrl/
H A Dfill_buf.c104 static int fill_cache_read(unsigned char *buf, size_t buf_size, bool once) in fill_cache_read() argument
111 if (once) in fill_cache_read()
127 static int fill_cache_write(unsigned char *buf, size_t buf_size, bool once) in fill_cache_write() argument
131 if (once) in fill_cache_write()
138 static int fill_cache(size_t buf_size, int memflush, int op, bool once) in fill_cache() argument
152 ret = fill_cache_read(buf, buf_size, once); in fill_cache()
154 ret = fill_cache_write(buf, buf_size, once); in fill_cache()
167 int run_fill_buf(size_t span, int memflush, int op, bool once) in run_fill_buf() argument
172 ret = fill_cache(cache_size, memflush, op, once); in run_fill_buf()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
H A Dsun3xflop.h48 static int once = 0; in sun3x_82072_fd_inb() local
60 if(!once) { in sun3x_82072_fd_inb()
61 once = 1; in sun3x_82072_fd_inb()
205 static int once = 0; in sun3xflop_request_irq() local
208 if(!once) { in sun3xflop_request_irq()
209 once = 1; in sun3xflop_request_irq()
/kernel/linux/linux-6.6/arch/m68k/include/asm/
H A Dsun3xflop.h48 static int once = 0; in sun3x_82072_fd_inb() local
60 if(!once) { in sun3x_82072_fd_inb()
61 once = 1; in sun3x_82072_fd_inb()
205 static int once = 0; in sun3xflop_request_irq() local
208 if(!once) { in sun3xflop_request_irq()
209 once = 1; in sun3xflop_request_irq()
/kernel/linux/linux-6.6/arch/x86/boot/compressed/
H A Dmem.c17 static bool once; in early_is_tdx_guest() local
23 if (!once) { in early_is_tdx_guest()
29 once = true; in early_is_tdx_guest()
/kernel/liteos_a/kernel/base/ipc/
H A Dlos_event.c127 UINT32 timeout, BOOL once) in OsEventReadImp()
133 if (once == FALSE) { in OsEventReadImp()
161 BOOL once) in OsEventRead()
172 ret = OsEventReadImp(eventCB, eventMask, mode, timeout, once); in OsEventRead()
194 LITE_OS_SEC_TEXT VOID OsEventWriteUnsafe(PEVENT_CB_S eventCB, UINT32 events, BOOL once, UINT8 *exitFlag) in OsEventWriteUnsafe() argument
208 if (once == TRUE) { in OsEventWriteUnsafe()
220 LITE_OS_SEC_TEXT STATIC UINT32 OsEventWrite(PEVENT_CB_S eventCB, UINT32 events, BOOL once) in OsEventWrite() argument
234 OsEventWriteUnsafe(eventCB, events, once, &exitFlag); in OsEventWrite()
126 OsEventReadImp(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeout, BOOL once) OsEventReadImp() argument
160 OsEventRead(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeout, BOOL once) OsEventRead() argument
/foundation/communication/wifi/wifi/utils/src/
H A Dwifi_timer.cpp39 ErrCode WifiTimer::Register(const TimerCallback &callback, uint32_t &outTimerId, uint32_t interval, bool once) in Register() argument
85 ErrCode WifiTimer::Register(const TimerCallback &callback, uint32_t &outTimerId, uint32_t interval, bool once) in Register() argument
92 uint32_t ret = timer_->Register(callback, interval, once); in Register()
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dcamera_timer.cpp65 uint32_t CameraTimer::Register(const TimerCallback& callback, uint32_t interval, bool once) in Register() argument
72 uint32_t timerId = timer_->Register(callback, interval, once); in Register()
/foundation/communication/wifi/wifi/utils/inc/
H A Dwifi_timer.h39 const TimerCallback &callback, uint32_t &outTimerId, uint32_t interval = DEFAULT_TIMEROUT, bool once = true);
57 const TimerCallback &callback, uint32_t &outTimerId, uint32_t interval = DEFAULT_TIMEROUT, bool once = true);
/foundation/filemanagement/dfs_service/utils/system/include/
H A Ddfsu_singleton.h68 static std::once_flag once; in GetInstance() local
69 std::call_once(once, []() mutable { in GetInstance()
/kernel/linux/linux-5.10/fs/cifs/
H A Dcifs_debug.h77 cifs_dbg_func(once, type, fmt, ##__VA_ARGS__); \
102 cifs_server_dbg_func(once, type, fmt, ##__VA_ARGS__); \
126 cifs_tcon_dbg_func(once, type, fmt, ##__VA_ARGS__); \
/kernel/linux/linux-6.6/fs/smb/client/
H A Dcifs_debug.h77 cifs_dbg_func(once, type, fmt, ##__VA_ARGS__); \
102 cifs_server_dbg_func(once, type, fmt, ##__VA_ARGS__); \
126 cifs_tcon_dbg_func(once, type, fmt, ##__VA_ARGS__); \
/foundation/multimedia/camera_framework/test/fuzztest/cameratimer_fuzzer/
H A Dcamera_timer_fuzzer.cpp80 bool once = data.ReadBool(); in Test() local
82 uint32_t timerId = fuzz->Register(callback, interval, once); in Test()
/foundation/graphic/graphic_3d/3d_widget_adapter/src/
H A Dgraphics_manager_common.cpp265 static bool once = false; in AttachContext() local
266 if (once) { in AttachContext()
276 once = true; in AttachContext()
/kernel/linux/linux-5.10/lib/
H A Dbug.c148 unsigned line, warning, once, done; in report_bug() local
171 once = (bug->flags & BUGFLAG_ONCE) != 0; in report_bug()
174 if (warning && once) { in report_bug()
/kernel/linux/linux-6.6/lib/
H A Dbug.c161 unsigned line, warning, once, done; in __report_bug() local
175 once = (bug->flags & BUGFLAG_ONCE) != 0; in __report_bug()
178 if (warning && once) { in __report_bug()
/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_thread.h88 bool once = true);
105 bool once = true);
/kernel/linux/linux-5.10/arch/sparc/include/asm/
H A Dfloppy_32.h263 static int once = 0; in sun_fd_request_irq() local
265 if (!once) { in sun_fd_request_irq()
266 once = 1; in sun_fd_request_irq()
/kernel/linux/linux-6.6/arch/sparc/include/asm/
H A Dfloppy_32.h263 static int once = 0; in sun_fd_request_irq() local
265 if (!once) { in sun_fd_request_irq()
266 once = 1; in sun_fd_request_irq()
/foundation/multimedia/player_framework/services/services/factory/
H A Dengine_factory_repo.cpp43 static std::once_flag once; in Instance() local
44 std::call_once(once, [&] { inst = new EngineFactoryRepo(); }); in Instance()
/foundation/resourceschedule/ffrt/src/core/
H A Dtask_io.cpp59 static pthread_once_t once = PTHREAD_ONCE_INIT; member
75 pthread_once(&ffrt::once, ffrt::InitIOTaskExecutor); in ffrt_submit_coroutine()
/foundation/communication/netmanager_base/utils/napi_utils/src/
H A Devent_listener.cpp24 EventListener::EventListener(napi_env env, std::string type, napi_value callback, bool once, bool asyncCallback) in EventListener() argument
28 once_(once), in EventListener()
/foundation/communication/netstack/utils/napi_utils/src/
H A Devent_listener.cpp30 EventListener::EventListener(long tid, napi_env env, std::string type, napi_value callback, bool once, in EventListener() argument
34 once_(once), in EventListener()
/kernel/linux/linux-5.10/arch/arm/mach-shmobile/
H A Dpm-rcar-gen2.c49 static int once; in rcar_gen2_pm_init() local
56 if (once++) in rcar_gen2_pm_init()
/kernel/linux/linux-6.6/arch/arm/mach-shmobile/
H A Dpm-rcar-gen2.c49 static int once; in rcar_gen2_pm_init() local
56 if (once++) in rcar_gen2_pm_init()
/kernel/linux/linux-5.10/drivers/nvdimm/
H A Dregion.c15 static unsigned long once; in nd_region_probe() local
21 && !test_and_set_bit(0, &once)) { in nd_region_probe()

Completed in 9 milliseconds

123456