Searched hist:"7078187 a795f862465325bcadf3070867c0cb5f8" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/fs/fuse/ |
H A D | fuse_i.h | diff 7078187a795f862465325bcadf3070867c0cb5f8 Fri Dec 12 02:49:05 CST 2014 Miklos Szeredi <mszeredi@suse.cz> fuse: introduce fuse_simple_request() helper
The following pattern is repeated many times:
req = fuse_get_req_nopages(fc); /* Initialize req->(in|out).args */ fuse_request_send(fc, req); err = req->out.h.error; fuse_put_request(req);
Create a new replacement helper:
/* Initialize args */ err = fuse_simple_request(fc, &args);
In addition to reducing the code size, this will ease moving from the complex arg-based to a simpler page-based I/O on the fuse device.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
|
H A D | dev.c | diff 7078187a795f862465325bcadf3070867c0cb5f8 Fri Dec 12 02:49:05 CST 2014 Miklos Szeredi <mszeredi@suse.cz> fuse: introduce fuse_simple_request() helper
The following pattern is repeated many times:
req = fuse_get_req_nopages(fc); /* Initialize req->(in|out).args */ fuse_request_send(fc, req); err = req->out.h.error; fuse_put_request(req);
Create a new replacement helper:
/* Initialize args */ err = fuse_simple_request(fc, &args);
In addition to reducing the code size, this will ease moving from the complex arg-based to a simpler page-based I/O on the fuse device.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
|
H A D | inode.c | diff 7078187a795f862465325bcadf3070867c0cb5f8 Fri Dec 12 02:49:05 CST 2014 Miklos Szeredi <mszeredi@suse.cz> fuse: introduce fuse_simple_request() helper
The following pattern is repeated many times:
req = fuse_get_req_nopages(fc); /* Initialize req->(in|out).args */ fuse_request_send(fc, req); err = req->out.h.error; fuse_put_request(req);
Create a new replacement helper:
/* Initialize args */ err = fuse_simple_request(fc, &args);
In addition to reducing the code size, this will ease moving from the complex arg-based to a simpler page-based I/O on the fuse device.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
|
H A D | dir.c | diff 7078187a795f862465325bcadf3070867c0cb5f8 Fri Dec 12 02:49:05 CST 2014 Miklos Szeredi <mszeredi@suse.cz> fuse: introduce fuse_simple_request() helper
The following pattern is repeated many times:
req = fuse_get_req_nopages(fc); /* Initialize req->(in|out).args */ fuse_request_send(fc, req); err = req->out.h.error; fuse_put_request(req);
Create a new replacement helper:
/* Initialize args */ err = fuse_simple_request(fc, &args);
In addition to reducing the code size, this will ease moving from the complex arg-based to a simpler page-based I/O on the fuse device.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
|
H A D | file.c | diff 7078187a795f862465325bcadf3070867c0cb5f8 Fri Dec 12 02:49:05 CST 2014 Miklos Szeredi <mszeredi@suse.cz> fuse: introduce fuse_simple_request() helper
The following pattern is repeated many times:
req = fuse_get_req_nopages(fc); /* Initialize req->(in|out).args */ fuse_request_send(fc, req); err = req->out.h.error; fuse_put_request(req);
Create a new replacement helper:
/* Initialize args */ err = fuse_simple_request(fc, &args);
In addition to reducing the code size, this will ease moving from the complex arg-based to a simpler page-based I/O on the fuse device.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
|