Lines Matching defs:fn
35 spdk_fd_fn fn;
376 spdk_fd_group_add(struct spdk_fd_group *fgrp, int efd, spdk_fd_fn fn,
379 return spdk_fd_group_add_for_events(fgrp, efd, EPOLLIN, fn, arg, name);
384 spdk_fd_fn fn, void *arg, const char *name)
392 return spdk_fd_group_add_ext(fgrp, efd, fn, arg, name, &opts);
396 spdk_fd_group_add_ext(struct spdk_fd_group *fgrp, int efd, spdk_fd_fn fn, void *arg,
406 if (fgrp == NULL || efd < 0 || fn == NULL) {
429 ehdlr->fn = fn;
646 if (ehdlr == NULL || ehdlr->fn == NULL) {
683 owner->wrapper_fn(owner->wrapper_arg, ehdlr->fn, ehdlr->fn_arg);
685 ehdlr->fn(ehdlr->fn_arg);
703 spdk_fd_group_set_wrapper(struct spdk_fd_group *fgrp, spdk_fd_group_wrapper_fn fn, void *ctx)
705 if (fgrp->wrapper_fn != NULL && fn != NULL) {
713 fgrp->wrapper_fn = fn;
728 spdk_fd_group_add(struct spdk_fd_group *fgrp, int efd, spdk_fd_fn fn,
735 spdk_fd_group_add_for_events(struct spdk_fd_group *fgrp, int efd, uint32_t events, spdk_fd_fn fn,
742 spdk_fd_group_add_ext(struct spdk_fd_group *fgrp, int efd, spdk_fd_fn fn, void *arg,
797 spdk_fd_group_set_wrapper(struct spdk_fd_group *fgrp, spdk_fd_group_wrapper_fn fn, void *ctx)