/kernel/linux/linux-5.10/lib/ |
D | test_kasan_module.c | 23 char __user *usermem; in copy_user_test() local 31 usermem = (char __user *)vm_mmap(NULL, 0, PAGE_SIZE, in copy_user_test() 34 if (IS_ERR(usermem)) { in copy_user_test() 41 unused = copy_from_user(kmem, usermem, size + 1 + OOB_TAG_OFF); in copy_user_test() 44 unused = copy_to_user(usermem, kmem, size + 1 + OOB_TAG_OFF); in copy_user_test() 47 unused = __copy_from_user(kmem, usermem, size + 1 + OOB_TAG_OFF); in copy_user_test() 50 unused = __copy_to_user(usermem, kmem, size + 1 + OOB_TAG_OFF); in copy_user_test() 53 unused = __copy_from_user_inatomic(kmem, usermem, size + 1 + OOB_TAG_OFF); in copy_user_test() 56 unused = __copy_to_user_inatomic(usermem, kmem, size + 1 + OOB_TAG_OFF); in copy_user_test() 59 unused = strncpy_from_user(kmem, usermem, size + 1 + OOB_TAG_OFF); 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | gpfifogv100.c | 134 u64 usermem, mthd; in gv100_fifo_gpfifo_new_() local 178 usermem = chan->base.chid * 0x200; in gv100_fifo_gpfifo_new_() 183 nvkm_wo32(fifo->user.mem, usermem + i, 0x00000000); in gv100_fifo_gpfifo_new_() 185 usermem = nvkm_memory_addr(fifo->user.mem) + usermem; in gv100_fifo_gpfifo_new_() 203 nvkm_wo32(chan->base.inst, 0x008, lower_32_bits(usermem)); in gv100_fifo_gpfifo_new_() 204 nvkm_wo32(chan->base.inst, 0x00c, upper_32_bits(usermem)); in gv100_fifo_gpfifo_new_()
|
D | gpfifogf100.c | 223 u64 usermem, ioffset, ilength; in gf100_fifo_gpfifo_new() local 262 usermem = chan->base.chid * 0x1000; in gf100_fifo_gpfifo_new() 268 nvkm_wo32(fifo->user.mem, usermem + i, 0x00000000); in gf100_fifo_gpfifo_new() 270 usermem = nvkm_memory_addr(fifo->user.mem) + usermem; in gf100_fifo_gpfifo_new() 274 nvkm_wo32(chan->base.inst, 0x08, lower_32_bits(usermem)); in gf100_fifo_gpfifo_new() 275 nvkm_wo32(chan->base.inst, 0x0c, upper_32_bits(usermem)); in gf100_fifo_gpfifo_new()
|
D | gpfifogk104.c | 252 u64 usermem; in gk104_fifo_gpfifo_new_() local 298 usermem = chan->base.chid * 0x200; in gk104_fifo_gpfifo_new_() 303 nvkm_wo32(fifo->user.mem, usermem + i, 0x00000000); in gk104_fifo_gpfifo_new_() 305 usermem = nvkm_memory_addr(fifo->user.mem) + usermem; in gk104_fifo_gpfifo_new_() 309 nvkm_wo32(chan->base.inst, 0x08, lower_32_bits(usermem)); in gk104_fifo_gpfifo_new_() 310 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()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | setup.c | 339 static int usermem __initdata; 350 if (usermem == 0) { in early_parse_mem() 351 usermem = 1; in early_parse_mem() 400 usermem = 1; in early_parse_memmap() 634 if (usermem) in arch_mem_init()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/Documentation/networking/ |
D | rds.rst | 283 loopback, stats, usermem pinning, and the connection state machine.
|