Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_event.c71 sol_uverbs_event_file_close(uverbs_ufile_uobj_t *ufile) in sol_uverbs_event_file_close() argument
73 if (!ufile) { in sol_uverbs_event_file_close()
81 ufile->is_async ? "yes" : "no"); in sol_uverbs_event_file_close()
91 rw_enter(&(ufile->uobj.uo_lock), RW_WRITER); in sol_uverbs_event_file_close()
92 if (sol_ofs_uobj_remove(&uverbs_ufile_uo_tbl, &ufile->uobj)) { in sol_uverbs_event_file_close()
93 rw_exit(&(ufile->uobj.uo_lock)); in sol_uverbs_event_file_close()
94 sol_ofs_uobj_deref(&ufile->uobj, uverbs_release_event_file); in sol_uverbs_event_file_close()
96 rw_exit(&(ufile->uobj.uo_lock)); in sol_uverbs_event_file_close()
127 sol_uverbs_event_file_read(uverbs_ufile_uobj_t *ufile, struct uio *uiop, in sol_uverbs_event_file_read() argument
138 ufile, ufile->is_async, uiop->uio_resid); in sol_uverbs_event_file_read()
[all …]
H A Dsol_uverbs_comp.c246 uverbs_ufile_uobj_t *ufile; in sol_uverbs_create_cq() local
270 ufile = compl_uctxt->comp_evfile; in sol_uverbs_create_cq()
271 ucq->comp_chan = ufile; in sol_uverbs_create_cq()
272 rw_enter(&ufile->uobj.uo_lock, RW_WRITER); in sol_uverbs_create_cq()
273 ufile->ufile_cq_cnt++; in sol_uverbs_create_cq()
274 rw_exit(&ufile->uobj.uo_lock); 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()
[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()
/titanic_41/usr/src/tools/ctf/dump/
H A Ddump.c808 const char *ufile = NULL; in main() local
845 ufile = optarg; in main()
865 if (flags == 0 && ufile == NULL) in main()
1007 if (ufile != NULL) { in main()
1013 if ((ufd = open(ufile, O_WRONLY|O_CREAT|O_TRUNC, 0666)) < 0 || in main()
1016 warn("failed to write CTF data to '%s'", ufile); in main()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dauth.c315 FILE * ufile; local
322 ufile = fopen(*argv, "r");
324 if (ufile == NULL) {
328 check_access(ufile, *argv);
331 if (fgets(user, MAXNAMELEN - 1, ufile) == NULL
332 || fgets(passwd, MAXSECRETLEN - 1, ufile) == NULL){
336 (void) fclose(ufile);