/linux/fs/gfs2/ |
H A D | file.c | 781 size_t *window_size) in should_fault_in_pages() argument 806 *window_size = size - offs; in should_fault_in_pages() 815 size_t prev_count = 0, window_size = 0; in gfs2_file_direct_read() local 856 if (should_fault_in_pages(to, iocb, &prev_count, &window_size)) { in gfs2_file_direct_read() 858 window_size -= fault_in_iov_iter_writeable(to, window_size); in gfs2_file_direct_read() 859 if (window_size) in gfs2_file_direct_read() 879 size_t prev_count = 0, window_size = 0; in gfs2_file_direct_write() local 926 window_size <= PAGE_SIZE; in gfs2_file_direct_write() 927 if (should_fault_in_pages(from, iocb, &prev_count, &window_size)) { in gfs2_file_direct_write() 929 window_size -= fault_in_iov_iter_readable(from, window_size); in gfs2_file_direct_write() [all …]
|
/linux/fs/squashfs/ |
H A D | zstd_wrapper.c | 26 size_t window_size; member 35 wksp->window_size = max_t(size_t, in zstd_init() 37 wksp->mem_size = zstd_dstream_workspace_bound(wksp->window_size); in zstd_init() 74 stream = zstd_init_dstream(wksp->window_size, wksp->mem, wksp->mem_size); in zstd_uncompress()
|
/linux/drivers/pci/controller/ |
H A D | pci-rcar-gen2.c | 179 unsigned long window_size; in rcar_pci_setup() local 188 window_size = SZ_1G; in rcar_pci_setup() 192 window_size = resource_size(entry->res); in rcar_pci_setup() 212 switch (window_size) { in rcar_pci_setup() 224 window_size); in rcar_pci_setup() 225 window_size = SZ_256M; in rcar_pci_setup()
|
H A D | pcie-iproc.c | 943 resource_size_t window_size = in iproc_pcie_setup_ob() local 952 if (size < window_size) { in iproc_pcie_setup_ob() 961 axi_addr = ALIGN_DOWN(axi_addr, window_size); in iproc_pcie_setup_ob() 962 pci_addr = ALIGN_DOWN(pci_addr, window_size); in iproc_pcie_setup_ob() 963 size = window_size; in iproc_pcie_setup_ob() 966 if (!IS_ALIGNED(axi_addr, window_size) || in iproc_pcie_setup_ob() 967 !IS_ALIGNED(pci_addr, window_size)) { in iproc_pcie_setup_ob() 983 size -= window_size; in iproc_pcie_setup_ob() 992 axi_addr += window_size; in iproc_pcie_setup_ob() 993 pci_addr += window_size; in iproc_pcie_setup_ob()
|
/linux/drivers/ata/ |
H A D | sata_sx4.c | 939 u32 window_size; in pdc20621_get_from_dimm() local 950 window_size = 0x2000 * 4; /* 32K byte uchar size */ in pdc20621_get_from_dimm() 951 idx = (u16) (offset / window_size); in pdc20621_get_from_dimm() 958 offset -= (idx * window_size); in pdc20621_get_from_dimm() 960 dist = min(size, window_size - offset); in pdc20621_get_from_dimm() 965 for (; (long) size >= (long) window_size ;) { in pdc20621_get_from_dimm() 970 memcpy_fromio(psource, dimm_mmio, window_size / 4); in pdc20621_get_from_dimm() 971 psource += window_size; in pdc20621_get_from_dimm() 972 size -= window_size; in pdc20621_get_from_dimm() 989 u32 window_size; in pdc20621_put_to_dimm() local [all …]
|
/linux/drivers/video/fbdev/ |
H A D | carminefb.c | 226 u32 window_size; in carmine_init_display_param() local 275 window_size = (par->res->vdp - 1) << CARMINE_DISP_WIN_H_SHIFT; in carmine_init_display_param() 276 window_size |= par->res->hdp; in carmine_init_display_param() 279 c_set_disp_reg(par, CARMINE_DISP_REG_L0_WIN_SIZE, window_size); in carmine_init_display_param() 281 c_set_disp_reg(par, CARMINE_DISP_REG_L1_WIN_SIZE, window_size); in carmine_init_display_param() 283 c_set_disp_reg(par, CARMINE_DISP_REG_L2_WIN_SIZE, window_size); in carmine_init_display_param() 285 c_set_disp_reg(par, CARMINE_DISP_REG_L3_WIN_SIZE, window_size); in carmine_init_display_param() 287 c_set_disp_reg(par, CARMINE_DISP_REG_L4_WIN_SIZE, window_size); in carmine_init_display_param() 289 c_set_disp_reg(par, CARMINE_DISP_REG_L5_WIN_SIZE, window_size); in carmine_init_display_param() 291 c_set_disp_reg(par, CARMINE_DISP_REG_L6_WIN_SIZE, window_size); in carmine_init_display_param() [all …]
|
/linux/drivers/thermal/intel/ |
H A D | intel_powerclamp.c | 79 static unsigned int window_size; variable 295 window_size = clamp(new_window_size, 2ul, 10ul); in window_size_set() 308 module_param_cb(window_size, &window_size_ops, &window_size, 0644); 309 MODULE_PARM_DESC(window_size, "sliding window in number of clamping cycles\n" 475 powerclamp_data.window_size_now = window_size; in get_run_time() 780 window_size = 2; in powerclamp_init()
|
/linux/drivers/ssb/ |
H A D | driver_mipscore.c | 225 pflash->window_size = SSB_FLASH1_SZ; in ssb_mips_flash_detect() 240 pflash->window_size = SSB_FLASH2_SZ; in ssb_mips_flash_detect() 256 bcm47xx_nvram_init_from_mem(pflash->window, pflash->window_size); in ssb_mips_flash_detect() 261 ssb_pflash_resource.end = pflash->window + pflash->window_size; in ssb_mips_flash_detect()
|
/linux/include/trace/events/ |
H A D | rpcgss.h | 596 u32 window_size, 604 TP_ARGS(window_size, expiry, now, timeout, len, data), 610 __field(u32, window_size) 619 __entry->window_size = window_size; 625 __entry->window_size, __entry->expiry, __entry->now,
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda-tce.c | 291 __u32 page_shift, __u64 window_size, __u32 levels, in pnv_pci_ioda2_table_alloc_pages() argument 297 const unsigned int window_shift = ilog2(window_size); in pnv_pci_ioda2_table_alloc_pages() 306 if (!is_power_of_2(window_size)) in pnv_pci_ioda2_table_alloc_pages() 355 window_size, tce_table_size, bus_offset, tbl->it_base, in pnv_pci_ioda2_table_alloc_pages()
|
H A D | pci-ioda.c | 1068 u64 window_size, table_size, tce_count, addr; in pnv_pci_ioda_dma_64bit_bypass() local 1078 window_size = roundup_pow_of_two(memory_hotplug_max() + (1ULL << 32)); in pnv_pci_ioda_dma_64bit_bypass() 1079 tce_count = window_size >> tce_order; in pnv_pci_ioda_dma_64bit_bypass() 1345 int num, __u32 page_shift, __u64 window_size, __u32 levels, in pnv_pci_ioda2_create_table() argument 1362 bus_offset, page_shift, window_size, in pnv_pci_ioda2_create_table() 1402 const u64 window_size = min((maxblock * 8) << PAGE_SHIFT, max_memory); in pnv_pci_ioda2_setup_default_config() local 1404 unsigned long tces_order = ilog2(window_size >> PAGE_SHIFT); in pnv_pci_ioda2_setup_default_config() 1417 window_size, levels, false, &tbl); in pnv_pci_ioda2_setup_default_config() 1427 if (window_size > pe->phb->ioda.m32_pci_base) { in pnv_pci_ioda2_setup_default_config() 1429 res_end = min(window_size, SZ_4G) >> tbl->it_page_shift; in pnv_pci_ioda2_setup_default_config() [all …]
|
H A D | pci.h | 286 __u64 window_size, __u32 levels); 314 __u32 page_shift, __u64 window_size, __u32 levels,
|
/linux/arch/um/drivers/ |
H A D | pty.c | 149 .window_size = generic_window_size, 162 .window_size = generic_window_size,
|
H A D | chan_kern.c | 78 .window_size = not_configged_window_size, 337 if (chan->ops->window_size == NULL) in chan_window_size() 339 return chan->ops->window_size(chan->fd_in, chan->data, in chan_window_size() 344 if (chan->ops->window_size == NULL) in chan_window_size() 346 return chan->ops->window_size(chan->fd_in, chan->data, in chan_window_size()
|
H A D | null.c | 48 .window_size = generic_window_size,
|
H A D | chan_user.h | 26 int (*window_size)(int, void *, unsigned short *, unsigned short *); member
|
H A D | tty.c | 78 .window_size = generic_window_size,
|
/linux/tools/testing/cxl/test/ |
H A D | cxl.c | 215 .window_size = SZ_256M * 4UL, 230 .window_size = SZ_256M * 8UL, 245 .window_size = SZ_256M * 4UL, 260 .window_size = SZ_256M * 8UL, 275 .window_size = SZ_256M * 4UL, 290 .window_size = SZ_256M, 307 .window_size = SZ_256M * 8UL, 323 .window_size = SZ_256M * 8UL, 339 .window_size = SZ_256M * 16UL, 452 res = alloc_mock_res(window->window_size, SZ_256M); in populate_cedt()
|
/linux/drivers/net/wireless/ath/ |
H A D | dfs_pri_detector.h | 73 u32 window_size; member
|
H A D | dfs_pri_detector.c | 190 if (pde->last_ts <= pde->window_size) in pulse_queue_check_window() 193 min_valid_ts = pde->last_ts - pde->window_size; in pulse_queue_check_window() 430 de->window_size = rs->pri_max * rs->ppb * rs->num_pri; in pri_detector_init()
|
/linux/include/linux/ssb/ |
H A D | ssb_driver_mips.h | 21 u32 window_size; member
|
/linux/drivers/cxl/ |
H A D | acpi.c | 150 if (!IS_ALIGNED(cfmws->window_size, SZ_256M)) { in cxl_acpi_cfmws_verify() 368 cfmws->base_hpa, cfmws->window_size, ctx->id++); in DEFINE_FREE() 388 .end = cfmws->base_hpa + cfmws->window_size - 1, in DEFINE_FREE() 440 cfmws->base_hpa + cfmws->window_size - 1, rc); in cxl_parse_cfmws() 444 cfmws->base_hpa + cfmws->window_size - 1); in cxl_parse_cfmws()
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | phy.h | 219 __le32 window_size; member
|
/linux/arch/powerpc/include/asm/ |
H A D | iommu.h | 172 __u64 window_size, 177 __u64 window_size,
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | iommu.c | 564 unsigned long window_size, unsigned long page_shift, in iommu_table_setparms_common() argument 570 tbl->it_size = window_size >> page_shift; in iommu_table_setparms_common() 1862 __u64 window_size, __u32 levels) in spapr_tce_get_table_size() argument 1868 size = window_size >> (page_shift - 3); in spapr_tce_get_table_size() 1974 __u64 window_size) in is_default_window_request() argument 1976 if ((window_size <= table_group->tce32_size) && in is_default_window_request() 1984 __u32 page_shift, __u64 window_size, __u32 levels, in spapr_tce_create_table() argument 2005 if (!is_power_of_2(window_size) || levels > 1) in spapr_tce_create_table() 2008 window_shift = order_base_2(window_size); in spapr_tce_create_table() 2038 if (!is_default_window_request(table_group, page_shift, window_size)) { in spapr_tce_create_table() [all …]
|