Home
last modified time | relevance | path

Searched refs:xp (Results 1 – 25 of 118) sorted by relevance

12345

/Linux-v4.19/fs/jfs/
Djfs_extent.c86 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) in extAlloc() argument
107 if ((hint = addressXAD(xp))) { in extAlloc()
109 nxlen = lengthXAD(xp); in extAlloc()
119 if (offsetXAD(xp) + nxlen == xoff && in extAlloc()
120 abnr == ((xp->flag & XAD_NOTRECORDED) ? true : false)) in extAlloc()
174 XADaddress(xp, nxaddr); in extAlloc()
175 XADlength(xp, nxlen); in extAlloc()
176 XADoffset(xp, xoff); in extAlloc()
177 xp->flag = xflag; in extAlloc()
215 int extRealloc(struct inode *ip, s64 nxlen, xad_t * xp, bool abnr) in extRealloc() argument
[all …]
/Linux-v4.19/arch/x86/include/asm/
Dpgtable-2level.h44 unsigned long addr, pte_t *xp) in native_pte_clear() argument
46 *xp = native_make_pte(0); in native_pte_clear()
50 static inline pte_t native_ptep_get_and_clear(pte_t *xp) in native_ptep_get_and_clear() argument
52 return __pte(xchg(&xp->pte_low, 0)); in native_ptep_get_and_clear()
55 #define native_ptep_get_and_clear(xp) native_local_ptep_get_and_clear(xp) argument
59 static inline pmd_t native_pmdp_get_and_clear(pmd_t *xp) in native_pmdp_get_and_clear() argument
61 return __pmd(xchg((pmdval_t *)xp, 0)); in native_pmdp_get_and_clear()
64 #define native_pmdp_get_and_clear(xp) native_local_pmdp_get_and_clear(xp) argument
68 static inline pud_t native_pudp_get_and_clear(pud_t *xp) in native_pudp_get_and_clear() argument
70 return __pud(xchg((pudval_t *)xp, 0)); in native_pudp_get_and_clear()
[all …]
Dpgtable_64.h85 static inline pte_t native_ptep_get_and_clear(pte_t *xp) in native_ptep_get_and_clear() argument
88 return native_make_pte(xchg(&xp->pte, 0)); in native_ptep_get_and_clear()
92 pte_t ret = *xp; in native_ptep_get_and_clear()
93 native_pte_clear(NULL, 0, xp); in native_ptep_get_and_clear()
98 static inline pmd_t native_pmdp_get_and_clear(pmd_t *xp) in native_pmdp_get_and_clear() argument
101 return native_make_pmd(xchg(&xp->pmd, 0)); in native_pmdp_get_and_clear()
105 pmd_t ret = *xp; in native_pmdp_get_and_clear()
106 native_pmd_clear(xp); in native_pmdp_get_and_clear()
121 static inline pud_t native_pudp_get_and_clear(pud_t *xp) in native_pudp_get_and_clear() argument
124 return native_make_pud(xchg(&xp->pud, 0)); in native_pudp_get_and_clear()
[all …]
Dpgtable-3level.h160 #define native_ptep_get_and_clear(xp) native_local_ptep_get_and_clear(xp) argument
184 #define native_pmdp_get_and_clear(xp) native_local_pmdp_get_and_clear(xp) argument
246 #define native_pudp_get_and_clear(xp) native_local_pudp_get_and_clear(xp) argument
/Linux-v4.19/net/ipv6/ila/
Dila_xlat.c19 struct ila_xlat_params xp; member
58 return (ila->xp.ifindex && ila->xp.ifindex != ifindex); in ila_cmp_wildcards()
62 struct ila_xlat_params *xp) in ila_cmp_params() argument
64 return (ila->xp.ifindex != xp->ifindex); in ila_cmp_params()
72 return (ila->xp.ip.locator_match.v64 != *(__be64 *)arg->key); in ila_cmpfn()
79 if (ila->xp.ifindex) in ila_order()
88 .key_offset = offsetof(struct ila_map, xp.ip.locator_match),
97 struct ila_xlat_params *xp) in parse_nl_config() argument
99 memset(xp, 0, sizeof(*xp)); in parse_nl_config()
102 xp->ip.locator.v64 = (__force __be64)nla_get_u64( in parse_nl_config()
[all …]
/Linux-v4.19/drivers/bus/
Dqcom-ebi2.c253 const struct ebi2_xmem_prop *xp = &xmem_props[i]; in qcom_ebi2_setup_chipselect() local
256 ret = of_property_read_u32(np, xp->prop, &val); in qcom_ebi2_setup_chipselect()
259 xp->prop, csindex); in qcom_ebi2_setup_chipselect()
264 if (xp->max == 1 && val) { in qcom_ebi2_setup_chipselect()
265 if (xp->slowreg) in qcom_ebi2_setup_chipselect()
266 slowcfg |= BIT(xp->shift); in qcom_ebi2_setup_chipselect()
268 fastcfg |= BIT(xp->shift); in qcom_ebi2_setup_chipselect()
269 dev_dbg(dev, "set %s flag\n", xp->prop); in qcom_ebi2_setup_chipselect()
274 if (val > xp->max) { in qcom_ebi2_setup_chipselect()
277 xp->prop, val, xp->max); in qcom_ebi2_setup_chipselect()
[all …]
/Linux-v4.19/lib/mpi/
Dmpi-pow.c162 mpi_ptr_t xp; in mpi_powm() local
168 xp = xp_marker = mpi_alloc_limb_space(2 * (msize + 1)); in mpi_powm()
169 if (!xp) in mpi_powm()
198 mpih_sqr_n_basecase(xp, rp, rsize); in mpi_powm()
214 mpih_sqr_n(xp, rp, rsize, tspace); in mpi_powm()
219 mpihelp_divrem(xp + msize, 0, xp, xsize, in mpi_powm()
225 rp = xp; in mpi_powm()
226 xp = tp; in mpi_powm()
234 (xp, rp, rsize, bp, bsize, in mpi_powm()
239 (xp, rp, rsize, bp, bsize, in mpi_powm()
[all …]
/Linux-v4.19/drivers/misc/sgi-xp/
DMakefile6 obj-$(CONFIG_SGI_XP) += xp.o
7 xp-y := xp_main.o
8 xp-$(CONFIG_IA64_SGI_SN2) += xp_sn2.o xp_nofault.o
9 xp-$(CONFIG_IA64_GENERIC) += xp_sn2.o xp_nofault.o
10 xp-$(CONFIG_IA64_SGI_UV) += xp_uv.o
11 xp-$(CONFIG_X86_64) += xp_uv.o
Dxp_uv.c58 dev_err(xp, "gru_read_gpa() failed, dst_gpa=0x%016lx src_gpa=0x%016lx " in xp_remote_mmr_read()
77 dev_err(xp, "gru_copy_gpa() failed, dst_gpa=0x%016lx src_gpa=0x%016lx " in xp_remote_memcpy_uv()
97 dev_err(xp, "uv_bios_change_memprotect(,, " in xp_expand_memprotect_uv()
108 dev_err(xp, "sn_change_memprotect(,, " in xp_expand_memprotect_uv()
127 dev_err(xp, "uv_bios_change_memprotect(,, " in xp_restrict_memprotect_uv()
138 dev_err(xp, "sn_change_memprotect(,, " in xp_restrict_memprotect_uv()
Dxp_sn2.c51 dev_err(xp, "can't register nofault code, error=%d\n", ret); in xp_register_nofault_code_sn2()
115 dev_err(xp, "bte_copy() on shub2 failed, error=0x%x dst_pa=" in xp_remote_memcpy_sn2()
119 dev_err(xp, "bte_copy() failed, error=%d dst_pa=0x%016lx " in xp_remote_memcpy_sn2()
141 dev_err(xp, "sn_change_memprotect(,, " in xp_expand_memprotect_sn2()
157 dev_err(xp, "sn_change_memprotect(,, " in xp_restrict_memprotect_sn2()
/Linux-v4.19/net/key/
Daf_key.c1919 static int check_reqid(struct xfrm_policy *xp, int dir, int count, void *ptr) in check_reqid() argument
1924 for (i=0; i<xp->xfrm_nr; i++) { in check_reqid()
1925 if (xp->xfrm_vec[i].reqid == reqid) in check_reqid()
1953 parse_ipsecrequest(struct xfrm_policy *xp, struct sadb_x_ipsecrequest *rq) in parse_ipsecrequest() argument
1955 struct net *net = xp_net(xp); in parse_ipsecrequest()
1956 struct xfrm_tmpl *t = xp->xfrm_vec + xp->xfrm_nr; in parse_ipsecrequest()
1959 if (xp->xfrm_nr >= XFRM_MAX_DEPTH) in parse_ipsecrequest()
1990 t->encap_family = xp->family; in parse_ipsecrequest()
1994 xp->xfrm_nr++; in parse_ipsecrequest()
1999 parse_ipsecrequests(struct xfrm_policy *xp, struct sadb_x_policy *pol) in parse_ipsecrequests() argument
[all …]
/Linux-v4.19/net/xfrm/
Dxfrm_user.c1445 static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut, in copy_templates() argument
1450 xp->xfrm_nr = nr; in copy_templates()
1452 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in copy_templates()
1570 static void copy_from_user_policy(struct xfrm_policy *xp, struct xfrm_userpolicy_info *p) in copy_from_user_policy() argument
1572 xp->priority = p->priority; in copy_from_user_policy()
1573 xp->index = p->index; in copy_from_user_policy()
1574 memcpy(&xp->selector, &p->sel, sizeof(xp->selector)); in copy_from_user_policy()
1575 memcpy(&xp->lft, &p->lft, sizeof(xp->lft)); in copy_from_user_policy()
1576 xp->action = p->action; in copy_from_user_policy()
1577 xp->flags = p->flags; in copy_from_user_policy()
[all …]
/Linux-v4.19/drivers/xen/
Dsys-hypervisor.c423 struct xen_pmu_params xp; in pmu_mode_store() local
428 xp.val = pmu_modes[i].mode; in pmu_mode_store()
436 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_store()
437 xp.version.min = XENPMU_VER_MIN; in pmu_mode_store()
438 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_set, &xp); in pmu_mode_store()
448 struct xen_pmu_params xp; in pmu_mode_show() local
452 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_show()
453 xp.version.min = XENPMU_VER_MIN; in pmu_mode_show()
454 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_get, &xp); in pmu_mode_show()
458 mode = (uint32_t)xp.val; in pmu_mode_show()
[all …]
/Linux-v4.19/arch/arm/boot/dts/
Darmada-xp.dtsi16 #include "armada-370-xp.dtsi"
23 compatible = "marvell,armadaxp", "marvell,armada-370-xp";
40 compatible = "marvell,armada-xp-sdram-controller";
78 compatible = "marvell,armada-370-xp-system-controller";
83 compatible = "marvell,armada-xp-gating-clock";
90 compatible = "marvell,armada-xp-core-clock";
104 compatible = "marvell,armada-xp-cpu-clock";
110 compatible = "marvell,armada-xp-cpu-config";
115 compatible = "marvell,armada-xp-neta";
151 compatible = "marvell,armada-xp-neta";
[all …]
Darmada-xp-98dx3236.dtsi11 #include "armada-370-xp.dtsi"
18 compatible = "marvell,armadaxp-98dx3236", "marvell,armada-370-xp";
58 compatible = "marvell,armada-xp-pcie";
94 compatible = "marvell,armada-xp-sdram-controller";
137 compatible = "marvell,armada-370-xp-system-controller";
160 compatible = "marvell,armada-xp-cpu-config";
165 compatible = "marvell,armada-xp-neta";
169 compatible = "marvell,armada-xp-neta";
283 compatible = "marvell,armada-xp-timer";
289 compatible = "marvell,armada-xp-wdt";
[all …]
/Linux-v4.19/arch/sh/lib/
Ddiv64-generic.c11 uint32_t __div64_32(u64 *xp, u32 y) in __div64_32() argument
14 uint64_t q = __xdiv64_32(*xp, y); in __div64_32()
16 rem = *xp - q * y; in __div64_32()
17 *xp = q; in __div64_32()
/Linux-v4.19/arch/x86/xen/
Dpmu.c516 struct xen_pmu_params xp; in xen_pmu_init() local
532 xp.val = pfn_to_mfn(pfn); in xen_pmu_init()
533 xp.vcpu = cpu; in xen_pmu_init()
534 xp.version.maj = XENPMU_VER_MAJ; in xen_pmu_init()
535 xp.version.min = XENPMU_VER_MIN; in xen_pmu_init()
536 err = HYPERVISOR_xenpmu_op(XENPMU_init, &xp); in xen_pmu_init()
561 struct xen_pmu_params xp; in xen_pmu_finish() local
566 xp.vcpu = cpu; in xen_pmu_finish()
567 xp.version.maj = XENPMU_VER_MAJ; in xen_pmu_finish()
568 xp.version.min = XENPMU_VER_MIN; in xen_pmu_finish()
[all …]
/Linux-v4.19/drivers/spi/
Dspi-bcm-qspi.c538 const struct bcm_qspi_parms *xp) in bcm_qspi_hw_set_parms() argument
542 if (xp->speed_hz) in bcm_qspi_hw_set_parms()
543 spbr = qspi->base_clk / (2 * xp->speed_hz); in bcm_qspi_hw_set_parms()
550 if (xp->bits_per_word != 16) in bcm_qspi_hw_set_parms()
551 spcr |= xp->bits_per_word << 2; in bcm_qspi_hw_set_parms()
552 spcr |= xp->mode & 3; in bcm_qspi_hw_set_parms()
555 qspi->last_parms = *xp; in bcm_qspi_hw_set_parms()
562 struct bcm_qspi_parms xp; in bcm_qspi_update_parms() local
564 xp.speed_hz = trans->speed_hz; in bcm_qspi_update_parms()
565 xp.bits_per_word = trans->bits_per_word; in bcm_qspi_update_parms()
[all …]
/Linux-v4.19/drivers/input/touchscreen/
Ds3c2410_ts.c81 unsigned long xp; member
118 ts.xp >>= ts.shift; in touch_timer_fire()
122 __func__, ts.xp, ts.yp, ts.count); in touch_timer_fire()
124 input_report_abs(ts.input, ABS_X, ts.xp); in touch_timer_fire()
130 ts.xp = 0; in touch_timer_fire()
137 ts.xp = 0; in touch_timer_fire()
200 ts.xp += data0; in s3c24xx_ts_conversion()
/Linux-v4.19/Documentation/devicetree/bindings/timer/
Dmarvell,armada-370-xp-timer.txt8 "marvell,armada-xp-timer".
18 Clocks required for compatibles = "marvell,armada-xp-timer",
39 compatible = "marvell,armada-xp-timer";
/Linux-v4.19/drivers/perf/
Darm-ccn.c145 } xp; member
188 struct arm_ccn_component *xp; member
240 static CCN_FORMAT_ATTR(xp, "config:0-7");
676 source = &ccn->xp[node_xp]; in arm_ccn_pmu_event_alloc()
683 bit = arm_ccn_pmu_alloc_bit(source->xp.dt_cmp_mask, in arm_ccn_pmu_event_alloc()
715 clear_bit(hw->config_base, source->xp.dt_cmp_mask); in arm_ccn_pmu_event_release()
903 struct arm_ccn_component *xp; in arm_ccn_pmu_xp_dt_config() local
911 xp = &ccn->xp[CCN_CONFIG_XP(event->attr.config)]; in arm_ccn_pmu_xp_dt_config()
913 xp = &ccn->xp[arm_ccn_node_to_xp( in arm_ccn_pmu_xp_dt_config()
923 val = readl(xp->base + CCN_XP_DT_CONFIG); in arm_ccn_pmu_xp_dt_config()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/arm/marvell/
Dmvebu-cpu-config.txt10 - "marvell,armada-xp-cpu-config"
18 compatible = "marvell,armada-xp-cpu-config";
Dmvebu-system-controller.txt9 - "marvell,armada-370-xp-system-controller"
16 compatible = "marvell,armada-370-xp-system-controller";
Darmada-370-xp-pmsu.txt10 - "marvell,armada-370-xp-pmsu" was used for Armada 370/XP but is now
17 armada-370-xp-pmsu@22000 {
/Linux-v4.19/Documentation/perf/
Darm-ccn.txt25 Crosspoint PMU events require "xp" (index), "bus" (bus number)
29 require "xp" and "vc" as as above plus "port" (device port index),
52 ccn/xp_valid_flit,xp=?,port=?,vc=?,dir=?/ [Kernel PMU event]
55 / # perf stat -a -e ccn/cycles/,ccn/xp_valid_flit,xp=1,port=0,vc=1,dir=1/ \

12345