/linux-6.1.9/mm/kasan/ |
D | kasan_test_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 …]
|
/linux-6.1.9/lib/ |
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-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | gpfifogv100.c | 145 u64 usermem; in gv100_fifo_gpfifo_new_() local 182 usermem = chan->base.chid * 0x200; in gv100_fifo_gpfifo_new_() 187 nvkm_wo32(fifo->user.mem, usermem + i, 0x00000000); in gv100_fifo_gpfifo_new_() 189 usermem = nvkm_memory_addr(fifo->user.mem) + usermem; in gv100_fifo_gpfifo_new_() 193 nvkm_wo32(chan->base.inst, 0x008, lower_32_bits(usermem)); in gv100_fifo_gpfifo_new_() 194 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 | 264 u64 usermem; in gk104_fifo_gpfifo_new_() local 301 usermem = chan->base.chid * 0x200; in gk104_fifo_gpfifo_new_() 306 nvkm_wo32(fifo->user.mem, usermem + i, 0x00000000); in gk104_fifo_gpfifo_new_() 308 usermem = nvkm_memory_addr(fifo->user.mem) + usermem; in gk104_fifo_gpfifo_new_() 312 nvkm_wo32(chan->base.inst, 0x08, lower_32_bits(usermem)); in gk104_fifo_gpfifo_new_() 313 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-6.1.9/arch/loongarch/kernel/ |
D | setup.c | 151 static int usermem __initdata; 167 if (usermem == 0) { in early_parse_mem() 168 usermem = 1; in early_parse_mem() 288 if (usermem) in arch_mem_init()
|
/linux-6.1.9/arch/mips/kernel/ |
D | setup.c | 343 static int usermem __initdata; 359 if (usermem == 0) { in early_parse_mem() 360 usermem = 1; in early_parse_mem() 412 usermem = 1; in early_parse_memmap() 646 if (usermem) in arch_mem_init()
|
/linux-6.1.9/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-6.1.9/Documentation/networking/ |
D | rds.rst | 283 loopback, stats, usermem pinning, and the connection state machine.
|