Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/fuse/fuse_ipc.h
Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Lines | struct fuse_ticket { | ||||
* If this ticket's operation has been interrupted, this will hold the | * If this ticket's operation has been interrupted, this will hold the | ||||
* unique value of the FUSE_INTERRUPT operation. Otherwise, it will be | * unique value of the FUSE_INTERRUPT operation. Otherwise, it will be | ||||
* 0. | * 0. | ||||
*/ | */ | ||||
uint64_t irq_unique; | uint64_t irq_unique; | ||||
/* fields for initiating an upgoing message */ | /* fields for initiating an upgoing message */ | ||||
struct fuse_iov tk_ms_fiov; | struct fuse_iov tk_ms_fiov; | ||||
void *tk_ms_bufdata; | |||||
size_t tk_ms_bufsize; | |||||
enum { FT_M_FIOV, FT_M_BUF } tk_ms_type; | |||||
STAILQ_ENTRY(fuse_ticket) tk_ms_link; | STAILQ_ENTRY(fuse_ticket) tk_ms_link; | ||||
/* fields for handling answers coming from userspace */ | /* fields for handling answers coming from userspace */ | ||||
struct fuse_iov tk_aw_fiov; | struct fuse_iov tk_aw_fiov; | ||||
void *tk_aw_bufdata; | |||||
size_t tk_aw_bufsize; | |||||
enum { FT_A_FIOV, FT_A_BUF } tk_aw_type; | |||||
struct fuse_out_header tk_aw_ohead; | struct fuse_out_header tk_aw_ohead; | ||||
cem: Are these bufsize and bufdata fields unused now? | |||||
Done Inline ActionsUh yes, yes they are. Good catch. asomers: Uh yes, yes they are. Good catch. | |||||
int tk_aw_errno; | int tk_aw_errno; | ||||
struct mtx tk_aw_mtx; | struct mtx tk_aw_mtx; | ||||
fuse_handler_t *tk_aw_handler; | fuse_handler_t *tk_aw_handler; | ||||
TAILQ_ENTRY(fuse_ticket) tk_aw_link; | TAILQ_ENTRY(fuse_ticket) tk_aw_link; | ||||
}; | }; | ||||
#define FT_ANSW 0x01 /* request of ticket has already been answered */ | #define FT_ANSW 0x01 /* request of ticket has already been answered */ | ||||
#define FT_DIRTY 0x04 /* ticket has been used */ | #define FT_DIRTY 0x04 /* ticket has been used */ | ||||
▲ Show 20 Lines • Show All 284 Lines • Show Last 20 Lines |
Are these bufsize and bufdata fields unused now?