/linux-4.4.14/fs/jfs/ |
H A D | jfs_xtree.h | 108 int xflag, s64 xoff, int xlen, s64 * xaddrp, int flag); 109 extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen, 113 s64 xoff, int xlen, s64 xaddr, int flag); 116 extern int xtDelete(tid_t tid, struct inode *ip, s64 xoff, int xlen, 123 struct inode *ip, int xflag, s64 xoff, int maxblocks,
|
H A D | jfs_xtree.c | 117 static int xtSearch(struct inode *ip, s64 xoff, s64 *next, int *cmpp, 157 s64 next, size, xoff, xend; xtLookup() local 204 xoff = offsetXAD(xad); xtLookup() 206 xend = xoff + xlen; xtLookup() 211 *paddr = xaddr + (lstart - xoff); xtLookup() 228 * xoff - extent offset; 239 static int xtSearch(struct inode *ip, s64 xoff, s64 *nextp, xtSearch() argument 296 if (xoff < t64 + lengthXAD(xad)) { xtSearch() 297 if (xoff >= t64) { xtSearch() 304 } else { /* (t64 + lengthXAD(xad)) <= xoff */ xtSearch() 312 if (xoff < t64 + lengthXAD(xad)) { xtSearch() 313 if (xoff >= t64) { xtSearch() 326 /* (xoff >= t64 + lengthXAD(xad)); xtSearch() 384 XT_CMP(cmp, xoff, &p->xad[index], t64); xtSearch() 526 * xoff - extent offset; 538 struct inode *ip, int xflag, s64 xoff, s32 xlen, s64 * xaddrp, xtInsert() 555 jfs_info("xtInsert: nxoff:0x%lx nxlen:0x%x", (ulong) xoff, xlen); xtInsert() 565 if ((rc = xtSearch(ip, xoff, &next, &cmp, &btstack, XT_INSERT))) xtInsert() 573 if ((cmp == 0) || (next && (xlen > next - xoff))) { xtInsert() 613 split.off = xoff; xtInsert() 647 XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); xtInsert() 1361 struct inode *ip, s64 xoff, /* delta extent offset */ xtExtend() 1378 jfs_info("xtExtend: nxoff:0x%lx nxlen:0x%x", (ulong) xoff, xlen); xtExtend() 1381 if ((rc = xtSearch(ip, xoff - 1, NULL, &cmp, &btstack, XT_INSERT))) xtExtend() 1395 if ((offsetXAD(xad) + lengthXAD(xad)) != xoff) { xtExtend() 1421 xoff = offsetXAD(xad) + MAXXLEN; xtExtend() 1436 split.off = xoff; /* split offset */ xtExtend() 1477 XT_PUTENTRY(xad, XAD_NEW, xoff, len, xaddr); xtExtend() 1523 struct inode *ip, s64 xoff, /* split/new extent offset */ xtTailgate() 1544 (ulong)xoff, xlen, (ulong)xaddr); xtTailgate() 1548 if ((rc = xtSearch(ip, xoff, NULL, &cmp, &btstack, XT_INSERT))) xtTailgate() 1580 printf("xtTailgate: xoff:0x%lx xlen:0x%x xaddr:0x%lx\n", xtTailgate() 1583 if ((llen = xoff - offsetXAD(xad)) == 0) xtTailgate() 1601 split.off = xoff; /* split offset */ xtTailgate() 1642 XT_PUTENTRY(xad, XAD_NEW, xoff, xlen, xaddr); xtTailgate() 1676 XT_PUTENTRY(xad, XAD_NEW, xoff, xlen, xaddr); xtTailgate() 1717 s64 nxoff, xoff; xtUpdate() local 1752 xoff = offsetXAD(xad); xtUpdate() 1757 if ((xoff > nxoff) || xtUpdate() 1758 (nxoff + nxlen > xoff + xlen)) { xtUpdate() 1770 if (xoff < nxoff) xtUpdate() 1776 replace: /* (nxoff == xoff) */ xtUpdate() 1788 if (xoff < nxoff) xtUpdate() 1794 //coalesceLeft: /* (xoff == nxoff) */ xtUpdate() 1820 XADoffset(xad, xoff + nxlen); xtUpdate() 1839 xoff = nxoff = offsetXAD(lxad); xtUpdate() 1849 replace: /* (nxoff == xoff) */ xtUpdate() 1862 coalesceRight: /* (xoff <= nxoff) */ xtUpdate() 1865 if (xoff == nxoff) xtUpdate() 1905 } else if (xoff == nxoff) xtUpdate() 1908 if (xoff >= nxoff) { xtUpdate() 1910 jfs_error(ip->i_sb, "xoff >= nxoff\n"); xtUpdate() 1922 updateRight: /* (xoff < nxoff) */ xtUpdate() 1925 XADlength(xad, nxoff - xoff); xtUpdate() 2001 if (nxoff + nxlen == xoff + xlen) xtUpdate() 2035 xlen = xlen - (nxoff - xoff); xtUpdate() 2036 xoff = nxoff; xtUpdate() 2069 updateLeft: /* (nxoff == xoff) && (nxlen < xlen) */ xtUpdate() 2076 xoff = xoff + nxlen; xtUpdate() 2087 split.off = xoff; xtUpdate() 2130 XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); xtUpdate() 2161 * xoff - extent offset; 2170 struct inode *ip, int xflag, s64 xoff, s32 maxblocks, xtAppend() 2193 jfs_info("xtAppend: xoff:0x%lx maxblocks:%d xlen:%d xaddr:0x%lx", xtAppend() 2194 (ulong) xoff, maxblocks, xlen, (ulong) xaddr); xtAppend() 2204 if ((rc = xtSearch(ip, xoff, &next, &cmp, &btstack, XT_INSERT))) xtAppend() 2216 xlen = min(xlen, (int)(next - xoff)); xtAppend() 2267 split.off = xoff; xtAppend() 2302 XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); xtAppend() 2339 int xtDelete(tid_t tid, struct inode *ip, s64 xoff, s32 xlen, int flag) xtDelete() argument 2354 if ((rc = xtSearch(ip, xoff, NULL, &cmp, &btstack, 0))) xtDelete() 2571 s64 xoff, xsize; xtRelocate() local 2585 xoff = offsetXAD(oxad); xtRelocate() 2590 offset = xoff << JFS_SBI(ip->i_sb)->l2bsize; xtRelocate() 2594 jfs_info("xtRelocate: xtype:%d xoff:0x%lx xlen:0x%x xaddr:0x%lx:0x%lx", xtRelocate() 2595 xtype, (ulong) xoff, xlen, (ulong) oxaddr, (ulong) nxaddr); xtRelocate() 2603 rc = xtSearch(ip, xoff, NULL, &cmp, &btstack, 0); xtRelocate() 2672 offset = xoff << JFS_SBI(ip->i_sb)->l2bsize; xtRelocate() 2709 if ((rc = xtSearch(ip, xoff, NULL, &cmp, &btstack, 0))) xtRelocate() 2895 s64 xoff, xaddr; xtSearchNode() local 2907 xoff = offsetXAD(xad); xtSearchNode() 2945 XT_CMP(cmp, xoff, &p->xad[index], t64); xtSearchNode() 2953 xoff == offsetXAD(&p->xad[index])) { xtSearchNode() 3171 s64 xoff, xaddr; xtTruncate() local 3279 xoff = offsetXAD(xad); xtTruncate() 3281 if (teof >= xoff + xlen) { xtTruncate() 3294 newsize = (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize; xtTruncate() 3309 xoff = offsetXAD(xad); xtTruncate() 3326 if (teof < xoff) { xtTruncate() 3332 * (xoff <= teof): last entry to be deleted from page; xtTruncate() 3343 if (teof == xoff) { xtTruncate() 3357 else if (teof < xoff + xlen) { xtTruncate() 3359 len = teof - xoff; xtTruncate() 3400 else { /* (xoff + xlen < teof) */ xtTruncate() 3733 s64 xoff; xtTruncate_pmap() local 3744 xoff = (committed_size >> JFS_SBI(ip->i_sb)->l2bsize) - 1; xtTruncate_pmap() 3745 rc = xtSearch(ip, xoff, NULL, &cmp, &btstack, 0); xtTruncate_pmap() 3789 xoff = offsetXAD(xad); xtTruncate_pmap() 3792 return (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize; xtTruncate_pmap() 537 xtInsert(tid_t tid, struct inode *ip, int xflag, s64 xoff, s32 xlen, s64 * xaddrp, int flag) xtInsert() argument 1360 xtExtend(tid_t tid, struct inode *ip, s64 xoff, s32 xlen, int flag) xtExtend() argument 1522 xtTailgate(tid_t tid, struct inode *ip, s64 xoff, s32 xlen, s64 xaddr, int flag) xtTailgate() argument 2169 xtAppend(tid_t tid, struct inode *ip, int xflag, s64 xoff, s32 maxblocks, s32 * xlenp, s64 * xaddrp, int flag) xtAppend() argument
|
H A D | jfs_extent.c | 89 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; extAlloc() local 104 xoff = pno << sbi->l2nbperpage; extAlloc() 119 if (offsetXAD(xp) + nxlen == xoff && extAlloc() 159 rc = xtExtend(0, ip, xoff, (int) nxlen, 0); extAlloc() 161 rc = xtInsert(0, ip, xflag, xoff, (int) nxlen, &nxaddr, 0); extAlloc() 176 XADoffset(xp, xoff); extAlloc() 218 s64 xaddr, xlen, nxaddr, delta, xoff; extRealloc() local 236 xoff = offsetXAD(xp); extRealloc() 300 if ((rc = xtExtend(0, ip, xoff + xlen, (int) nextend, 0))) { extRealloc() 311 if ((rc = xtTailgate(0, ip, xoff, (int) ntail, nxaddr, 0))) { extRealloc() 326 if (xtInsert (0, ip, xflag, xoff + ntail, (int) ninsert, extRealloc() 338 XADoffset(xp, xoff); extRealloc()
|
H A D | resize.c | 74 s64 XAddress, XSize, nblocks, xoff, xaddr, t64; jfs_extendfs() local 387 xoff = newPage << sbi->l2nbperpage; jfs_extendfs() 394 if ((rc = xtAppend(tid, ipbmap, 0, xoff, nblocks, &xlen, &xaddr, 0))) { jfs_extendfs()
|
/linux-4.4.14/drivers/video/fbdev/aty/ |
H A D | mach64_cursor.c | 70 u16 xoff, yoff; atyfb_cursor() local 92 xoff = -x; atyfb_cursor() 95 xoff = 0; atyfb_cursor() 119 ((u32) (64 - h + yoff) << 16) | xoff, par); atyfb_cursor()
|
/linux-4.4.14/net/caif/ |
H A D | caif_dev.c | 41 bool xoff; member in struct:caif_device_entry 141 send_xoff = caifd->xoff; caif_flow_cb() 142 caifd->xoff = 0; caif_flow_cb() 179 /* Check if we need to handle xoff */ transmit() 183 if (unlikely(caifd->xoff)) transmit() 199 /* Hold lock while accessing xoff */ transmit() 201 if (caifd->xoff) { transmit() 216 caifd->xoff = 1; transmit() 404 caifd->xoff = 0; caif_device_notify() 430 * Replace our xoff-destructor with original destructor. caif_device_notify() 439 caifd->xoff = 0; caif_device_notify()
|
/linux-4.4.14/arch/cris/boot/compressed/ |
H A D | misc.c | 236 reg_ser_rw_xoff xoff; serial_setup() local 243 xoff = REG_RD(ser, regi_ser, rw_xoff); serial_setup() 245 xoff.chr = 0; serial_setup() 246 xoff.automatic = regk_ser_no; serial_setup() 248 REG_WR(ser, regi_ser, rw_xoff, xoff); serial_setup()
|
/linux-4.4.14/drivers/staging/speakup/ |
H A D | speakup_dectlk.c | 39 static int xoff; variable 43 return xoff; synth_full() 190 xoff = 1; read_buff_add() 192 xoff = 0; read_buff_add()
|
/linux-4.4.14/include/net/ |
H A D | atmclip.h | 25 int xoff; /* 1 if send buffer is full */ member in struct:clip_vcc
|
/linux-4.4.14/arch/powerpc/include/uapi/asm/ |
H A D | ps3fb.h | 40 __u32 xoff; /* margine x */ member in struct:ps3fb_ioctl_res
|
/linux-4.4.14/drivers/tty/serial/ |
H A D | etraxfs-uart.c | 229 * except for an xoff-detected state, which we'll handle below. etraxfs_uart_send_xchar() 234 /* There might be an xoff state to clear. */ etraxfs_uart_send_xchar() 238 * Clear any xoff state that *may* have been there to etraxfs_uart_send_xchar() 249 * If we had an xoff state but cleared it, instead sneak in a etraxfs_uart_send_xchar() 251 * sent. Thus we keep the port disabled, just as if the xoff etraxfs_uart_send_xchar() 334 * Always clear possible hardware xoff-detected state here, no need to etraxfs_uart_stop_tx() 654 reg_ser_rw_xoff xoff; etraxfs_uart_set_termios() local 776 xoff = REG_RD(ser, up->regi_ser, rw_xoff); etraxfs_uart_set_termios() 780 xoff.chr = STOP_CHAR(up->port.state->port.tty); etraxfs_uart_set_termios() 781 xoff.automatic = regk_ser_yes; etraxfs_uart_set_termios() 783 xoff.automatic = regk_ser_no; etraxfs_uart_set_termios() 785 MODIFY_REG(up->regi_ser, rw_xoff, xoff); etraxfs_uart_set_termios()
|
H A D | sunsab.h | 16 u8 xoff; /* XOFF Character */ member in struct:sab82532_async_rd_regs 47 u8 xoff; member in struct:sab82532_async_wr_regs 83 u8 xoff; member in struct:sab82532_async_rw_regs
|
H A D | crisv10.h | 89 int x_char; /* xon/xoff character */
|
H A D | crisv10.c | 1406 unsigned long xoff; rs_stop() local 1413 xoff = IO_FIELD(R_SERIAL0_XOFF, xoff_char, rs_stop() 1415 xoff |= IO_STATE(R_SERIAL0_XOFF, tx_stop, stop); rs_stop() 1417 xoff |= IO_STATE(R_SERIAL0_XOFF, auto_xoff, enable); rs_stop() 1420 *((unsigned long *)&info->ioport[REG_XOFF]) = xoff; rs_stop() 1431 unsigned long xoff; rs_start() local 1437 xoff = IO_FIELD(R_SERIAL0_XOFF, xoff_char, STOP_CHAR(tty)); rs_start() 1438 xoff |= IO_STATE(R_SERIAL0_XOFF, tx_stop, enable); rs_start() 1440 xoff |= IO_STATE(R_SERIAL0_XOFF, auto_xoff, enable); rs_start() 1443 *((unsigned long *)&info->ioport[REG_XOFF]) = xoff; rs_start() 2792 unsigned long xoff; change_speed() local 2911 xoff = IO_FIELD(R_SERIAL0_XOFF, xoff_char, STOP_CHAR(info->port.tty)); change_speed() 2912 xoff |= IO_STATE(R_SERIAL0_XOFF, tx_stop, enable); change_speed() 2916 xoff |= IO_STATE(R_SERIAL0_XOFF, auto_xoff, enable); change_speed() 2919 *((unsigned long *)&info->ioport[REG_XOFF]) = xoff; change_speed()
|
H A D | 68328serial.c | 117 int x_char; /* xon/xoff character */
|
H A D | ucc_uart.c | 339 /* Handle xon/xoff */ qe_uart_tx_pump()
|
/linux-4.4.14/net/atm/ |
H A D | clip.c | 79 clip_vcc->xoff = 0; /* @@@ may overrun buffer by one packet */ link_vcc() 102 if (clip_vcc->xoff) unlink_clip_vcc() 258 old = xchg(&clip_vcc->xoff, 0); clip_pop() 388 old = xchg(&entry->vccs->xoff, 1); /* assume XOFF ... */ clip_start_xmit() 397 entry->vccs->xoff = 0; clip_start_xmit() 403 if (!entry->vccs->xoff) clip_start_xmit() 429 clip_vcc->xoff = 0; clip_mkip()
|
H A D | lec.h | 149 int xoff; member in struct:lec_vcc_priv
|
H A D | lec.c | 311 vpriv->xoff = 1; lec_start_xmit() 683 if (vpriv->xoff && atm_may_send(vcc, 0)) { lec_pop() 684 vpriv->xoff = 0; lec_pop() 706 vpriv->xoff = 0; lec_vcc_attach() 1275 if (vpriv->xoff) lec_arp_clear_vccs() 2169 vpriv->xoff = 0; lec_mcast_make()
|
/linux-4.4.14/drivers/media/pci/zoran/ |
H A D | zr36016.h | 41 __u16 xoff; member in struct:zr36016
|
H A D | zr36016.c | 277 zr36016_writei(ptr, ZR016I_NAX_HI, ptr->xoff >> 8); zr36016_init() 278 zr36016_writei(ptr, ZR016I_NAX_LO, ptr->xoff & 0xFF); zr36016_init() 336 ptr->xoff = (norm->HStart ? norm->HStart : 1) + cap->x; zr36016_set_video()
|
/linux-4.4.14/arch/cris/arch-v10/kernel/ |
H A D | debugport.c | 30 volatile unsigned* xoff; member in struct:dbg_port 173 *p->xoff = start_port()
|
/linux-4.4.14/drivers/gpu/drm/armada/ |
H A D | armada_crtc.c | 800 uint32_t xoff, xscr, w = dcrtc->cursor_w, s; armada_drm_crtc_cursor_update() local 809 xoff = -dcrtc->cursor_x; armada_drm_crtc_cursor_update() 811 w -= min(xoff, w); armada_drm_crtc_cursor_update() 813 xoff = 0; armada_drm_crtc_cursor_update() 817 xoff = 0; armada_drm_crtc_cursor_update() 877 pix += yoff * s + xoff; armada_drm_crtc_cursor_update()
|
/linux-4.4.14/drivers/usb/serial/ |
H A D | ipw.c | 101 #define IPW_SIO_HANDFLOW 0x13 /* set xon/xoff limits value=0, and a buffer of 0x10 bytes */
|
H A D | whiteheat.h | 100 __u8 xoff; /* XOFF byte value */ member in struct:whiteheat_port_settings
|
H A D | whiteheat.c | 736 port_settings.xoff = STOP_CHAR(tty); firm_setup_port() 737 dev_dbg(dev, "%s - XON = %2x, XOFF = %2x\n", __func__, port_settings.xon, port_settings.xoff); firm_setup_port()
|
H A D | mxuport.c | 779 u8 xoff = STOP_CHAR(tty); mxuport_set_termios_flow() local 793 buf[1] = xoff; mxuport_set_termios_flow() 802 __func__, xon, xoff); mxuport_set_termios_flow()
|
H A D | ftdi_sio.c | 2191 /* Added for xon/xoff support */ ftdi_set_termios() 2341 * termios structure. If IXOFF is not set, the pre-xon/xoff ftdi_set_termios() 2365 "xon/xoff flow control\n"); ftdi_set_termios()
|
H A D | digi_acceleport.c | 147 #define DIGI_RESUME_TX 4 /* clears xoff condition */
|
/linux-4.4.14/drivers/tty/serial/8250/ |
H A D | 8250_omap.c | 102 u8 xoff; member in struct:omap8250_priv 304 serial_out(up, UART_XOFF1, priv->xoff); omap8250_restore_regs() 439 priv->xoff = termios->c_cc[VSTOP]; omap_8250_set_termios()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/ |
H A D | vsc7326.c | 521 v |= 0x20000; /* xon/xoff */ mac_set_speed_duplex_fc()
|
/linux-4.4.14/include/linux/ |
H A D | serial_core.h | 141 unsigned char x_char; /* xon/xoff char */
|
H A D | isdn.h | 314 int x_char; /* xon/xoff character */
|
/linux-4.4.14/include/uapi/linux/ |
H A D | cyclades.h | 407 __u32 flow_xoff; /* xoff char */
|
/linux-4.4.14/drivers/usb/gadget/function/ |
H A D | u_serial.c | 982 /* Kickstart read queue processing. We don't do xon/xoff, gs_unthrottle()
|
/linux-4.4.14/drivers/tty/serial/cpm_uart/ |
H A D | cpm_uart_core.c | 693 /* Handle xon/xoff */ cpm_uart_tx_pump()
|
/linux-4.4.14/drivers/video/fbdev/ |
H A D | i740fb.c | 410 dev_dbg(info->device, " xoff: %i, yoff: %i, bpp: %i, graysc: %i\n", i740fb_decode_var()
|
H A D | ps3fb.c | 852 res.xoff = (res.xres - info->var.xres) / 2; ps3fb_ioctl()
|
/linux-4.4.14/drivers/tty/ |
H A D | amiserial.c | 109 int x_char; /* xon/xoff character */
|
H A D | mxser.c | 238 int x_char; /* xon/xoff character */
|
H A D | synclink_gt.c | 262 int x_char; /* xon/xoff character */
|
H A D | synclinkmp.c | 162 int x_char; /* xon/xoff character */
|
H A D | synclink.c | 188 int x_char; /* xon/xoff character */
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 960 /* refill credits (no tx hang) if we received xoff */ ixgbe_update_xoff_rx_lfc() 973 u32 xoff[8] = {0}; ixgbe_update_xoff_received() local 1000 xoff[tc] += pxoffrxc; ixgbe_update_xoff_received() 1003 /* disarm tx queues that have received xoff frames */ ixgbe_update_xoff_received() 1008 if (xoff[tc]) ixgbe_update_xoff_received()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 803 u64 xoff = 0; i40e_update_link_xoff_rx() local 809 xoff = nsd->link_xoff_rx; i40e_update_link_xoff_rx() 814 /* No new LFC xoff rx */ i40e_update_link_xoff_rx() 815 if (!(nsd->link_xoff_rx - xoff)) i40e_update_link_xoff_rx() 830 bool xoff[I40E_MAX_TRAFFIC_CLASS] = {false}; i40e_update_prio_xoff_rx() local 852 /* No new PFC xoff rx */ i40e_update_prio_xoff_rx() 857 xoff[tc] = true; i40e_update_prio_xoff_rx()
|
/linux-4.4.14/drivers/net/ |
H A D | tun.c | 1733 * xoff state. tun_set_iff()
|
/linux-4.4.14/drivers/net/ethernet/ |
H A D | fealnx.c | 192 RFCOFF = 0x00010000, /* receive flow control xoff packet */
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_hsi.h | 1896 __le32 xoff; member in struct:hwrm_queue_buffers_cfg_input
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
H A D | cvmx-gmxx-defs.h | 5098 uint64_t xoff:16; member in struct:cvmx_gmxx_txx_cbfc_xoff::cvmx_gmxx_txx_cbfc_xoff_s 5100 uint64_t xoff:16;
|
/linux-4.4.14/drivers/net/ethernet/agere/ |
H A D | et131x.c | 3481 * pressure register (bp req and bp xon/xoff) et131x_isr()
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
H A D | cassini.h | 735 0x1 = wait xoff ack
|
/linux-4.4.14/drivers/char/pcmcia/ |
H A D | synclink_cs.c | 146 int x_char; /* xon/xoff character */
|