Searched refs:max_chunk_size (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/drivers/infiniband/ulp/rtrs/ |
D | rtrs-srv.c | 37 static int __read_mostly max_chunk_size = DEFAULT_MAX_CHUNK_SIZE; variable 45 module_param_named(max_chunk_size, max_chunk_size, int, 0444); 46 MODULE_PARM_DESC(max_chunk_size, 639 max_chunk_size, 0); in map_cont_bufs() 654 NULL, max_chunk_size); in map_cont_bufs() 1094 max_chunk_size, DMA_BIDIRECTIONAL); in process_io_req() 1220 off >= max_chunk_size)) { in rtrs_srv_rdma_done() 1566 .max_io_size = cpu_to_le32(max_chunk_size - MAX_HDR_SIZE), in rtrs_rdma_do_accept() 2186 if (max_chunk_size < 4096 || !is_power_of_2(max_chunk_size)) { in check_module_params() 2188 max_chunk_size, 4096); in check_module_params() [all …]
|
/Linux-v5.10/fs/gfs2/ |
D | file.c | 1063 loff_t max_chunk_size = UINT_MAX & bsize_mask; in __gfs2_fallocate() local 1095 max_bytes = (len > max_chunk_size) ? max_chunk_size : len; in __gfs2_fallocate()
|
/Linux-v5.10/drivers/dma/sh/ |
D | rcar-dmac.c | 910 unsigned int max_chunk_size; in rcar_dmac_chan_prep_sg() local 931 max_chunk_size = RCAR_DMATCR_MASK << desc->xfer_shift; in rcar_dmac_chan_prep_sg() 954 unsigned int size = min(len, max_chunk_size); in rcar_dmac_chan_prep_sg()
|
/Linux-v5.10/drivers/staging/gasket/ |
D | gasket_core.c | 899 const ulong max_chunk_size = 64 * 1024 * 1024; in do_map_region() local 937 chunk_size = min(max_chunk_size, map_length - mapped_bytes); in do_map_region()
|
/Linux-v5.10/fs/btrfs/ |
D | volumes.c | 4838 u64 max_chunk_size; member 4853 ctl->max_chunk_size = BTRFS_MAX_DATA_CHUNK_SIZE; in init_alloc_chunk_ctl_policy_regular() 4860 ctl->max_chunk_size = ctl->max_stripe_size; in init_alloc_chunk_ctl_policy_regular() 4863 ctl->max_chunk_size = 2 * ctl->max_stripe_size; in init_alloc_chunk_ctl_policy_regular() 4871 ctl->max_chunk_size = min(div_factor(fs_devices->total_rw_bytes, 1), in init_alloc_chunk_ctl_policy_regular() 4872 ctl->max_chunk_size); in init_alloc_chunk_ctl_policy_regular() 5004 if (ctl->stripe_size * data_stripes > ctl->max_chunk_size) { in decide_stripe_size_regular() 5010 ctl->stripe_size = min(round_up(div_u64(ctl->max_chunk_size, in decide_stripe_size_regular()
|
/Linux-v5.10/include/linux/mlx5/ |
D | mlx5_ifc.h | 1112 u8 max_chunk_size[0x3]; member
|