Home
last modified time | relevance | path

Searched hist:"7078187 a795f862465325bcadf3070867c0cb5f8" (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/fs/fuse/
H A Dfuse_i.hdiff 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 Ddev.cdiff 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 Dinode.cdiff 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 Ddir.cdiff 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 Dfile.cdiff 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>