Searched refs:fb_dat (Results 1 – 7 of 7) sorted by relevance
/openbsd-src/lib/libfuse/ |
H A D | fuse_ops.c | 250 dir = (struct dirent *) &fbuf->fb_dat[fbuf->fb_len]; in ifuse_fill_readdir() 320 fbuf->fb_dat = calloc(1, size); in ifuse_ops_readdir() 322 if (fbuf->fb_dat == NULL) { in ifuse_ops_readdir() 330 free(fbuf->fb_dat); in ifuse_ops_readdir() 347 free(fbuf->fb_dat); in ifuse_ops_readdir() 366 free(fbuf->fb_dat); in ifuse_ops_readdir() 513 if (strcmp((const char *)fbuf->fb_dat, "..") == 0) { in ifuse_ops_lookup() 523 vn = get_vn_by_name_and_parent(f, fbuf->fb_dat, fbuf->fb_ino); in ifuse_ops_lookup() 525 vn = alloc_vn(f, (const char *)fbuf->fb_dat, -1, in ifuse_ops_lookup() 529 free(fbuf->fb_dat); in ifuse_ops_lookup() [all …]
|
H A D | fuse.c | 213 fbuf.fb_dat = malloc(fbuf.fb_len); in fuse_loop() 214 if (fbuf.fb_dat == NULL) in fuse_loop() 218 ioexch.fbxch_data = fbuf.fb_dat; in fuse_loop() 222 free(fbuf.fb_dat); in fuse_loop() 243 if (fbuf.fb_dat == NULL) { in fuse_loop() 250 ioexch.fbxch_data = fbuf.fb_dat; in fuse_loop() 253 free(fbuf.fb_dat); in fuse_loop() 256 free(fbuf.fb_dat); in fuse_loop()
|
/openbsd-src/sys/miscfs/fuse/ |
H A D | fuse_device.c | 329 error = copyout(fbuf->fb_dat, ioexch->fbxch_data, in fuseioctl() 337 fuse_dump_buff(fbuf->fb_dat, fbuf->fb_len); in fuseioctl() 341 free(fbuf->fb_dat, M_FUSEFS, fbuf->fb_len); in fuseioctl() 342 fbuf->fb_dat = NULL; in fuseioctl() 370 fbuf->fb_dat = malloc(ioexch->fbxch_len, M_FUSEFS, in fuseioctl() 372 error = copyin(ioexch->fbxch_data, fbuf->fb_dat, in fuseioctl() 376 free(fbuf->fb_dat, M_FUSEFS, fbuf->fb_len); in fuseioctl() 377 fbuf->fb_dat = NULL; in fuseioctl() 382 fuse_dump_buff(fbuf->fb_dat, fbuf->fb_len); in fuseioctl() 430 tmpaddr = fbuf->fb_dat; in fuseread() [all …]
|
H A D | fusebuf.c | 53 fbuf->fb_dat = NULL; in fb_setup() 55 fbuf->fb_dat = (uint8_t *)malloc(len, M_FUSEFS, in fb_setup() 94 free(fbuf->fb_dat, M_FUSEFS, fbuf->fb_len); in fb_delete()
|
H A D | fuse_vnops.c | 658 memcpy(fbuf->fb_dat, cnp->cn_nameptr, cnp->cn_namelen); in fusefs_link() 659 fbuf->fb_dat[cnp->cn_namelen] = '\0'; in fusefs_link() 718 memcpy(fbuf->fb_dat, cnp->cn_nameptr, cnp->cn_namelen); in fusefs_symlink() 719 fbuf->fb_dat[cnp->cn_namelen] = '\0'; in fusefs_symlink() 720 memcpy(&fbuf->fb_dat[cnp->cn_namelen + 1], target, len); in fusefs_symlink() 812 dp = (struct dirent *)fbuf->fb_dat; in fusefs_readdir() 813 edp = fbuf->fb_dat + fbuf->fb_len; in fusefs_readdir() 840 if ((error = uiomove(fbuf->fb_dat, fbuf->fb_len, uio))) { in fusefs_inactive() 937 error = uiomove(fbuf->fb_dat, fbuf->fb_len, uio); in fusefs_reclaim() 1040 memcpy(fbuf->fb_dat, cn in fusefs_mknod() [all...] |
H A D | fuse_lookup.c | 79 memcpy(fbuf->fb_dat, cnp->cn_nameptr, cnp->cn_namelen); in fusefs_lookup() 80 fbuf->fb_dat[cnp->cn_namelen] = '\0'; in fusefs_lookup()
|
/openbsd-src/sys/sys/ |
H A D | fusebuf.h | 72 uint8_t *fb_dat; /* data's */ member 101 #define fbtod(fb,t) ((t)((fb)->fb_dat))
|