/linux-5.19.10/lib/ |
D | test_kasan_module.c | 21 char __user *usermem; in copy_user_test() local 29 usermem = (char __user *)vm_mmap(NULL, 0, PAGE_SIZE, in copy_user_test() 32 if (IS_ERR(usermem)) { in copy_user_test() 41 unused = copy_from_user(kmem, usermem, size + 1); in copy_user_test() 44 unused = copy_to_user(usermem, kmem, size + 1); in copy_user_test() 47 unused = __copy_from_user(kmem, usermem, size + 1); in copy_user_test() 50 unused = __copy_to_user(usermem, kmem, size + 1); in copy_user_test() 53 unused = __copy_from_user_inatomic(kmem, usermem, size + 1); in copy_user_test() 56 unused = __copy_to_user_inatomic(usermem, kmem, size + 1); in copy_user_test() 59 unused = strncpy_from_user(kmem, usermem, size + 1); in copy_user_test() [all …]
|
D | test_user_copy.c | 184 char __user *usermem; in test_user_copy_init() local 207 usermem = (char __user *)user_addr; in test_user_copy_init() 214 ret |= test(copy_to_user(usermem, kmem, PAGE_SIZE), in test_user_copy_init() 217 ret |= test(copy_from_user(kmem, usermem, PAGE_SIZE), in test_user_copy_init() 225 ret |= test(put_user(val_##size, (size __user *)usermem), \ in test_user_copy_init() 228 ret |= test(get_user(val_##size, (size __user *)usermem), \ in test_user_copy_init() 248 ret |= test_check_nonzero_user(kmem, usermem, 2 * PAGE_SIZE); in test_user_copy_init() 250 ret |= test_copy_struct_from_user(kmem, usermem, 2 * PAGE_SIZE); in test_user_copy_init()
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | gpfifogv100.c | 129 u64 usermem, mthd; in gv100_fifo_gpfifo_new_() local 167 usermem = chan->base.chid * 0x200; in gv100_fifo_gpfifo_new_() 172 nvkm_wo32(fifo->user.mem, usermem + i, 0x00000000); in gv100_fifo_gpfifo_new_() 174 usermem = nvkm_memory_addr(fifo->user.mem) + usermem; in gv100_fifo_gpfifo_new_() 192 nvkm_wo32(chan->base.inst, 0x008, lower_32_bits(usermem)); in gv100_fifo_gpfifo_new_() 193 nvkm_wo32(chan->base.inst, 0x00c, upper_32_bits(usermem)); in gv100_fifo_gpfifo_new_()
|
D | gpfifogf100.c | 230 u64 usermem, ioffset, ilength; in gf100_fifo_gpfifo_new() local 269 usermem = chan->base.chid * 0x1000; in gf100_fifo_gpfifo_new() 275 nvkm_wo32(fifo->user.mem, usermem + i, 0x00000000); in gf100_fifo_gpfifo_new() 277 usermem = nvkm_memory_addr(fifo->user.mem) + usermem; in gf100_fifo_gpfifo_new() 281 nvkm_wo32(chan->base.inst, 0x08, lower_32_bits(usermem)); in gf100_fifo_gpfifo_new() 282 nvkm_wo32(chan->base.inst, 0x0c, upper_32_bits(usermem)); in gf100_fifo_gpfifo_new()
|
D | gpfifogk104.c | 259 u64 usermem; in gk104_fifo_gpfifo_new_() local 296 usermem = chan->base.chid * 0x200; in gk104_fifo_gpfifo_new_() 301 nvkm_wo32(fifo->user.mem, usermem + i, 0x00000000); in gk104_fifo_gpfifo_new_() 303 usermem = nvkm_memory_addr(fifo->user.mem) + usermem; in gk104_fifo_gpfifo_new_() 307 nvkm_wo32(chan->base.inst, 0x08, lower_32_bits(usermem)); in gk104_fifo_gpfifo_new_() 308 nvkm_wo32(chan->base.inst, 0x0c, upper_32_bits(usermem)); in gk104_fifo_gpfifo_new_()
|
D | gv100.c | 35 struct nvkm_memory *usermem = chan->fifo->user.mem; in gv100_fifo_runlist_chan() local 36 const u64 user = nvkm_memory_addr(usermem) + (chan->base.chid * 0x200); in gv100_fifo_runlist_chan()
|
/linux-5.19.10/arch/loongarch/kernel/ |
D | setup.c | 158 static int usermem __initdata; 174 if (usermem == 0) { in early_parse_mem() 175 usermem = 1; in early_parse_mem() 235 if (usermem) in arch_mem_init()
|
/linux-5.19.10/arch/mips/kernel/ |
D | setup.c | 342 static int usermem __initdata; 358 if (usermem == 0) { in early_parse_mem() 359 usermem = 1; in early_parse_mem() 411 usermem = 1; in early_parse_memmap() 645 if (usermem) in arch_mem_init()
|
/linux-5.19.10/arch/arm/kernel/ |
D | setup.c | 821 static int usermem __initdata = 0; in early_mem() 831 if (usermem == 0) { in early_mem() 832 usermem = 1; in early_mem()
|
/linux-5.19.10/Documentation/networking/ |
D | rds.rst | 283 loopback, stats, usermem pinning, and the connection state machine.
|