| /kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/ |
| D | pvrusb2-std.c | 107 unsigned int bufSize) in find_std_name() argument 113 if (strlen(p->name) != bufSize) continue; in find_std_name() 114 if (!memcmp(bufPtr,p->name,bufSize)) return p; in find_std_name() 121 unsigned int bufSize) in pvr2_std_str_to_id() argument 131 while (bufSize) { in pvr2_std_str_to_id() 134 while ((cnt < bufSize) && (bufPtr[cnt] != '-')) cnt++; in pvr2_std_str_to_id() 135 if (cnt >= bufSize) return 0; // No more characters in pvr2_std_str_to_id() 141 bufSize -= cnt; in pvr2_std_str_to_id() 147 while (cnt < bufSize) { in pvr2_std_str_to_id() 162 if (cnt < bufSize) cnt++; in pvr2_std_str_to_id() [all …]
|
| D | pvrusb2-std.h | 17 unsigned int bufSize); 23 unsigned int pvr2_std_id_to_str(char *bufPtr, unsigned int bufSize,
|
| /kernel/liteos_a/shell/full/src/cmds/ |
| D | dmesg.c | 178 UINT32 bufSize = size - sizeof(DmesgInfo); in OsCopyToNew() local 195 copyLen = ((bufSize < g_dmesgInfo->logSize) ? bufSize : g_dmesgInfo->logSize); in OsCopyToNew() 196 if (bufSize < g_dmesgInfo->logSize) { in OsCopyToNew() 197 copyStart = g_dmesgInfo->logSize - bufSize; in OsCopyToNew() 206 ret = memcpy_s(newBuf, bufSize, temp + copyStart, copyLen); in OsCopyToNew() 375 UINT32 bufSize = g_logBufSize; in OsBufFullWrite() local 383 if (logLen > bufSize) { /* full re-write */ in OsBufFullWrite() 384 ret = memcpy_s(buf + tail, bufSize - tail, dst, bufSize - tail); in OsBufFullWrite() 389 ret = memcpy_s(buf, bufSize, dst + bufSize - tail, tail); in OsBufFullWrite() 395 OsBufFullWrite(dst + bufSize, logLen - bufSize); in OsBufFullWrite() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
| D | dcn10_hw_sequencer_debug.c | 48 unsigned int snprintf_count(char *pBuf, unsigned int bufSize, char *fmt, ...) in snprintf_count() argument 56 ret_vsnprintf = vsnprintf(pBuf, bufSize, fmt, args); in snprintf_count() 61 if (ret_vsnprintf < bufSize) in snprintf_count() 64 chars_printed = bufSize - 1; in snprintf_count() 71 static unsigned int dcn10_get_hubbub_state(struct dc *dc, char *pBuf, unsigned int bufSize) in dcn10_get_hubbub_state() argument 78 unsigned int remaining_buffer = bufSize; in dcn10_get_hubbub_state() 106 return bufSize - remaining_buffer; in dcn10_get_hubbub_state() 109 static unsigned int dcn10_get_hubp_states(struct dc *dc, char *pBuf, unsigned int bufSize, bool inv… in dcn10_get_hubp_states() argument 116 unsigned int remaining_buffer = bufSize; in dcn10_get_hubp_states() 185 return bufSize - remaining_buffer; in dcn10_get_hubp_states() [all …]
|
| D | dcn10_hw_sequencer_debug.h | 40 unsigned int bufSize,
|
| D | dcn10_hw_sequencer.h | 156 unsigned int bufSize,
|
| /kernel/liteos_a/kernel/extended/blackbox/ |
| D | los_blackbox_common.c | 57 int FullWriteFile(const char *filePath, const char *buf, size_t bufSize, int isAppend) in FullWriteFile() argument 61 int totalToWrite = (int)bufSize; in FullWriteFile() 64 if (filePath == NULL || buf == NULL || bufSize == 0) { in FullWriteFile() 65 BBOX_PRINT_ERR("filePath: %p, buf: %p, bufSize: %lu!\n", filePath, buf, bufSize); in FullWriteFile() 92 return (totalWrite == (int)bufSize) ? 0 : -1; in FullWriteFile() 96 (VOID)bufSize; in FullWriteFile()
|
| D | los_blackbox_detector.c | 55 int UploadEventByStream(const char *buf, size_t bufSize) in UploadEventByStream() argument 57 if (buf == NULL || bufSize == 0) { in UploadEventByStream() 58 BBOX_PRINT_ERR("buf: %p, bufSize: %u\n", buf, (UINT32)bufSize); in UploadEventByStream()
|
| D | los_blackbox_detector.h | 43 int UploadEventByStream(const char *buf, size_t bufSize);
|
| D | los_blackbox_system_adapter.c | 68 static void SaveFaultLog(const char *filePath, const char *dataBuf, size_t bufSize, struct ErrorInf… in SaveFaultLog() argument 71 (void)FullWriteFile(filePath, dataBuf, bufSize, 1); in SaveFaultLog()
|
| D | los_blackbox_common.h | 51 int FullWriteFile(const char *filePath, const char *buf, size_t bufSize, int isAppend);
|
| /kernel/liteos_a/apps/perf/src/ |
| D | perf_record.c | 108 ssize_t PerfWriteFile(const char *filePath, const char *buf, ssize_t bufSize) in PerfWriteFile() argument 112 ssize_t totalToWrite = bufSize; in PerfWriteFile() 115 if (filePath == NULL || buf == NULL || bufSize == 0) { in PerfWriteFile() 138 return (totalWrite == bufSize) ? 0 : -1; in PerfWriteFile() 141 PerfPrintBuffer(buf, bufSize); in PerfWriteFile()
|
| /kernel/liteos_a/testsuites/unittest/process/basic/process/full/ |
| D | process_test_064.cpp | 50 static void GetRandomData(char **buf, int bufSize) in GetRandomData() argument 56 for (i = 0; i < bufSize - 1; ++i) { in GetRandomData()
|
| D | process_test_063.cpp | 50 static void GetRandomData(char **buf, int bufSize) in GetRandomData() argument 56 for (i = 0; i < bufSize - 1; ++i) { in GetRandomData()
|
| /kernel/linux/linux-5.10/sound/oss/dmasound/ |
| D | dmasound_core.c | 423 sq->bufSize = size; in sq_allocate_buffers() 446 dmasound.mach.dma_free(sq->buffers[i], sq->bufSize); in sq_release_buffers() 487 sq->block_size = sq->bufSize; in sq_setup() 490 sq->user_frag_size = sq->bufSize ; in sq_setup() 511 if ( sq->block_size <= 0 || sq->block_size > sq->bufSize) { in sq_setup() 515 sq->block_size = sq->bufSize ; in sq_setup() 970 if (size > sq->bufSize) in set_queue_frags() 1327 "write", write_sq.numBufs, write_sq.bufSize) ; in state_open()
|
| D | dmasound.h | 215 int bufSize; /* in bytes */ member
|
| /kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
| D | hal_btcoex.h | 57 u32 hal_btcoex_GetDBG(struct adapter *, u8 *pStrBuf, u32 bufSize);
|
| /kernel/liteos_m/components/trace/ |
| D | los_trace.h | 353 #define QUEUE_RW_PARAMS(queueId, queueSize, bufSize, operateType, readable, writable, timeout) \ argument 354 queueId, queueSize, bufSize, operateType, readable, writable, timeout
|
| /kernel/liteos_m/components/fs/vfs/ |
| D | vfs_fs.c | 131 static size_t GetCanonicalPath(const char *cwd, const char *path, char *buf, size_t bufSize) in GetCanonicalPath() argument 191 if ((!buf) || (bufSize == 0)) { in GetCanonicalPath() 196 …if (EOK != memcpy_s(buf, bufSize, tmpBuf, (((totalLen + 1) > bufSize) ? bufSize : (totalLen + 1)))… in GetCanonicalPath() 201 buf[bufSize - 1] = 0; in GetCanonicalPath()
|
| /kernel/liteos_a/kernel/include/ |
| D | los_trace.h | 380 #define QUEUE_RW_PARAMS(queueId, queueSize, bufSize, operateType, readable, writable, timeout) \ argument 381 queueId, queueSize, bufSize, operateType, readable, writable, timeout
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| D | clk_mgr.h | 124 unsigned int bufSize; member
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/ |
| D | hw_sequencer.h | 201 unsigned int bufSize, unsigned int mask);
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/ |
| D | dm_services.h | 164 unsigned int snprintf_count(char *pBuf, unsigned int bufSize, char *fmt, ...);
|
| /kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/ |
| D | hal_btcoex.c | 1513 u32 hal_btcoex_GetDBG(struct adapter *padapter, u8 *pStrBuf, u32 bufSize) in hal_btcoex_GetDBG() argument 1520 if (!pStrBuf || bufSize == 0) in hal_btcoex_GetDBG() 1524 leftSize = bufSize; in hal_btcoex_GetDBG()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/ |
| D | rn_clk_mgr.c | 271 unsigned int remaining_buffer = log_info->bufSize; in rn_dump_clk_registers()
|