Searched refs:argbuf (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/fs/fuse/ |
H A D | virtio_fs.c | 482 /* Allocate and copy args into req->argbuf */ 497 req->argbuf = kmalloc(len, GFP_ATOMIC); in copy_args_to_argbuf() 498 if (!req->argbuf) in copy_args_to_argbuf() 502 memcpy(req->argbuf + offset, in copy_args_to_argbuf() 511 /* Copy args out of and free req->argbuf */ 534 memcpy(args->out_args[i].value, req->argbuf + offset, argsize); in copy_args_from_argbuf() 545 kfree(req->argbuf); in copy_args_from_argbuf() 546 req->argbuf = NULL; in copy_args_from_argbuf() 1103 void *argbuf, in sg_init_fuse_args() 1112 sg_init_one(&sg[total_sgs++], argbuf, le in sg_init_fuse_args() 1098 sg_init_fuse_args(struct scatterlist *sg, struct fuse_req *req, struct fuse_arg *args, unsigned int numargs, bool argpages, void *argbuf, unsigned int *len_used) sg_init_fuse_args() argument [all...] |
H A D | fuse_i.h | 379 void *argbuf; member
|
/kernel/linux/linux-6.6/fs/fuse/ |
H A D | virtio_fs.c | 490 /* Allocate and copy args into req->argbuf */ 505 req->argbuf = kmalloc(len, GFP_ATOMIC); in copy_args_to_argbuf() 506 if (!req->argbuf) in copy_args_to_argbuf() 510 memcpy(req->argbuf + offset, in copy_args_to_argbuf() 519 /* Copy args out of and free req->argbuf */ 542 memcpy(args->out_args[i].value, req->argbuf + offset, argsize); in copy_args_from_argbuf() 553 kfree(req->argbuf); in copy_args_from_argbuf() 554 req->argbuf = NULL; in copy_args_from_argbuf() 1097 void *argbuf, in sg_init_fuse_args() 1106 sg_init_one(&sg[total_sgs++], argbuf, le in sg_init_fuse_args() 1092 sg_init_fuse_args(struct scatterlist *sg, struct fuse_req *req, struct fuse_arg *args, unsigned int numargs, bool argpages, void *argbuf, unsigned int *len_used) sg_init_fuse_args() argument [all...] |
H A D | fuse_i.h | 394 void *argbuf; member
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | dlpar.c | 518 char *argbuf; in dlpar_store() local 522 args = argbuf = kstrdup(buf, GFP_KERNEL); in dlpar_store() 523 if (!argbuf) { in dlpar_store() 525 kfree(argbuf); in dlpar_store() 548 kfree(argbuf); in dlpar_store()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | dlpar.c | 519 char *argbuf; in dlpar_store() local 523 args = argbuf = kstrdup(buf, GFP_KERNEL); in dlpar_store() 524 if (!argbuf) in dlpar_store() 546 kfree(argbuf); in dlpar_store()
|
/kernel/linux/linux-5.10/drivers/ata/ |
H A D | libata-scsi.c | 361 u8 args[4], *argbuf = NULL; in ata_cmd_ioctl() local 378 argbuf = kmalloc(argsize, GFP_KERNEL); in ata_cmd_ioctl() 379 if (argbuf == NULL) { in ata_cmd_ioctl() 409 cmd_result = scsi_execute(scsidev, scsi_cmd, data_dir, argbuf, argsize, in ata_cmd_ioctl() 441 if ((argbuf) in ata_cmd_ioctl() 442 && copy_to_user(arg + sizeof(args), argbuf, argsize)) in ata_cmd_ioctl() 445 kfree(argbuf); in ata_cmd_ioctl()
|
/kernel/linux/linux-6.6/drivers/ata/ |
H A D | libata-scsi.c | 382 u8 args[4], *argbuf = NULL; in ata_cmd_ioctl() local 403 argbuf = kmalloc(argsize, GFP_KERNEL); in ata_cmd_ioctl() 404 if (argbuf == NULL) { in ata_cmd_ioctl() 432 cmd_result = scsi_execute_cmd(scsidev, scsi_cmd, REQ_OP_DRV_IN, argbuf, in ata_cmd_ioctl() 466 if ((argbuf) in ata_cmd_ioctl() 467 && copy_to_user(arg + sizeof(args), argbuf, argsize)) in ata_cmd_ioctl() 470 kfree(argbuf); in ata_cmd_ioctl()
|
Completed in 18 milliseconds