Searched refs:uctx (Results 1 - 13 of 13) sorted by relevance

/freebsd-10.0-release/contrib/openbsm/bin/auditdistd/
H A Dproto_uds.c100 struct uds_ctx *uctx; local
103 uctx = malloc(sizeof(*uctx));
104 if (uctx == NULL)
108 error = uds_addr(addr, &uctx->uc_sun);
110 free(uctx);
114 uctx->uc_fd = socket(AF_UNIX, SOCK_STREAM, 0);
115 if (uctx->uc_fd == -1) {
117 free(uctx);
121 uctx
132 struct uds_ctx *uctx; local
159 struct uds_ctx *uctx = ctx; local
173 struct uds_ctx *uctx; local
202 struct uds_ctx *uctx = ctx; local
235 struct uds_ctx *uctx = ctx; local
247 struct uds_ctx *uctx = ctx; local
259 const struct uds_ctx *uctx = ctx; local
270 const struct uds_ctx *uctx = ctx; local
294 const struct uds_ctx *uctx = ctx; local
318 struct uds_ctx *uctx = ctx; local
[all...]
/freebsd-10.0-release/sbin/hastd/
H A Dproto_uds.c93 struct uds_ctx *uctx; local
96 uctx = malloc(sizeof(*uctx));
97 if (uctx == NULL)
101 if ((ret = uds_addr(addr, &uctx->uc_sun)) != 0) {
102 free(uctx);
106 uctx->uc_fd = socket(AF_UNIX, SOCK_STREAM, 0);
107 if (uctx->uc_fd == -1) {
109 free(uctx);
113 uctx
138 struct uds_ctx *uctx = ctx; local
157 struct uds_ctx *uctx = ctx; local
171 struct uds_ctx *uctx; local
200 struct uds_ctx *uctx = ctx; local
233 struct uds_ctx *uctx = ctx; local
245 struct uds_ctx *uctx = ctx; local
257 const struct uds_ctx *uctx = ctx; local
268 const struct uds_ctx *uctx = ctx; local
292 const struct uds_ctx *uctx = ctx; local
316 struct uds_ctx *uctx = ctx; local
[all...]
/freebsd-10.0-release/sys/dev/cxgbe/iw_cxgbe/
H A Dresource.c104 u32 c4iw_get_cqid(struct c4iw_rdev *rdev, struct c4iw_dev_ucontext *uctx) argument
110 mutex_lock(&uctx->lock);
111 if (!list_empty(&uctx->cqids)) {
112 entry = list_entry(uctx->cqids.next, struct c4iw_qid_list,
129 list_add_tail(&entry->entry, &uctx->cqids);
140 list_add_tail(&entry->entry, &uctx->qpids);
146 list_add_tail(&entry->entry, &uctx->qpids);
150 mutex_unlock(&uctx->lock);
160 struct c4iw_dev_ucontext *uctx)
169 mutex_lock(&uctx
159 c4iw_put_cqid(struct c4iw_rdev *rdev, u32 qid, struct c4iw_dev_ucontext *uctx) argument
174 c4iw_get_qpid(struct c4iw_rdev *rdev, struct c4iw_dev_ucontext *uctx) argument
229 c4iw_put_qpid(struct c4iw_rdev *rdev, u32 qid, struct c4iw_dev_ucontext *uctx) argument
[all...]
H A Ddevice.c52 struct c4iw_dev_ucontext *uctx)
57 mutex_lock(&uctx->lock);
58 list_for_each_safe(pos, nxt, &uctx->qpids) {
71 list_for_each_safe(pos, nxt, &uctx->qpids) {
76 mutex_unlock(&uctx->lock);
80 c4iw_init_dev_ucontext(struct c4iw_rdev *rdev, struct c4iw_dev_ucontext *uctx) argument
83 INIT_LIST_HEAD(&uctx->qpids);
84 INIT_LIST_HEAD(&uctx->cqids);
85 mutex_init(&uctx->lock);
94 c4iw_init_dev_ucontext(rdev, &rdev->uctx);
51 c4iw_release_dev_ucontext(struct c4iw_rdev *rdev, struct c4iw_dev_ucontext *uctx) argument
[all...]
H A Dcq.c53 struct c4iw_dev_ucontext *uctx)
87 c4iw_put_cqid(rdev, cq->cqid, uctx);
93 struct c4iw_dev_ucontext *uctx)
99 int user = (uctx != &rdev->uctx);
104 cq->cqid = c4iw_get_cqid(rdev, uctx);
192 c4iw_put_cqid(rdev, cq->cqid, uctx);
772 ucontext ? &ucontext->uctx : &chp->cq.rdev->uctx);
840 ucontext ? &ucontext->uctx
52 destroy_cq(struct c4iw_rdev *rdev, struct t4_cq *cq, struct c4iw_dev_ucontext *uctx) argument
92 create_cq(struct c4iw_rdev *rdev, struct t4_cq *cq, struct c4iw_dev_ucontext *uctx) argument
[all...]
H A Diw_cxgbe.h147 struct c4iw_dev_ucontext uctx; member in struct:c4iw_rdev
448 struct c4iw_dev_ucontext uctx; member in struct:c4iw_ucontext
845 struct c4iw_dev_ucontext *uctx);
847 struct c4iw_dev_ucontext *uctx);
914 u32 c4iw_get_cqid(struct c4iw_rdev *rdev, struct c4iw_dev_ucontext *uctx);
916 struct c4iw_dev_ucontext *uctx);
917 u32 c4iw_get_qpid(struct c4iw_rdev *rdev, struct c4iw_dev_ucontext *uctx);
919 struct c4iw_dev_ucontext *uctx);
H A Dqp.c109 struct c4iw_dev_ucontext *uctx)
120 c4iw_put_qpid(rdev, wq->rq.qid, uctx);
121 c4iw_put_qpid(rdev, wq->sq.qid, uctx);
127 struct c4iw_dev_ucontext *uctx)
130 int user = (uctx != &rdev->uctx);
139 wq->sq.qid = c4iw_get_qpid(rdev, uctx);
143 wq->rq.qid = c4iw_get_qpid(rdev, uctx);
282 c4iw_put_qpid(rdev, wq->rq.qid, uctx);
284 c4iw_put_qpid(rdev, wq->sq.qid, uctx);
108 destroy_qp(struct c4iw_rdev *rdev, struct t4_wq *wq, struct c4iw_dev_ucontext *uctx) argument
125 create_qp(struct c4iw_rdev *rdev, struct t4_wq *wq, struct t4_cq *rcq, struct t4_cq *scq, struct c4iw_dev_ucontext *uctx) argument
[all...]
H A Dprovider.c95 c4iw_release_dev_ucontext(&rhp->rdev, &ucontext->uctx);
110 c4iw_init_dev_ucontext(&rhp->rdev, &context->uctx);
/freebsd-10.0-release/contrib/gcc/config/rs6000/
H A Ddarwin-fallback.c322 struct gcc_ucontext *uctx; local
336 uctx = (struct gcc_ucontext *) gprs[3];
337 is_vector = (uctx->mcsize == UC_FLAVOR64_VEC_SIZE
338 || uctx->mcsize == UC_FLAVOR_VEC_SIZE);
339 is_64 = (uctx->mcsize == UC_FLAVOR64_VEC_SIZE
340 || uctx->mcsize == UC_FLAVOR64_SIZE);
345 uctx = (struct gcc_ucontext *) gprs[4];
368 struct gcc_mcontext64 *m64 = (struct gcc_mcontext64 *)uctx->mcontext;
396 struct gcc_mcontext32 *m = uctx->mcontext;
/freebsd-10.0-release/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_hal.h96 struct cxio_ucontext uctx; member in struct:cxio_rdev
142 void cxio_release_ucontext(struct cxio_rdev *rdev, struct cxio_ucontext *uctx);
143 void cxio_init_ucontext(struct cxio_rdev *rdev, struct cxio_ucontext *uctx);
145 struct cxio_ucontext *uctx);
147 struct cxio_ucontext *uctx);
H A Diw_cxgb_hal.c226 get_qpid(struct cxio_rdev *rdev_p, struct cxio_ucontext *uctx) argument
232 mtx_lock(&uctx->lock);
233 if (!TAILQ_EMPTY(&uctx->qpids)) {
235 entry = TAILQ_FIRST(&uctx->qpids);
236 TAILQ_REMOVE(&uctx->qpids, entry, entry);
248 TAILQ_INSERT_TAIL(&uctx->qpids, entry, entry);
252 mtx_unlock(&uctx->lock);
259 struct cxio_ucontext *uctx)
266 mtx_lock(&uctx->lock);
267 TAILQ_INSERT_TAIL(&uctx
258 put_qpid(struct cxio_rdev *rdev_p, u32 qpid, struct cxio_ucontext *uctx) argument
272 cxio_release_ucontext(struct cxio_rdev *rdev_p, struct cxio_ucontext *uctx) argument
287 cxio_init_ucontext(struct cxio_rdev *rdev_p, struct cxio_ucontext *uctx) argument
294 cxio_create_qp(struct cxio_rdev *rdev_p, u32 kernel_domain, struct t3_wq *wq, struct cxio_ucontext *uctx) argument
362 cxio_destroy_qp(struct cxio_rdev *rdev_p, struct t3_wq *wq, struct cxio_ucontext *uctx) argument
[all...]
H A Diw_cxgb_provider.c138 cxio_release_ucontext(&rhp->rdev, &ucontext->uctx);
153 cxio_init_ucontext(&rhp->rdev, &context->uctx);
752 ucontext ? &ucontext->uctx : &rhp->rdev.uctx);
815 ucontext ? &ucontext->uctx : &rhp->rdev.uctx)) {
852 ucontext ? &ucontext->uctx : &rhp->rdev.uctx);
H A Diw_cxgb_provider.h185 struct cxio_ucontext uctx; member in struct:iwch_ucontext

Completed in 204 milliseconds