FreeBSD/sys/fs/fuse/fuse_ipc.c
/*
 * fuse_standard_handler just pulls indata and wakes up pretender.
 * Doesn't try to interpret data, that's left for the pretender.
 * Though might do a basic size verification before the pull-in takes place
 */
fuse_standard_handler just pulls indata and wakes up pretender.
Doesn't try to interpret data, that's left for the pretender.
Though might do a basic size verification before the pull-in takes place
fuse_standard_handler just pulls indata and wakes up pretender . Doesn ' t try to interpret data that ' s left for the pretender . Though might do a basic size verification before the pull - in takes place
static int
fuse_standard_handler(struct fuse_ticket *ftick, struct uio *uio)
{
	int err = 0;
	debug_printf("ftick=%p, uio=%p\n", ftick, uio);
	err = fticket_pull(ftick, uio);
	fuse_lck_mtx_lock(ftick->tk_aw_mtx);
	if (!fticket_answered(ftick)) {
		fticket_set_answered(ftick);
		ftick->tk_aw_errno = err;
		wakeup(ftick);
	}
	fuse_lck_mtx_unlock(ftick->tk_aw_mtx);
	return err;
}
static int fuse_standard_handler ( struct fuse_ticket * ftick , struct uio * uio ) { int err = 0 ; debug_printf ( " \n " , ftick , uio ) ; err = fticket_pull ( ftick , uio ) ; fuse_lck_mtx_lock ( ftick -> tk_aw_mtx ) ; if ( ! fticket_answered ( ftick ) ) { fticket_set_answered ( ftick ) ; ftick -> tk_aw_errno = err ; wakeup ( ftick ) ; } fuse_lck_mtx_unlock ( ftick -> tk_aw_mtx ) ; return err ; }
fuse_standard_handler just pulls indata and wakes up pretender.
fuse_standard_handler just pulls indata and wakes up pretender .