Lines Matching defs:buf
199 char buf[0];
1122 char *buf = (char*)NULL;
1141 res = CALL_REPARSE_PLUGIN(ni, readlink, &buf);
1148 buf = ntfs_make_symlink(ni, ctx->abs_mnt_point);
1150 if (!buf && (errno == EOPNOTSUPP)) {
1151 buf = (char*)malloc(ntfs_bad_reparse_lth + 1);
1152 if (buf) {
1159 lth = snprintf(buf, ntfs_bad_reparse_lth + 1,
1164 free(buf);
1165 buf = (char*)NULL;
1169 if (!buf)
1210 &buf, 0) < 0) {
1225 fuse_reply_readlink(req, buf);
1226 free(buf);
1335 ¤t->buf[current->off],
1351 current->buf,
1584 fuse_reply_buf(req, current->buf, current->off);
1708 char *buf = (char*)NULL;
1716 buf = (char*)ntfs_malloc(size);
1717 if (!buf) {
1734 res = CALL_REPARSE_PLUGIN(ni, read, buf, size, offset, &of->fi);
1764 s64 ret = ntfs_attr_pread(na, offset, size, buf + total);
1791 fuse_reply_buf(req, buf, res);
1792 free(buf);
1795 static void ntfs_fuse_write(fuse_req_t req, fuse_ino_t ino, const char *buf,
1815 res = CALL_REPARSE_PLUGIN(ni, write, buf, size, offset,
1831 s64 ret = ntfs_attr_pwrite(na, offset, size, buf + total);
2162 * fuse never calls with a NULL buf and we do not
3199 char *buf = (char*)NULL;
3213 buf = ntfs_malloc(bufsz);
3214 if (!buf) {
3218 memcpy(buf, data, in_bufsz);
3227 ret = ntfs_ioctl(ni, (unsigned int)cmd, arg, flags, buf);
3235 fuse_reply_ioctl(req, 0, buf, out_bufsz);
3236 if (buf)
3237 free(buf);
4439 char buf[256];
4448 while (fgets(buf, sizeof(buf), f)) {
4449 if (strstr(buf, "fuseblk\n")) {
4453 if (strstr(buf, "fuse\n"))