Searched refs:argbuf (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/fs/fuse/ |
| H A D | virtio_fs.c | 709 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() 757 kfree(req->argbuf); in copy_args_from_argbuf() 758 req->argbuf = NULL; in copy_args_from_argbuf() 1349 void *argbuf, in sg_init_fuse_args() argument 1414 req->argbuf, &argbuf_used); in virtio_fs_enqueue_req() 1423 req->argbuf + argbuf_used, NULL); in virtio_fs_enqueue_req() 1465 if (ret < 0 && req->argbuf) { in virtio_fs_enqueue_req() 1466 kfree(req->argbuf); in virtio_fs_enqueue_req() [all …]
|
| H A D | fuse_i.h | 458 void *argbuf; member
|
| /linux-6.15/arch/powerpc/platforms/pseries/ |
| H A D | dlpar.c | 715 char *argbuf; in dlpar_store() local 719 args = argbuf = kstrdup(buf, GFP_KERNEL); in dlpar_store() 720 if (!argbuf) in dlpar_store() 742 kfree(argbuf); in dlpar_store()
|
| /linux-6.15/drivers/ata/ |
| H A D | libata-scsi.c | 463 u8 args[4], *argbuf = NULL; in ata_cmd_ioctl() local 484 argbuf = kmalloc(argsize, GFP_KERNEL); in ata_cmd_ioctl() 485 if (argbuf == NULL) { in ata_cmd_ioctl() 513 cmd_result = scsi_execute_cmd(scsidev, scsi_cmd, REQ_OP_DRV_IN, argbuf, in ata_cmd_ioctl() 547 if ((argbuf) in ata_cmd_ioctl() 548 && copy_to_user(arg + sizeof(args), argbuf, argsize)) in ata_cmd_ioctl() 551 kfree(argbuf); in ata_cmd_ioctl()
|
| /linux-6.15/tools/perf/ |
| H A D | builtin-trace.c | 2729 static uintptr_t argbuf[1024]; /* assuming single-threaded */ in syscall__augmented_args() local 2731 if ((size_t)(*augmented_args_size) > sizeof(argbuf)) in syscall__augmented_args() 2741 memcpy(argbuf, sample->raw_data + args_size, *augmented_args_size); in syscall__augmented_args() 2743 return argbuf; in syscall__augmented_args()
|