Searched refs:xoff (Results 1 - 52 of 52) sorted by relevance

/linux-4.4.14/fs/jfs/
H A Djfs_xtree.h108 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 Djfs_xtree.c117 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 Djfs_extent.c89 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 Dresize.c74 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 Dmach64_cursor.c70 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 Dcaif_dev.c41 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 Dmisc.c236 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 Dspeakup_dectlk.c39 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 Datmclip.h25 int xoff; /* 1 if send buffer is full */ member in struct:clip_vcc
/linux-4.4.14/arch/powerpc/include/uapi/asm/
H A Dps3fb.h40 __u32 xoff; /* margine x */ member in struct:ps3fb_ioctl_res
/linux-4.4.14/drivers/tty/serial/
H A Detraxfs-uart.c229 * 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 Dsunsab.h16 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 Dcrisv10.h89 int x_char; /* xon/xoff character */
H A Dcrisv10.c1406 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 D68328serial.c117 int x_char; /* xon/xoff character */
H A Ducc_uart.c339 /* Handle xon/xoff */ qe_uart_tx_pump()
/linux-4.4.14/net/atm/
H A Dclip.c79 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 Dlec.h149 int xoff; member in struct:lec_vcc_priv
H A Dlec.c311 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 Dzr36016.h41 __u16 xoff; member in struct:zr36016
H A Dzr36016.c277 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 Ddebugport.c30 volatile unsigned* xoff; member in struct:dbg_port
173 *p->xoff = start_port()
/linux-4.4.14/drivers/gpu/drm/armada/
H A Darmada_crtc.c800 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 Dipw.c101 #define IPW_SIO_HANDFLOW 0x13 /* set xon/xoff limits value=0, and a buffer of 0x10 bytes */
H A Dwhiteheat.h100 __u8 xoff; /* XOFF byte value */ member in struct:whiteheat_port_settings
H A Dwhiteheat.c736 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 Dmxuport.c779 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 Dftdi_sio.c2191 /* 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 Ddigi_acceleport.c147 #define DIGI_RESUME_TX 4 /* clears xoff condition */
/linux-4.4.14/drivers/tty/serial/8250/
H A D8250_omap.c102 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 Dvsc7326.c521 v |= 0x20000; /* xon/xoff */ mac_set_speed_duplex_fc()
/linux-4.4.14/include/linux/
H A Dserial_core.h141 unsigned char x_char; /* xon/xoff char */
H A Disdn.h314 int x_char; /* xon/xoff character */
/linux-4.4.14/include/uapi/linux/
H A Dcyclades.h407 __u32 flow_xoff; /* xoff char */
/linux-4.4.14/drivers/usb/gadget/function/
H A Du_serial.c982 /* Kickstart read queue processing. We don't do xon/xoff, gs_unthrottle()
/linux-4.4.14/drivers/tty/serial/cpm_uart/
H A Dcpm_uart_core.c693 /* Handle xon/xoff */ cpm_uart_tx_pump()
/linux-4.4.14/drivers/video/fbdev/
H A Di740fb.c410 dev_dbg(info->device, " xoff: %i, yoff: %i, bpp: %i, graysc: %i\n", i740fb_decode_var()
H A Dps3fb.c852 res.xoff = (res.xres - info->var.xres) / 2; ps3fb_ioctl()
/linux-4.4.14/drivers/tty/
H A Damiserial.c109 int x_char; /* xon/xoff character */
H A Dmxser.c238 int x_char; /* xon/xoff character */
H A Dsynclink_gt.c262 int x_char; /* xon/xoff character */
H A Dsynclinkmp.c162 int x_char; /* xon/xoff character */
H A Dsynclink.c188 int x_char; /* xon/xoff character */
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c960 /* 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 Di40e_main.c803 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 Dtun.c1733 * xoff state. tun_set_iff()
/linux-4.4.14/drivers/net/ethernet/
H A Dfealnx.c192 RFCOFF = 0x00010000, /* receive flow control xoff packet */
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hsi.h1896 __le32 xoff; member in struct:hwrm_queue_buffers_cfg_input
/linux-4.4.14/arch/mips/include/asm/octeon/
H A Dcvmx-gmxx-defs.h5098 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 Det131x.c3481 * pressure register (bp req and bp xon/xoff) et131x_isr()
/linux-4.4.14/drivers/net/ethernet/sun/
H A Dcassini.h735 0x1 = wait xoff ack
/linux-4.4.14/drivers/char/pcmcia/
H A Dsynclink_cs.c146 int x_char; /* xon/xoff character */

Completed in 2585 milliseconds