Searched refs:argbuf (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/fs/fuse/ |
H A D | virtio_fs.c | 515 req->argbuf = kmalloc(len, GFP_ATOMIC); in copy_args_to_argbuf() 516 if (!req->argbuf) in copy_args_to_argbuf() 520 memcpy(req->argbuf + offset, in copy_args_to_argbuf() 552 memcpy(args->out_args[i].value, req->argbuf + offset, argsize); in copy_args_from_argbuf() 563 kfree(req->argbuf); in copy_args_from_argbuf() 564 req->argbuf = NULL; in copy_args_from_argbuf() 1107 void *argbuf, in sg_init_fuse_args() argument 1116 sg_init_one(&sg[total_sgs++], argbuf, len); in sg_init_fuse_args() 1171 req->argbuf, &argbuf_used); in virtio_fs_enqueue_req() 1180 req->argbuf + argbuf_used, NULL); in virtio_fs_enqueue_req() [all …]
|
H A D | fuse_i.h | 394 void *argbuf; member
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | dlpar.c | 502 char *argbuf; in dlpar_store() local 506 args = argbuf = kstrdup(buf, GFP_KERNEL); in dlpar_store() 507 if (!argbuf) in dlpar_store() 529 kfree(argbuf); in dlpar_store()
|
/openbmc/linux/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()
|