Searched refs:argbuf (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | dlpar.c | 763 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 D | libata-scsi.c | 467 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 D | builtin-trace.c | 2758 static uintptr_t argbuf[1024]; /* assuming single-threaded */ in syscall__augmented_args() local 2760 if ((size_t)(*augmented_args_size) > sizeof(argbuf)) in syscall__augmented_args() 2770 memcpy(argbuf, sample->raw_data + args_size, *augmented_args_size); in syscall__augmented_args() 2772 return argbuf; in syscall__augmented_args()
|