| /freebsd-9-stable/sys/dev/vxge/vxgehal/ |
| D | vxgehal-fifo.c | 64 __hal_fifo_t *fifo = (__hal_fifo_t *) userdata; in __hal_fifo_mempool_item_alloc() local 66 vxge_assert(fifo != NULL); in __hal_fifo_mempool_item_alloc() 71 __hal_device_t *hldev = (__hal_device_t *) fifo->channel.devh; in __hal_fifo_mempool_item_alloc() 93 for (i = 0; i < fifo->txdl_per_memblock; i++) { in __hal_fifo_mempool_item_alloc() 98 int dtr_index = item_index * fifo->txdl_per_memblock + i; in __hal_fifo_mempool_item_alloc() 101 ((char *) item + i * fifo->txdl_size)); in __hal_fifo_mempool_item_alloc() 105 fifo->channel.dtr_arr[dtr_index].dtr = txdp; in __hal_fifo_mempool_item_alloc() 107 fifo->channel.dtr_arr[dtr_index].uld_priv = (void *) in __hal_fifo_mempool_item_alloc() 108 ((char *) block_priv + fifo->txdl_priv_size * i); in __hal_fifo_mempool_item_alloc() 110 fifo->channel.dtr_arr[dtr_index].hal_priv = (void *) in __hal_fifo_mempool_item_alloc() [all …]
|
| D | vxgehal-fifo.h | 168 #define VXGE_HAL_FIFO_ULD_PRIV(fifo, txdh) \ argument 169 fifo->channel.dtr_arr[ \ 172 #define VXGE_HAL_FIFO_HAL_PRIV(fifo, txdh) \ argument 173 ((__hal_fifo_txdl_priv_t *)(fifo->channel.dtr_arr[ \ 176 #define VXGE_HAL_FIFO_MAX_FRAG_CNT(fifo) fifo->config->max_frags argument 203 __hal_fifo_t *fifo, 211 __hal_fifo_t *fifo, 216 __hal_fifo_t *fifo,
|
| /freebsd-9-stable/sys/dev/nxge/xgehal/ |
| D | xgehal-fifo.c | 45 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)userdata; in __hal_fifo_mempool_item_alloc() local 78 if (fifo->config->alignment_size) { in __hal_fifo_mempool_item_alloc() 79 status =__hal_fifo_dtr_align_alloc_map(fifo, txdp); in __hal_fifo_mempool_item_alloc() 84 fifo->align_size, in __hal_fifo_mempool_item_alloc() 93 if (fifo->channel.dtr_init) { in __hal_fifo_mempool_item_alloc() 94 fifo->channel.dtr_init(fifo, (xge_hal_dtr_h)txdp, index, in __hal_fifo_mempool_item_alloc() 95 fifo->channel.userdata, XGE_HAL_CHANNEL_OC_NORMAL); in __hal_fifo_mempool_item_alloc() 115 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)userdata; in __hal_fifo_mempool_item_free() local 128 if (fifo->config->alignment_size) { in __hal_fifo_mempool_item_free() 130 xge_os_dma_unmap(fifo->channel.pdev, in __hal_fifo_mempool_item_free() [all …]
|
| D | xgehal-fifo-fp.c | 56 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)channelh; in __hal_fifo_dtr_post_single() local 57 xge_hal_fifo_hw_pair_t *hw_pair = fifo->hw_pair; in __hal_fifo_dtr_post_single() 73 xge_os_dma_sync(fifo->channel.pdev, in __hal_fifo_dtr_post_single() 81 xge_os_pio_mem_write64(fifo->channel.pdev, in __hal_fifo_dtr_post_single() 82 fifo->channel.regh1, in __hal_fifo_dtr_post_single() 89 ctrl |= fifo->no_snoop_bits; in __hal_fifo_dtr_post_single() 112 xge_os_pio_mem_write64(fifo->channel.pdev, fifo->channel.regh1, in __hal_fifo_dtr_post_single() 127 fifo->channel.stats.total_posts++; in __hal_fifo_dtr_post_single() 128 fifo->channel.usage_cnt++; in __hal_fifo_dtr_post_single() 129 if (fifo->channel.stats.usage_max < fifo->channel.usage_cnt) in __hal_fifo_dtr_post_single() [all …]
|
| /freebsd-9-stable/sys/netgraph/bluetooth/drivers/ubtbcmfw/ |
| D | ubtbcmfw.c | 305 struct usb_fifo *fifo = sc->sc_fifo.fp[USB_FIFO_RX]; in ubtbcmfw_read_callback() local 314 usb_fifo_put_data(fifo, pc, 0, actlen, 1); in ubtbcmfw_read_callback() 319 if (usb_fifo_put_bytes_max(fifo) > 0) { in ubtbcmfw_read_callback() 340 ubtbcmfw_start_read(struct usb_fifo *fifo) in ubtbcmfw_start_read() argument 342 struct ubtbcmfw_softc *sc = usb_fifo_softc(fifo); in ubtbcmfw_start_read() 352 ubtbcmfw_stop_read(struct usb_fifo *fifo) in ubtbcmfw_stop_read() argument 354 struct ubtbcmfw_softc *sc = usb_fifo_softc(fifo); in ubtbcmfw_stop_read() 365 ubtbcmfw_start_write(struct usb_fifo *fifo) in ubtbcmfw_start_write() argument 367 struct ubtbcmfw_softc *sc = usb_fifo_softc(fifo); in ubtbcmfw_start_write() 377 ubtbcmfw_stop_write(struct usb_fifo *fifo) in ubtbcmfw_stop_write() argument [all …]
|
| /freebsd-9-stable/tools/regression/usr.sbin/etcupdate/ |
| D | tests.sh | 108 mkfifo $i/equal/equal/equal/fifo 117 mkfifo $i/equal/first/first/fifo 126 mkfifo $i/equal/difftype/difftype/fifo 129 echo "bar" > $TEST/equal/difftype/difftype/fifo 149 mkfifo $i/first/equal/second/fifo 162 mkfifo $OLD/first/first/equal/fifo 175 mkfifo $OLD/first/difftype/second/fifo 176 mkdir $TEST/first/difftype/second/fifo 200 mkfifo $NEW/second/equal/first/fifo 216 mkfifo $i/second/second/equal/fifo [all …]
|
| D | always.sh | 96 mkfifo $OLD/first/difftype/second/fifo 97 mkdir $TEST/first/difftype/second/fifo 127 mkfifo $OLD/difftype/first/first/fifo 128 mkdir $NEW/difftype/first/first/fifo 244 mkfifo $TEST/dirchange/fromdir/extradir/fifo 290 fifo() function 390 Modified directory remains: /first/difftype/second/fifo 394 Modified mismatch: /difffiles/difftype/difftype/file (regular file vs fifo file) 400 Modified regular file changed: /difftype/difftype/difftype/one (fifo file became directory) 402 Remove mismatch: /difftype/first/first/fifo (fifo file became directory) [all …]
|
| /freebsd-9-stable/sys/dev/cxgb/ulp/iw_cxgb/ |
| D | iw_cxgb_resource.c | 86 static int __cxio_init_resource_fifo(struct buf_ring **fifo, in __cxio_init_resource_fifo() argument 97 *fifo = buf_ring_alloc(nr, M_DEVBUF, M_NOWAIT, fifo_lock); in __cxio_init_resource_fifo() 98 if (*fifo == NULL) in __cxio_init_resource_fifo() 104 buf_ring_enqueue(*fifo, (uintptr_t) entry); in __cxio_init_resource_fifo() 118 buf_ring_enqueue(*fifo, (void *)(uintptr_t)rarray[idx]); in __cxio_init_resource_fifo() 123 buf_ring_enqueue(*fifo, (void *) (uintptr_t)rarray[i]); in __cxio_init_resource_fifo() 126 buf_ring_enqueue(*fifo, (void *) (uintptr_t)i); in __cxio_init_resource_fifo() 129 buf_ring_dequeue_sc(*fifo); in __cxio_init_resource_fifo() 134 static int cxio_init_resource_fifo(struct buf_ring **fifo, struct mtx * fifo_lock, in cxio_init_resource_fifo() argument 137 return (__cxio_init_resource_fifo(fifo, fifo_lock, nr, skip_low, in cxio_init_resource_fifo() [all …]
|
| /freebsd-9-stable/sys/dev/usb/input/ |
| D | uep.c | 91 struct usb_fifo_sc fifo; member 263 if (usb_fifo_put_bytes_max(sc->fifo.fp[USB_FIFO_RX]) != 0) { in uep_intr_callback() 332 &sc->fifo, device_get_unit(dev), -1, uaa->info.bIfaceIndex, in uep_attach() 355 usb_fifo_detach(&sc->fifo); in uep_detach() 365 uep_start_read(struct usb_fifo *fifo) in uep_start_read() argument 367 struct uep_softc *sc = usb_fifo_softc(fifo); in uep_start_read() 383 uep_stop_read(struct usb_fifo *fifo) in uep_stop_read() argument 385 struct uep_softc *sc = usb_fifo_softc(fifo); in uep_stop_read() 393 usb_fifo_put_data_linear(sc->fifo.fp[USB_FIFO_RX], buf, in uep_put_queue() 398 uep_open(struct usb_fifo *fifo, int fflags) in uep_open() argument [all …]
|
| D | uhid.c | 399 uhid_start_read(struct usb_fifo *fifo) in uhid_start_read() argument 401 struct uhid_softc *sc = usb_fifo_softc(fifo); in uhid_start_read() 411 uhid_stop_read(struct usb_fifo *fifo) in uhid_stop_read() argument 413 struct uhid_softc *sc = usb_fifo_softc(fifo); in uhid_stop_read() 420 uhid_start_write(struct usb_fifo *fifo) in uhid_start_write() argument 422 struct uhid_softc *sc = usb_fifo_softc(fifo); in uhid_start_write() 433 uhid_stop_write(struct usb_fifo *fifo) in uhid_stop_write() argument 435 struct uhid_softc *sc = usb_fifo_softc(fifo); in uhid_stop_write() 511 uhid_open(struct usb_fifo *fifo, int fflags) in uhid_open() argument 513 struct uhid_softc *sc = usb_fifo_softc(fifo); in uhid_open() [all …]
|
| D | ums.c | 699 ums_start_read(struct usb_fifo *fifo) in ums_start_read() argument 701 struct ums_softc *sc = usb_fifo_softc(fifo); in ums_start_read() 724 ums_stop_read(struct usb_fifo *fifo) in ums_stop_read() argument 726 struct ums_softc *sc = usb_fifo_softc(fifo); in ums_stop_read() 791 ums_open(struct usb_fifo *fifo, int fflags) in ums_open() argument 793 struct ums_softc *sc = usb_fifo_softc(fifo); in ums_open() 838 if (usb_fifo_alloc_buffer(fifo, in ums_open() 849 ums_close(struct usb_fifo *fifo, int fflags) in ums_close() argument 851 struct ums_softc *sc = usb_fifo_softc(fifo); in ums_close() 856 usb_fifo_free_buffer(fifo); in ums_close() [all …]
|
| /freebsd-9-stable/sys/dev/usb/storage/ |
| D | urio.c | 358 urio_start_read(struct usb_fifo *fifo) in urio_start_read() argument 360 struct urio_softc *sc = usb_fifo_softc(fifo); in urio_start_read() 366 urio_stop_read(struct usb_fifo *fifo) in urio_stop_read() argument 368 struct urio_softc *sc = usb_fifo_softc(fifo); in urio_stop_read() 375 urio_start_write(struct usb_fifo *fifo) in urio_start_write() argument 377 struct urio_softc *sc = usb_fifo_softc(fifo); in urio_start_write() 383 urio_stop_write(struct usb_fifo *fifo) in urio_stop_write() argument 385 struct urio_softc *sc = usb_fifo_softc(fifo); in urio_stop_write() 392 urio_open(struct usb_fifo *fifo, int fflags) in urio_open() argument 394 struct urio_softc *sc = usb_fifo_softc(fifo); in urio_open() [all …]
|
| /freebsd-9-stable/sys/dev/usb/serial/ |
| D | ulpt.c | 382 ulpt_start_read(struct usb_fifo *fifo) in ulpt_start_read() argument 384 struct ulpt_softc *sc = usb_fifo_softc(fifo); in ulpt_start_read() 390 ulpt_stop_read(struct usb_fifo *fifo) in ulpt_stop_read() argument 392 struct ulpt_softc *sc = usb_fifo_softc(fifo); in ulpt_stop_read() 398 ulpt_start_write(struct usb_fifo *fifo) in ulpt_start_write() argument 400 struct ulpt_softc *sc = usb_fifo_softc(fifo); in ulpt_start_write() 406 ulpt_stop_write(struct usb_fifo *fifo) in ulpt_stop_write() argument 408 struct ulpt_softc *sc = usb_fifo_softc(fifo); in ulpt_stop_write() 414 ulpt_open(struct usb_fifo *fifo, int fflags) in ulpt_open() argument 416 struct ulpt_softc *sc = usb_fifo_softc(fifo); in ulpt_open() [all …]
|
| /freebsd-9-stable/tools/regression/pjdfstest/tests/mkfifo/ |
| D | 00.t | 22 expect fifo,0755 lstat ${n0} type,mode 25 expect fifo,0151 lstat ${n0} type,mode 28 expect fifo,0100 lstat ${n0} type,mode 31 expect fifo,0305 lstat ${n0} type,mode 34 expect fifo,0244 lstat ${n0} type,mode
|
| /freebsd-9-stable/tools/regression/pjdfstest/tests/mknod/ |
| D | 00.t | 22 expect fifo,0755 lstat ${n0} type,mode 25 expect fifo,0151 lstat ${n0} type,mode 28 expect fifo,0100 lstat ${n0} type,mode 31 expect fifo,0305 lstat ${n0} type,mode 34 expect fifo,0244 lstat ${n0} type,mode
|
| /freebsd-9-stable/sys/dev/usb/ |
| D | usbdi.h | 97 typedef int (usb_fifo_open_t)(struct usb_fifo *fifo, int fflags); 98 typedef void (usb_fifo_close_t)(struct usb_fifo *fifo, int fflags); 99 typedef int (usb_fifo_ioctl_t)(struct usb_fifo *fifo, u_long cmd, void *addr, int fflags); 100 typedef void (usb_fifo_cmd_t)(struct usb_fifo *fifo); 101 typedef void (usb_fifo_filter_t)(struct usb_fifo *fifo, struct usb_mbuf *m); 583 uint32_t usb_fifo_put_bytes_max(struct usb_fifo *fifo); 584 void usb_fifo_put_data(struct usb_fifo *fifo, struct usb_page_cache *pc, 586 void usb_fifo_put_data_linear(struct usb_fifo *fifo, void *ptr, 589 void usb_fifo_put_data_error(struct usb_fifo *fifo); 590 uint8_t usb_fifo_get_data(struct usb_fifo *fifo, struct usb_page_cache *pc, [all …]
|
| D | usb_dev.c | 250 ppf = cpd->udev->fifo; in usb_ref_device() 266 ppf = cpd->udev->fifo; in usb_ref_device() 419 f = udev->fifo[cpd->fifo_index + USB_FIFO_TX]; in usb_fifo_create() 425 f = udev->fifo[cpd->fifo_index + USB_FIFO_RX]; in usb_fifo_create() 451 f = udev->fifo[n + USB_FIFO_TX]; in usb_fifo_create() 468 f = udev->fifo[n + USB_FIFO_RX]; in usb_fifo_create() 505 (udev->fifo[n + USB_FIFO_TX] == NULL)) { in usb_fifo_create() 525 udev->fifo[n + USB_FIFO_TX] = f; in usb_fifo_create() 530 (udev->fifo[n + USB_FIFO_RX] == NULL)) { in usb_fifo_create() 551 udev->fifo[n + USB_FIFO_RX] = f; in usb_fifo_create() [all …]
|
| D | usb_dev.h | 147 int usb_fifo_wait(struct usb_fifo *fifo); 148 void usb_fifo_signal(struct usb_fifo *fifo); 149 uint8_t usb_fifo_opened(struct usb_fifo *fifo);
|
| /freebsd-9-stable/tools/regression/pjdfstest/tests/rename/ |
| D | 10.t | 27 for type in regular fifo block char socket symlink; do 33 for type in regular fifo block char socket symlink; do 51 for type in regular fifo block char socket symlink; do 70 for type in regular fifo block char socket symlink; do 89 for type in regular fifo block char socket symlink; do
|
| D | 09.t | 28 for type in regular fifo block char socket symlink; do 34 for type in none regular fifo block char socket symlink; do 52 for type in none regular fifo block char socket symlink; do 71 for type in none regular fifo block char socket symlink; do 90 for type in none regular fifo block char socket symlink; do
|
| D | 00.t | 20 for type in regular fifo block char socket; do 61 for type in regular dir fifo block char socket symlink; do 76 for type in regular dir fifo block char socket symlink; do
|
| /freebsd-9-stable/sys/contrib/octeon-sdk/ |
| D | cvmx-usb.c | 1407 static int __cvmx_usb_fill_tx_hw(cvmx_usb_internal_state_t *usb, cvmx_usb_tx_fifo_t *fifo, int avai… in __cvmx_usb_fill_tx_hw() argument 1411 CVMX_USB_LOG_PARAM("%p", fifo); in __cvmx_usb_fill_tx_hw() 1416 while (available && (fifo->head != fifo->tail)) in __cvmx_usb_fill_tx_hw() 1418 int i = fifo->tail; in __cvmx_usb_fill_tx_hw() 1419 const uint32_t *ptr = cvmx_phys_to_ptr(fifo->entry[i].address); in __cvmx_usb_fill_tx_hw() 1420 uint64_t csr_address = USB_FIFO_ADDRESS(fifo->entry[i].channel, usb->index) ^ 4; in __cvmx_usb_fill_tx_hw() 1424 if (fifo->entry[i].size <= available) in __cvmx_usb_fill_tx_hw() 1426 words = fifo->entry[i].size; in __cvmx_usb_fill_tx_hw() 1427 fifo->tail++; in __cvmx_usb_fill_tx_hw() 1428 if (fifo->tail > MAX_CHANNELS) in __cvmx_usb_fill_tx_hw() [all …]
|
| /freebsd-9-stable/tools/regression/pjdfstest/tests/chmod/ |
| D | 00.t | 23 for type in regular dir fifo block char socket symlink; do 57 for type in regular dir fifo block char socket symlink; do 88 for type in regular dir fifo block char socket symlink; do
|
| /freebsd-9-stable/tools/regression/pjdfstest/tests/link/ |
| D | 00.t | 20 for type in regular fifo block char socket; do 57 for type in regular fifo block char socket; do 75 for type in regular fifo block char socket; do
|
| /freebsd-9-stable/tools/regression/pjdfstest/tests/chown/ |
| D | 00.t | 24 for type in regular dir fifo block char socket symlink; do 60 for type in regular dir fifo block char socket symlink; do 110 for type in regular dir fifo block char socket symlink; do 149 for type in regular dir fifo block char socket symlink; do 215 for type in regular dir fifo block char socket symlink; do 300 for type in regular dir fifo block char socket symlink; do 361 for type in regular dir fifo block char socket symlink; do 408 for type in regular dir fifo block char socket symlink; do
|