Home
last modified time | relevance | path

Searched refs:ufile (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_event.c74 if (!ufile) { in sol_uverbs_event_file_close()
139 ufile, ufile->is_async, uiop->uio_resid); in sol_uverbs_event_file_read()
159 if (!cv_wait_sig(&ufile->poll_wait, &ufile->lock)) { in sol_uverbs_event_file_read()
175 if (!cv_wait_sig(&ufile->poll_wait, &ufile->lock)) { in sol_uverbs_event_file_read()
258 if (!ufile) { in sol_uverbs_event_file_poll()
266 "ufile = %p, is_async =%d", ufile, ufile->is_async); in sol_uverbs_event_file_poll()
321 ufile = kmem_zalloc(sizeof (*ufile), KM_NOSLEEP); in uverbs_alloc_event_file()
322 if (!ufile) { in uverbs_alloc_event_file()
378 if (!ufile) { in uverbs_release_event_file()
386 ufile, ufile->is_async ? "yes" : "no"); in uverbs_release_event_file()
[all …]
H A Dsol_uverbs_comp.c246 uverbs_ufile_uobj_t *ufile; in sol_uverbs_create_cq() local
271 ucq->comp_chan = ufile; in sol_uverbs_create_cq()
273 ufile->ufile_cq_cnt++; in sol_uverbs_create_cq()
772 uverbs_ufile_uobj_t *ufile; in sol_uverbs_comp_event_handler() local
788 ufile = ucq->comp_chan; in sol_uverbs_comp_event_handler()
790 mutex_enter(&ufile->lock); in sol_uverbs_comp_event_handler()
791 if (!ufile->uctxt) { in sol_uverbs_comp_event_handler()
792 mutex_exit(&ufile->lock); in sol_uverbs_comp_event_handler()
800 mutex_exit(&ufile->lock); in sol_uverbs_comp_event_handler()
828 mutex_exit(&ufile->lock); in sol_uverbs_comp_event_handler()
[all …]
H A Dsol_uverbs_qp.c2681 uverbs_ufile_uobj_t *ufile; in uverbs_cq_ctrl() local
2683 ufile = ucq->comp_chan; in uverbs_cq_ctrl()
2684 if (!ufile) { in uverbs_cq_ctrl()
2686 "cq_ctrl(%p), ufile NULL", ucq, ufile); in uverbs_cq_ctrl()
2690 mutex_enter(&ufile->lock); in uverbs_cq_ctrl()
2691 ufile->ufile_notify_enabled = ctrl; in uverbs_cq_ctrl()
2694 if (!llist_empty(&ufile->event_list)) { in uverbs_cq_ctrl()
2695 cv_signal(&ufile->poll_wait); in uverbs_cq_ctrl()
2696 pollwakeup(&ufile->poll_head, in uverbs_cq_ctrl()
2700 mutex_exit(&ufile->lock); in uverbs_cq_ctrl()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dauth.c308 FILE * ufile; local
315 ufile = fopen(*argv, "r");
317 if (ufile == NULL) {
321 check_access(ufile, *argv);
324 if (fgets(user, MAXNAMELEN - 1, ufile) == NULL
325 || fgets(passwd, MAXSECRETLEN - 1, ufile) == NULL){
329 (void) fclose(ufile);
/illumos-gate/usr/src/cmd/ctfdump/
H A Dctfdump.c1191 const char *ufile = NULL, *parent = NULL; in main() local
1225 ufile = optarg; in main()
1349 ctfdump_output(ufile); in main()