Home
last modified time | relevance | path

Searched refs:npt (Results 1 – 25 of 29) sorted by relevance

12

/OK3568_Linux_fs/kernel/net/ipv6/netfilter/
H A Dip6t_NPT.c17 struct ip6t_npt_tginfo *npt = par->targinfo; in ip6t_npt_checkentry() local
21 if (npt->src_pfx_len > 64 || npt->dst_pfx_len > 64) in ip6t_npt_checkentry()
25 ipv6_addr_prefix(&pfx, &npt->src_pfx.in6, npt->src_pfx_len); in ip6t_npt_checkentry()
26 if (!ipv6_addr_equal(&pfx, &npt->src_pfx.in6)) in ip6t_npt_checkentry()
28 ipv6_addr_prefix(&pfx, &npt->dst_pfx.in6, npt->dst_pfx_len); in ip6t_npt_checkentry()
29 if (!ipv6_addr_equal(&pfx, &npt->dst_pfx.in6)) in ip6t_npt_checkentry()
32 src_sum = csum_partial(&npt->src_pfx.in6, sizeof(npt->src_pfx.in6), 0); in ip6t_npt_checkentry()
33 dst_sum = csum_partial(&npt->dst_pfx.in6, sizeof(npt->dst_pfx.in6), 0); in ip6t_npt_checkentry()
35 npt->adjustment = ~csum_fold(csum_sub(src_sum, dst_sum)); in ip6t_npt_checkentry()
39 static bool ip6t_npt_map_pfx(const struct ip6t_npt_tginfo *npt, in ip6t_npt_map_pfx() argument
[all …]
/OK3568_Linux_fs/external/xserver/fb/
H A Dfbline.c30 fbZeroLine(DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, DDXPointPtr ppt) in fbZeroLine() argument
41 while (--npt) { in fbZeroLine()
51 npt == 1 && pGC->capStyle != CapNotLast, &dashOffset); in fbZeroLine()
76 fbFixCoordModePrevious(int npt, DDXPointPtr ppt) in fbFixCoordModePrevious() argument
82 npt--; in fbFixCoordModePrevious()
83 while (npt--) { in fbFixCoordModePrevious()
91 fbPolyLine(DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, DDXPointPtr ppt) in fbPolyLine() argument
93 void (*line) (DrawablePtr, GCPtr, int mode, int npt, DDXPointPtr ppt); in fbPolyLine()
119 (*line) (pDrawable, pGC, mode, npt, ppt); in fbPolyLine()
H A Dfbpoint.c34 int npt,
44 int npt, in fbDots() argument
59 while (npt--) { in fbDots()
88 int npt; in fbPolyPoint() local
94 npt = nptInit; in fbPolyPoint()
96 npt--; in fbPolyPoint()
97 while (npt--) { in fbPolyPoint()
H A Dfbbits.h243 int npt, int xorg, int yorg, int xoff, int yoff, FbBits and, FbBits xor) in DOTS() argument
260 while (npt--) { in DOTS()
269 while (npt--) { in DOTS()
591 GCPtr pGC, int mode, int npt, DDXPointPtr ptsOrig) in POLYLINE() argument
618 fbFixCoordModePrevious(npt, ptsOrig); in POLYLINE()
628 npt--; in POLYLINE()
630 npt--; in POLYLINE()
636 npt == 0 && pGC->capStyle != CapNotLast, &dashoffset); in POLYLINE()
637 if (!npt) { in POLYLINE()
643 npt--; in POLYLINE()
[all …]
H A Dfb.h550 int npt,
568 GCPtr pGC, int mode, int npt, DDXPointPtr ptsOrig);
598 int npt,
616 GCPtr pGC, int mode, int npt, DDXPointPtr ptsOrig);
646 int npt,
663 GCPtr pGC, int mode, int npt, DDXPointPtr ptsOrig);
938 GCPtr pGC, int mode, int npt, DDXPointPtr ppt);
941 fbFixCoordModePrevious(int npt, DDXPointPtr ppt);
979 GCPtr pGC, int mode, int npt, xPoint * pptInit);
/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_points.c39 glamor_poly_point_gl(DrawablePtr drawable, GCPtr gc, int mode, int npt, DDXPointPtr ppt) in glamor_poly_point_gl() argument
72 vbo_ppt = glamor_get_vbo_space(screen, npt * (2 * sizeof (INT16)), &vbo_offset); in glamor_poly_point_gl()
76 int n = npt; in glamor_poly_point_gl()
85 memcpy(vbo_ppt, ppt, npt * (2 * sizeof (INT16))); in glamor_poly_point_gl()
104 glDrawArrays(GL_POINTS, 0, npt); in glamor_poly_point_gl()
120 glamor_poly_point(DrawablePtr drawable, GCPtr gc, int mode, int npt, in glamor_poly_point() argument
124 glamor_poly_point_gl(drawable, gc, mode, npt, ppt)) in glamor_poly_point()
126 miPolyPoint(drawable, gc, mode, npt, ppt); in glamor_poly_point()
H A Dglamor_priv.h838 void glamor_poly_point(DrawablePtr pDrawable, GCPtr pGC, int mode, int npt,
/OK3568_Linux_fs/external/xserver/mi/
H A Dmipolypnt.c59 int npt, xPoint * pptInit) in miPolyPoint() argument
70 if (!(pwidthInit = xallocarray(npt, sizeof(int)))) in miPolyPoint()
76 nptTmp = npt; in miPolyPoint()
87 nptTmp = npt; in miPolyPoint()
103 for (i = 0; i < npt; i++) in miPolyPoint()
105 (*pGC->ops->FillSpans) (pDrawable, pGC, npt, pptInit, pwidthInit, FALSE); in miPolyPoint()
H A Dmiwideline.c1864 miSetupSpanData(GCPtr pGC, SpanDataPtr spanData, int npt) in miSetupSpanData() argument
1866 if ((npt < 3 && pGC->capStyle != CapRound) || miSpansEasyRop(pGC->alu)) in miSetupSpanData()
1899 int mode, int npt, DDXPointPtr pPts) in miWideLine() argument
1912 spanData = miSetupSpanData(pGC, &spanDataRec, npt); in miWideLine()
1918 if (npt > 1) { in miWideLine()
1925 nptTmp = npt; in miWideLine()
1935 else if (x2 == pPts[npt - 1].x && y2 == pPts[npt - 1].y) { in miWideLine()
1941 while (--npt) { in miWideLine()
1953 if (npt == 1 && pGC->capStyle == CapProjecting && !selfJoin) in miWideLine()
1977 if (npt == 1 && somethingDrawn) { in miWideLine()
[all …]
H A Dmizerline.c101 int npt, /* number of points */ in miZeroLine() argument
181 while (--npt > 0) { in miZeroLine()
H A Dmi.h430 int npt,
/OK3568_Linux_fs/external/xserver/miext/damage/
H A Ddamage.c636 GC * pGC, int npt, DDXPointPtr ppt, int *pwidth, int fSorted) in damageFillSpans() argument
640 if (npt && checkGCDamage(pDrawable, pGC)) { in damageFillSpans()
641 int nptTmp = npt; in damageFillSpans()
674 (*pGC->ops->FillSpans) (pDrawable, pGC, npt, ppt, pwidth, fSorted); in damageFillSpans()
684 DDXPointPtr ppt, int *pwidth, int npt, int fSorted) in damageSetSpans() argument
688 if (npt && checkGCDamage(pDrawable, pGC)) { in damageSetSpans()
691 int nptTmp = npt; in damageSetSpans()
721 (*pGC->ops->SetSpans) (pDrawable, pGC, pcharsrc, ppt, pwidth, npt, fSorted); in damageSetSpans()
818 GCPtr pGC, int mode, int npt, xPoint * ppt) in damagePolyPoint() argument
822 if (npt && checkGCDamage(pDrawable, pGC)) { in damagePolyPoint()
[all …]
/OK3568_Linux_fs/external/xserver/miext/rootless/
H A DrootlessGC.c91 int mode, int npt, DDXPointPtr pptInit);
93 int mode, int npt, DDXPointPtr pptInit);
627 int mode, int npt, DDXPointPtr pptInit) in RootlessPolyPoint() argument
633 pGC->ops->PolyPoint(dst, pGC, mode, npt, pptInit); in RootlessPolyPoint()
635 if (npt > 0) { in RootlessPolyPoint()
640 while (npt) { in RootlessPolyPoint()
650 npt--; in RootlessPolyPoint()
660 while (--npt) { in RootlessPolyPoint()
686 while (--npt) { in RootlessPolyPoint()
725 int mode, int npt, DDXPointPtr pptInit) in RootlessPolylines() argument
[all …]
/OK3568_Linux_fs/external/xserver/exa/
H A Dexa_accel.c614 exaPolyPoint(DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, in exaPolyPoint() argument
625 ExaCheckPolyPoint(pDrawable, pGC, mode, npt, ppt); in exaPolyPoint()
629 prect = xallocarray(npt, sizeof(xRectangle)); in exaPolyPoint()
630 for (i = 0; i < npt; i++) { in exaPolyPoint()
640 pGC->ops->PolyFillRect(pDrawable, pGC, npt, prect); in exaPolyPoint()
650 exaPolylines(DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, in exaPolylines() argument
659 ExaCheckPolylines(pDrawable, pGC, mode, npt, ppt); in exaPolylines()
666 ExaCheckPolylines(pDrawable, pGC, mode, npt, ppt); in exaPolylines()
670 prect = xallocarray(npt - 1, sizeof(xRectangle)); in exaPolylines()
674 for (i = 0; i < npt - 1; i++) { in exaPolylines()
[all …]
H A Dexa_unaccel.c245 ExaCheckPolyPoint(DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, in ExaCheckPolyPoint() argument
251 pGC->ops->PolyPoint(pDrawable, pGC, mode, npt, pptInit); in ExaCheckPolyPoint()
258 int mode, int npt, DDXPointPtr ppt) in ExaCheckPolylines() argument
263 pGC->lineWidth, mode, npt)); in ExaCheckPolylines()
267 pGC->ops->Polylines(pDrawable, pGC, mode, npt, ppt); in ExaCheckPolylines()
H A Dexa_priv.h396 ExaCheckPolyPoint(DrawablePtr pDrawable, GCPtr pGC, int mode, int npt,
402 int mode, int npt, DDXPointPtr ppt);
/OK3568_Linux_fs/external/xserver/hw/dmx/
H A Ddmxgcops.h56 int mode, int npt, DDXPointPtr pptInit);
58 int mode, int npt, DDXPointPtr pptInit);
H A Ddmxgcops.c228 int mode, int npt, DDXPointPtr pptInit) in dmxPolyPoint() argument
240 (XPoint *) pptInit, npt, mode); in dmxPolyPoint()
250 int mode, int npt, DDXPointPtr pptInit) in dmxPolylines() argument
262 (XPoint *) pptInit, npt, mode); in dmxPolylines()
/OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/
H A DdriWrap.c240 int mode, int npt, DDXPointPtr pptInit) in DRIPolyPoint() argument
248 pGC->ops->PolyPoint(dst, pGC, mode, npt, pptInit); in DRIPolyPoint()
257 int mode, int npt, DDXPointPtr pptInit) in DRIPolylines() argument
265 pGC->ops->Polylines(dst, pGC, mode, npt, pptInit); in DRIPolylines()
/OK3568_Linux_fs/kernel/drivers/block/paride/
H A Dmkd27 for u in 0 1 2 3 ; do mkdev npt$u c 96 $[ $u + 128 ] ; done
/OK3568_Linux_fs/kernel/arch/x86/kvm/
H A Dtrace.h533 __u32 event_inj, bool npt),
534 TP_ARGS(rip, vmcb, nested_rip, int_ctl, event_inj, npt),
542 __field( bool, npt )
551 __entry->npt = npt;
558 __entry->npt ? "on" : "off")
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86VGAarbiterPriv.h221 static void VGAarbiterPolyPoint(DrawablePtr pDraw, GCPtr pGC, int mode, int npt,
223 static void VGAarbiterPolylines(DrawablePtr pDraw, GCPtr pGC, int mode, int npt,
H A Dxf86VGAarbiter.c700 GCPtr pGC, int mode, int npt, xPoint * pptInit) in VGAarbiterPolyPoint() argument
706 (*pGC->ops->PolyPoint) (pDraw, pGC, mode, npt, pptInit); in VGAarbiterPolyPoint()
713 GCPtr pGC, int mode, int npt, DDXPointPtr pptInit) in VGAarbiterPolylines() argument
719 (*pGC->ops->Polylines) (pDraw, pGC, mode, npt, pptInit); in VGAarbiterPolylines()
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c869 #define wlc_lcnphy_set_tx_pwr_npt(pi, npt) \ argument
872 (u16)(npt) << 8)
2193 u16 tx_cnt, tx_total, npt; in wlc_lcnphy_tx_pwr_update_npt() local
2198 npt = wlc_lcnphy_get_tx_pwr_npt(pi); in wlc_lcnphy_tx_pwr_update_npt()
2200 if (tx_cnt > (1 << npt)) { in wlc_lcnphy_tx_pwr_update_npt()
2205 pi_lcn->lcnphy_tssi_npt = npt; in wlc_lcnphy_tx_pwr_update_npt()
/OK3568_Linux_fs/kernel/Documentation/virt/kvm/
H A Dmmu.rst148 tables if npt is not present
296 - guest page fault (or npt page fault, or ept violation)

12