HomeSort by: relevance | last modified time | path
    Searched defs:qh (Results 1 - 17 of 17) sorted by relevancy

  /src/lib/libquota/
quota_open.c 49 struct quotahandle *qh; local in function:quota_open
95 qh = malloc(sizeof(*qh));
96 if (qh == NULL) {
105 qh->qh_mountpoint = strdup(stv.f_mntonname);
106 if (qh->qh_mountpoint == NULL) {
108 free(qh);
113 qh->qh_mountdevice = strdup(stv.f_mntfromname);
114 if (qh->qh_mountdevice == NULL) {
116 free(qh->qh_mountpoint)
    [all...]
  /src/libexec/rpc.rquotad/
rquotad.c 216 struct quotahandle *qh; local in function:sendquota
263 qh = quota_open(ext_getq_args.gqa_pathp);
264 if (qh == NULL) {
281 if (quota_get(qh, &qk, &blocks) < 0) {
283 quota_close(qh);
289 if (quota_get(qh, &qk, &files) < 0) {
291 quota_close(qh);
296 quota_close(qh);
  /src/usr.sbin/quotaon/
quotaon.c 81 struct quotahandle *qh; local in function:main
131 qh = quota_open("/");
132 if (qh != NULL) {
133 quota_close(qh);
158 qh = quota_open(fs->fs_file);
159 if (qh == NULL) {
167 restrictions = quota_getrestrictions(qh);
175 quota_close(qh);
188 errs += quotaonoff(fs, qh, offmode, GRPQUOTA, 0, fsspec);
189 errs += quotaonoff(fs, qh, offmode, USRQUOTA, 0, fsspec)
    [all...]
  /src/sys/dev/raidframe/
rf_engine.c 434 RF_DagNode_t *q = NULL, *qh = NULL, *next; local in function:PropagateResults
501 qh = q = s;
502 qh->next = NULL;
512 raidPtr->node_queue = qh;
583 qh = q = a;
584 qh->next = NULL;
593 raidPtr->node_queue = qh;
  /src/sys/external/bsd/dwc2/dist/
dwc2_hcdqueue.c 73 * dwc2_qh_init() - Initializes a QH structure
76 * @qh: The QH to init
78 * the QH
81 static void dwc2_qh_init(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh,
88 /* Initialize QH */
89 qh->hsotg = hsotg;
90 /* XXX timer_setup(&qh->wait_timer, dwc2_wait_timer_fn, 0); */
91 callout_init(&qh->wait_timer, 0);
92 callout_setfunc(&qh->wait_timer, dwc2_wait_timer_fn, qh)
225 struct dwc2_qh *qh; local in function:dwc2_hcd_qh_create
627 struct dwc2_qh *qh = arg; local in function:dwc2_wait_timer_fn
    [all...]
dwc2_hcdddma.c 84 static u16 dwc2_max_desc_num(struct dwc2_qh *qh)
86 return (qh->ep_type == USB_ENDPOINT_XFER_ISOC &&
87 qh->dev_speed == USB_SPEED_HIGH) ?
91 static u16 dwc2_frame_incr_val(struct dwc2_qh *qh)
93 return qh->dev_speed == USB_SPEED_HIGH ?
94 (qh->interval + 8 - 1) / 8 : qh->interval;
97 static int dwc2_desc_list_alloc(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh,
105 qh->desc_list = NULL;
106 qh->desc_list_sz = sizeof(struct dwc2_hcd_dma_desc)
958 struct dwc2_qh *qh; local in function:dwc2_complete_isoc_xfer_ddma
1145 struct dwc2_qh *qh = chan->qh; local in function:dwc2_process_non_isoc_desc
1218 struct dwc2_qh *qh = chan->qh; local in function:dwc2_complete_non_isoc_xfer_ddma
1290 struct dwc2_qh *qh = chan->qh; local in function:dwc2_hcd_complete_xfer_ddma
    [all...]
dwc2_hcd.c 84 struct dwc2_qh *qh; local in function:dwc2_dump_channel_info
115 dev_dbg(hsotg->dev, " qh: %p\n", chan->qh);
117 list_for_each_entry(qh, &hsotg->non_periodic_sched_inactive,
119 dev_dbg(hsotg->dev, " %p\n", qh);
121 list_for_each_entry(qh, &hsotg->non_periodic_sched_waiting,
123 dev_dbg(hsotg->dev, " %p\n", qh);
125 list_for_each_entry(qh, &hsotg->non_periodic_sched_active,
127 dev_dbg(hsotg->dev, " %p\n", qh);
146 struct dwc2_qh *qh, *qh_tmp local in function:dwc2_kill_urbs_in_qh_list
162 struct dwc2_qh *qh, *qh_tmp; local in function:dwc2_qh_list_free
487 struct dwc2_qh *qh; local in function:dwc2_hcd_urb_dequeue
911 struct dwc2_qh *qh; local in function:dwc2_hcd_select_transactions
1082 struct dwc2_qh *qh; local in function:dwc2_process_periodic_channels
1222 struct dwc2_qh *qh; local in function:dwc2_process_non_periodic_channels
    [all...]
dwc2_hcdintr.c 110 if (!chan->qh)
113 if (chan->qh->dev_speed == USB_SPEED_HIGH)
121 chan->qh->tt_buffer_dirty = 1;
122 chan->qh->tt_buffer_dirty = 0;
135 struct dwc2_qh *qh; local in function:dwc2_sof_intr
152 qh = list_entry(qh_entry, struct dwc2_qh, qh_list_entry);
154 if (dwc2_frame_num_le(qh->sched_frame, hsotg->frame_number))
156 * Move QH to the ready list to be executed next
159 list_move(&qh->qh_list_entry,
448 } else if (chan->qh->do_split)
    [all...]
dwc2_hcd.h 109 * @qh: QH for the transfer being processed by this channel
111 * @desc_list_addr: Current QH's descriptor list DMA address
112 * @desc_list_sz: Current QH's descriptor list size
163 struct dwc2_qh *qh; member in struct:dwc2_host_chan
258 * @qtd_list: List of QTDs for this QH
259 * @channel: Host channel currently processing transfers for this QH
260 * @qh_list_entry: Entry for QH in either the periodic or non-periodic
274 * A Queue Head (QH) holds the static characteristics of an endpoint and
275 * maintains a list of transfers (QTDs) for that endpoint. A QH structure ma
376 struct dwc2_qh *qh; member in struct:dwc2_qtd
645 struct dwc2_qh *qh = dpipe->priv; local in function:dwc2_hcd_is_bandwidth_allocated
656 struct dwc2_qh *qh = dpipe->priv; local in function:dwc2_hcd_get_ep_bandwidth
    [all...]
  /src/usr.bin/quota/
quota.c 83 struct quotahandle *qh; member in struct:quotause
360 quota_idtype_getname(qup->qh, i),
401 quota_objtype_isbytes(qup->qh, i), now);
498 qup->qh = quota_open(fst[i].f_mntonname);
499 if (qup->qh == NULL) {
505 qup->numqvs = quota_getnumidtypes(qup->qh);
518 if (quota_get(qup->qh, &qk, &qup->qvs[j]) < 0) {
  /src/usr.sbin/quotarestore/
quotarestore.c 152 maketables(struct quotahandle *qh)
156 numidtypes = quota_getnumidtypes(qh);
163 idtypenames[i] = strdup(quota_idtype_getname(qh, i));
169 numobjtypes = quota_getnumobjtypes(qh);
176 objtypenames[i] = strdup(quota_objtype_getname(qh, i));
313 scankeys(struct quotahandle *qh, struct qklist *seenkeys,
322 qc = quota_opencursor(qh);
348 purge(struct quotahandle *qh, struct qklist *dropkeys)
353 if (quota_delete(qh, &dropkeys->keys[i])) {
363 readdumpfile(struct quotahandle *qh, FILE *f, const char *path
515 struct quotahandle *qh; local in function:main
    [all...]
  /src/usr.sbin/repquota/
repquota.c 129 struct quotahandle *qh; local in function:main
190 qh = quota_open(fst[i].f_mntonname);
191 if (qh == NULL) {
201 errs += repquota(qh, QUOTA_IDTYPE_GROUP);
203 errs += repquota(qh, QUOTA_IDTYPE_USER);
205 quota_close(qh);
226 repquota(struct quotahandle *qh, int idtype)
234 qc = quota_opencursor(qh);
249 err(1, "%s: quotacursor_get", quota_getmountpoint(qh));
271 printquotas(idtype, qh);
    [all...]
  /src/sys/dev/usb/
uhcivar.h 45 * QH that forms the start of the interrupt traffic for that slot.
46 * Each of these QHs point to the same QH that is the start of control
47 * traffic. This QH points at another QH which is the start of the
119 * Extra information that we need for a QH.
122 uhci_qh_t qh; /* The real QH, must be first */ member in struct:uhci_soft_qh
125 uhci_physaddr_t physaddr; /* QH's physical address. */
127 usb_dma_t dma; /* QH's DMA infos */
128 int offs; /* QH's offset in usb_dma_t *
    [all...]
ehcivar.h 48 ehci_qh_t *qh; member in struct:ehci_soft_qh
52 usb_dma_t dma; /* QH's DMA infos */
53 int offs; /* QH's offset in usb_dma_t */
ehci.c 502 * - that's as much as ehci can address in its QH, TD, iTD, and siTD
601 /* The last (1ms) QH terminates. */
602 sqh->qh->qh_link = EHCI_NULL;
605 /* Otherwise the next QH has half the poll interval */
607 sqh->qh->qh_link = htole32(sqh->next->physaddr |
610 sqh->qh->qh_endp = htole32(EHCI_QH_SET_EPS(EHCI_QH_SPEED_HIGH));
611 sqh->qh->qh_endphub = htole32(EHCI_QH_SET_MULT(1));
612 sqh->qh->qh_curqtd = EHCI_NULL;
614 sqh->qh->qh_qtd.qtd_next = EHCI_NULL;
615 sqh->qh->qh_qtd.qtd_altnext = EHCI_NULL
1814 ehci_qh_t *qh = sqh->qh; local in function:ehci_dump_sqh
    [all...]
  /src/sys/external/bsd/dwc2/
dwc2.c 427 /* QH */
1068 struct dwc2_qh *qh = dpipe->priv; local in function:dwc2_device_start
1072 /* Create QH for the endpoint if it doesn't exist */
1073 if (!qh) {
1074 qh = dwc2_hcd_qh_create(hsotg, dwc2_urb, GFP_ATOMIC);
1075 if (!qh) {
1079 dpipe->priv = qh;
1092 retval = dwc2_hcd_urb_enqueue(hsotg, dwc2_urb, qh, qtd);
1115 dwc2_hcd_qh_free(hsotg, qh);
  /src/usr.sbin/edquota/
edquota.c 407 dogetprivs2(struct quotahandle *qh, int idtype, id_t id, int defaultq,
415 if (quota_get(qh, &qk, &qup->qv[objtype]) == 0) {
427 if (quota_get(qh, &qk, &qup->qv[objtype]) == 0) {
447 struct quotahandle *qh; local in function:getprivs2
458 qh = quota_open(filesys);
459 if (qh == NULL) {
466 impl = quota_getimplname(qh);
472 restrictions = quota_getrestrictions(qh);
478 idtypename = quota_idtype_getname(qh, idtype);
485 if (dogetprivs2(qh, idtype, id, defaultq, QUOTA_OBJTYPE_BLOCKS, qup))
509 struct quotahandle *qh; local in function:putprivs2
636 struct quotahandle *qh; local in function:clearpriv
    [all...]

Completed in 19 milliseconds