Searched refs:read_num (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/tools/testing/selftests/mm/ |
D | khugepaged.c | 282 static const unsigned long read_num(const char *name) in read_num() function 399 .use_zero_page = read_num("use_zero_page"), in save_settings() 402 .defrag = read_num("khugepaged/defrag"), in save_settings() 404 read_num("khugepaged/alloc_sleep_millisecs"), in save_settings() 406 read_num("khugepaged/scan_sleep_millisecs"), in save_settings() 407 .max_ptes_none = read_num("khugepaged/max_ptes_none"), in save_settings() 408 .max_ptes_swap = read_num("khugepaged/max_ptes_swap"), in save_settings() 409 .max_ptes_shared = read_num("khugepaged/max_ptes_shared"), in save_settings() 410 .pages_to_scan = read_num("khugepaged/pages_to_scan"), in save_settings() 848 full_scans = read_num("khugepaged/full_scans") + 2; in wait_for_scan() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vcn.c | 1074 unsigned int read_num[2] = {0}; in amdgpu_debugfs_vcn_fwlog_read() local 1097 read_num[0] = min(size, (size_t)available); in amdgpu_debugfs_vcn_fwlog_read() 1099 read_num[0] = AMDGPU_VCNFW_LOG_SIZE - read_pos; in amdgpu_debugfs_vcn_fwlog_read() 1100 available = read_num[0] + write_pos - plog->header_size; in amdgpu_debugfs_vcn_fwlog_read() 1102 read_num[1] = write_pos - plog->header_size; in amdgpu_debugfs_vcn_fwlog_read() 1103 else if (size > read_num[0]) in amdgpu_debugfs_vcn_fwlog_read() 1104 read_num[1] = size - read_num[0]; in amdgpu_debugfs_vcn_fwlog_read() 1106 read_num[0] = size; in amdgpu_debugfs_vcn_fwlog_read() 1110 if (read_num[i]) { in amdgpu_debugfs_vcn_fwlog_read() 1113 if (read_num[i] == copy_to_user((buf + read_bytes), in amdgpu_debugfs_vcn_fwlog_read() [all …]
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 866 int read_num = __bnx2x_get_page_read_num(bp); in bnx2x_read_pages_regs() local 873 for (k = 0; k < read_num; k++) { in bnx2x_read_pages_regs()
|