Searched refs:kbufs (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/fs/nilfs2/ |
D | ioctl.c | 805 struct nilfs_argv *argv, void **kbufs) in nilfs_ioctl_prepare_clean_segments() argument 810 ret = nilfs_ioctl_delete_checkpoints(nilfs, &argv[1], kbufs[1]); in nilfs_ioctl_prepare_clean_segments() 819 ret = nilfs_ioctl_free_vblocknrs(nilfs, &argv[2], kbufs[2]); in nilfs_ioctl_prepare_clean_segments() 828 ret = nilfs_ioctl_mark_blocks_dirty(nilfs, &argv[3], kbufs[3]); in nilfs_ioctl_prepare_clean_segments() 869 void *kbufs[5]; in nilfs_ioctl_clean_segments() local 895 kbufs[4] = memdup_array_user((void __user *)(unsigned long)argv[4].v_base, in nilfs_ioctl_clean_segments() 897 if (IS_ERR(kbufs[4])) { in nilfs_ioctl_clean_segments() 898 ret = PTR_ERR(kbufs[4]); in nilfs_ioctl_clean_segments() 917 kbufs[n] = NULL; in nilfs_ioctl_clean_segments() 921 kbufs[n] = vmalloc(len); in nilfs_ioctl_clean_segments() [all …]
|
D | segment.c | 2526 void **kbufs) in nilfs_clean_segments() argument 2542 err = nilfs_ioctl_prepare_clean_segments(nilfs, argv, kbufs); in nilfs_clean_segments() 2548 sci->sc_freesegs = kbufs[4]; in nilfs_clean_segments()
|
/linux-6.12.1/drivers/xen/ |
D | privcmd.c | 594 struct privcmd_dm_op_buf kbufs[], unsigned int num, in lock_pages() argument 604 offset_in_page(kbufs[i].uptr) + kbufs[i].size, in lock_pages() 610 (unsigned long)kbufs[i].uptr + off * PAGE_SIZE, in lock_pages() 635 struct privcmd_dm_op_buf *kbufs; in privcmd_ioctl_dm_op() local 656 kbufs = kcalloc(kdata.num, sizeof(*kbufs), GFP_KERNEL); in privcmd_ioctl_dm_op() 657 if (!kbufs) in privcmd_ioctl_dm_op() 660 if (copy_from_user(kbufs, kdata.ubufs, in privcmd_ioctl_dm_op() 661 sizeof(*kbufs) * kdata.num)) { in privcmd_ioctl_dm_op() 667 if (kbufs[i].size > privcmd_dm_op_buf_max_size) { in privcmd_ioctl_dm_op() 672 if (!access_ok(kbufs[i].uptr, in privcmd_ioctl_dm_op() [all …]
|