Home
last modified time | relevance | path

Searched refs:blocks_num (Results 1 – 6 of 6) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/open/
Dopen14.c35 static const ssize_t blocks_num = 4; variable
67 for (i = 0; i < blocks_num; ++i) in write_file()
85 if (st.st_size != blocks_num * size) { in test01()
87 (long)st.st_size, blocks_num * size); in test01()
120 for (i = 0; i < blocks_num; ++i) { in read_file()
/third_party/ltp/testcases/kernel/syscalls/openat/
Dopenat03.c36 static const ssize_t blocks_num = 4; variable
78 for (i = 0; i < blocks_num; ++i) in write_file()
96 if (st.st_size != blocks_num * size) { in test01()
98 (long)st.st_size, blocks_num * size); in test01()
131 for (i = 0; i < blocks_num; ++i) { in read_file()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dcuda_common.h34 inline int blocks_num(const int total_threads) const { in blocks_num() function
66 #define GET_BLOCKS(total_threads) mindspore::device::gpu::CudaCommon::GetInstance().blocks_num(tota…
/third_party/iowow/src/fs/tests/
Diwfs_test2.c254 CU_ASSERT_EQUAL(state1.state.blocks_num, state2.state.blocks_num); in test_fsm_open_close()
322 CU_ASSERT_EQUAL(state1.state.blocks_num, 65536); in test_fsm_uniform_alloc_impl()
344 CU_ASSERT_EQUAL(state1.state.blocks_num, state2.state.blocks_num); in test_fsm_uniform_alloc_impl()
369 CU_ASSERT_EQUAL(state1.state.blocks_num, 65536); in test_fsm_uniform_alloc_impl()
/third_party/iowow/src/fs/
Diwfsmfile.h177 uint64_t blocks_num; /**< Number of available data blocks. */ member
Diwfsmfile.c1807 state->blocks_num = impl->bmlen << 3; in _fsm_state()
2030 d->state.blocks_num = impl->bmlen << 3; in iwfs_fsmdbg_state()