Home
last modified time | relevance | path

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

/linux/drivers/ata/
H A Dlibata-scsi.c465 u8 args[4], *argbuf = NULL; in ata_cmd_ioctl() local
486 argbuf = kmalloc(argsize, GFP_KERNEL); in ata_cmd_ioctl()
487 if (argbuf == NULL) { in ata_cmd_ioctl()
515 cmd_result = scsi_execute_cmd(scsidev, scsi_cmd, REQ_OP_DRV_IN, argbuf, in ata_cmd_ioctl()
549 if ((argbuf) in ata_cmd_ioctl()
550 && copy_to_user(arg + sizeof(args), argbuf, argsize)) in ata_cmd_ioctl()
553 kfree(argbuf); in ata_cmd_ioctl()
/linux/tools/perf/
H A Dbuiltin-trace.c2823 static uintptr_t argbuf[1024]; /* assuming single-threaded */ in trace__sys_enter()
2825 if ((size_t)(*augmented_args_size) > sizeof(argbuf)) in trace__sys_enter()
2835 memcpy(argbuf, sample->raw_data + args_size, *augmented_args_size); in trace__sys_enter()
2837 return argbuf; in trace__sys_enter()
2758 static uintptr_t argbuf[1024]; /* assuming single-threaded */ syscall__augmented_args() local