Home
last modified time | relevance | path

Searched refs:argbuf (Results 1 – 5 of 5) sorted by relevance

/linux/fs/fuse/
H A Dvirtio_fs.c709 req->argbuf = kmalloc(len, gfp); in copy_args_to_argbuf()
710 if (!req->argbuf) in copy_args_to_argbuf()
714 memcpy(req->argbuf + offset, in copy_args_to_argbuf()
746 memcpy(args->out_args[i].value, req->argbuf + offset, argsize); in copy_args_from_argbuf()
757 kfree(req->argbuf); in copy_args_from_argbuf()
758 req->argbuf = NULL; in copy_args_from_argbuf()
1346 void *argbuf, in sg_init_fuse_args() argument
1355 sg_init_one(&sg[total_sgs++], argbuf, len); in sg_init_fuse_args()
1411 req->argbuf, &argbuf_used); in virtio_fs_enqueue_req()
1420 req->argbuf + argbuf_used, NULL); in virtio_fs_enqueue_req()
[all …]
H A Dfuse_i.h473 void *argbuf; member
/linux/arch/powerpc/platforms/pseries/
H A Ddlpar.c763 char *argbuf; in dlpar_store() local
767 args = argbuf = kstrdup(buf, GFP_KERNEL); in dlpar_store()
768 if (!argbuf) in dlpar_store()
790 kfree(argbuf); in dlpar_store()
/linux/drivers/ata/
H A Dlibata-scsi.c467 u8 args[4], *argbuf = NULL; in ata_cmd_ioctl() local
488 argbuf = kmalloc(argsize, GFP_KERNEL); in ata_cmd_ioctl()
489 if (argbuf == NULL) { in ata_cmd_ioctl()
517 cmd_result = scsi_execute_cmd(scsidev, scsi_cmd, REQ_OP_DRV_IN, argbuf, in ata_cmd_ioctl()
551 if ((argbuf) in ata_cmd_ioctl()
552 && copy_to_user(arg + sizeof(args), argbuf, argsize)) in ata_cmd_ioctl()
555 kfree(argbuf); in ata_cmd_ioctl()
/linux/tools/perf/
H A Dbuiltin-trace.c2760 static uintptr_t argbuf[1024]; /* assuming single-threaded */ in syscall__augmented_args() local
2762 if ((size_t)(*augmented_args_size) > sizeof(argbuf)) in syscall__augmented_args()
2772 memcpy(argbuf, sample->raw_data + args_size, *augmented_args_size); in syscall__augmented_args()
2774 return argbuf; in syscall__augmented_args()