Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/fs/jfs/
Djfs_extent.c73 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) in extAlloc() argument
94 if ((hint = addressXAD(xp))) { in extAlloc()
96 nxlen = lengthXAD(xp); in extAlloc()
106 if (offsetXAD(xp) + nxlen == xoff && in extAlloc()
107 abnr == ((xp->flag & XAD_NOTRECORDED) ? true : false)) in extAlloc()
161 XADaddress(xp, nxaddr); in extAlloc()
162 XADlength(xp, nxlen); in extAlloc()
163 XADoffset(xp, xoff); in extAlloc()
164 xp->flag = xflag; in extAlloc()
202 int extRealloc(struct inode *ip, s64 nxlen, xad_t * xp, bool abnr) in extRealloc() argument
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.h91 static inline pte_t native_ptep_get_and_clear(pte_t *xp) in native_ptep_get_and_clear() argument
94 return native_make_pte(xchg(&xp->pte, 0)); in native_ptep_get_and_clear()
98 pte_t ret = *xp; in native_ptep_get_and_clear()
99 native_pte_clear(NULL, 0, xp); in native_ptep_get_and_clear()
104 static inline pmd_t native_pmdp_get_and_clear(pmd_t *xp) in native_pmdp_get_and_clear() argument
107 return native_make_pmd(xchg(&xp->pmd, 0)); in native_pmdp_get_and_clear()
111 pmd_t ret = *xp; in native_pmdp_get_and_clear()
112 native_pmd_clear(xp); in native_pmdp_get_and_clear()
127 static inline pud_t native_pudp_get_and_clear(pud_t *xp) in native_pudp_get_and_clear() argument
130 return native_make_pud(xchg(&xp->pud, 0)); in native_pudp_get_and_clear()
[all …]
Dpgtable-3level.h162 #define native_ptep_get_and_clear(xp) native_local_ptep_get_and_clear(xp) argument
186 #define native_pmdp_get_and_clear(xp) native_local_pmdp_get_and_clear(xp) argument
248 #define native_pudp_get_and_clear(xp) native_local_pudp_get_and_clear(xp) argument
/kernel/linux/linux-5.10/drivers/bus/
Dqcom-ebi2.c249 const struct ebi2_xmem_prop *xp = &xmem_props[i]; in qcom_ebi2_setup_chipselect() local
252 ret = of_property_read_u32(np, xp->prop, &val); in qcom_ebi2_setup_chipselect()
255 xp->prop, csindex); in qcom_ebi2_setup_chipselect()
260 if (xp->max == 1 && val) { in qcom_ebi2_setup_chipselect()
261 if (xp->slowreg) in qcom_ebi2_setup_chipselect()
262 slowcfg |= BIT(xp->shift); in qcom_ebi2_setup_chipselect()
264 fastcfg |= BIT(xp->shift); in qcom_ebi2_setup_chipselect()
265 dev_dbg(dev, "set %s flag\n", xp->prop); in qcom_ebi2_setup_chipselect()
270 if (val > xp->max) { in qcom_ebi2_setup_chipselect()
273 xp->prop, val, xp->max); in qcom_ebi2_setup_chipselect()
[all …]
/kernel/linux/linux-5.10/lib/mpi/
Dmpi-pow.c150 mpi_ptr_t xp; in mpi_powm() local
155 xp = xp_marker = mpi_alloc_limb_space(2 * (msize + 1)); in mpi_powm()
156 if (!xp) in mpi_powm()
184 mpih_sqr_n_basecase(xp, rp, rsize); in mpi_powm()
200 mpih_sqr_n(xp, rp, rsize, tspace); in mpi_powm()
205 mpihelp_divrem(xp + msize, 0, xp, xsize, in mpi_powm()
211 rp = xp; in mpi_powm()
212 xp = tp; in mpi_powm()
220 (xp, rp, rsize, bp, bsize, in mpi_powm()
225 (xp, rp, rsize, bp, bsize, in mpi_powm()
[all …]
/kernel/linux/linux-5.10/net/key/
Daf_key.c1913 static int check_reqid(struct xfrm_policy *xp, int dir, int count, void *ptr) in check_reqid() argument
1918 for (i=0; i<xp->xfrm_nr; i++) { in check_reqid()
1919 if (xp->xfrm_vec[i].reqid == reqid) in check_reqid()
1947 parse_ipsecrequest(struct xfrm_policy *xp, struct sadb_x_ipsecrequest *rq) in parse_ipsecrequest() argument
1949 struct net *net = xp_net(xp); in parse_ipsecrequest()
1950 struct xfrm_tmpl *t = xp->xfrm_vec + xp->xfrm_nr; in parse_ipsecrequest()
1953 if (xp->xfrm_nr >= XFRM_MAX_DEPTH) in parse_ipsecrequest()
1986 t->encap_family = xp->family; in parse_ipsecrequest()
1990 xp->xfrm_nr++; in parse_ipsecrequest()
1995 parse_ipsecrequests(struct xfrm_policy *xp, struct sadb_x_policy *pol) in parse_ipsecrequests() argument
[all …]
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_user.c1524 static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut, in copy_templates() argument
1529 xp->xfrm_nr = nr; in copy_templates()
1531 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in copy_templates()
1642 static void copy_from_user_policy(struct xfrm_policy *xp, struct xfrm_userpolicy_info *p) in copy_from_user_policy() argument
1644 xp->priority = p->priority; in copy_from_user_policy()
1645 xp->index = p->index; in copy_from_user_policy()
1646 memcpy(&xp->selector, &p->sel, sizeof(xp->selector)); in copy_from_user_policy()
1647 memcpy(&xp->lft, &p->lft, sizeof(xp->lft)); in copy_from_user_policy()
1648 xp->action = p->action; in copy_from_user_policy()
1649 xp->flags = p->flags; in copy_from_user_policy()
[all …]
/kernel/linux/linux-5.10/drivers/xen/
Dsys-hypervisor.c420 struct xen_pmu_params xp; in pmu_mode_store() local
425 xp.val = pmu_modes[i].mode; in pmu_mode_store()
433 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_store()
434 xp.version.min = XENPMU_VER_MIN; in pmu_mode_store()
435 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_set, &xp); in pmu_mode_store()
445 struct xen_pmu_params xp; in pmu_mode_show() local
449 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_show()
450 xp.version.min = XENPMU_VER_MIN; in pmu_mode_show()
451 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_get, &xp); in pmu_mode_show()
455 mode = (uint32_t)xp.val; in pmu_mode_show()
[all …]
/kernel/linux/linux-5.10/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";
278 compatible = "marvell,armada-xp-timer";
284 compatible = "marvell,armada-xp-wdt";
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/misc/sgi-xp/
Dxp_uv.c59 dev_err(xp, "gru_read_gpa() failed, dst_gpa=0x%016lx src_gpa=0x%016lx " in xp_remote_mmr_read()
78 dev_err(xp, "gru_copy_gpa() failed, dst_gpa=0x%016lx src_gpa=0x%016lx " in xp_remote_memcpy_uv()
98 dev_err(xp, "uv_bios_change_memprotect(,, " in xp_expand_memprotect_uv()
109 dev_err(xp, "sn_change_memprotect(,, " in xp_expand_memprotect_uv()
128 dev_err(xp, "uv_bios_change_memprotect(,, " in xp_restrict_memprotect_uv()
139 dev_err(xp, "sn_change_memprotect(,, " in xp_restrict_memprotect_uv()
DMakefile6 obj-$(CONFIG_SGI_XP) += xp.o
7 xp-y := xp_main.o xp_uv.o
/kernel/linux/linux-5.10/drivers/perf/
Darm-cmn.c688 struct arm_cmn_node *xp = arm_cmn_node_to_xp(dn); in arm_cmn_read_dtm() local
690 u64 reg = readq_relaxed(xp->pmu_base + offset); in arm_cmn_read_dtm()
848 int wp_idx, xp = arm_cmn_node_to_xp(dn)->logid; in arm_cmn_val_add_event() local
850 val->dtm_count[xp]++; in arm_cmn_val_add_event()
851 val->occupid[xp] = occupid; in arm_cmn_val_add_event()
857 val->wp[xp][wp_idx] = CMN_EVENT_WP_COMBINE(event) + 1; in arm_cmn_val_add_event()
896 int wp_idx, wp_cmb, xp = arm_cmn_node_to_xp(dn)->logid; in arm_cmn_validate_group() local
898 if (val.dtm_count[xp] == CMN_DTM_NUM_COUNTERS) in arm_cmn_validate_group()
901 if (occupid && val.occupid[xp] && occupid != val.occupid[xp]) in arm_cmn_validate_group()
908 if (val.wp[xp][wp_idx]) in arm_cmn_validate_group()
[all …]
Darm-ccn.c138 } xp; member
181 struct arm_ccn_component *xp; member
233 static CCN_FORMAT_ATTR(xp, "config:0-7");
669 source = &ccn->xp[node_xp]; in arm_ccn_pmu_event_alloc()
676 bit = arm_ccn_pmu_alloc_bit(source->xp.dt_cmp_mask, in arm_ccn_pmu_event_alloc()
708 clear_bit(hw->config_base, source->xp.dt_cmp_mask); in arm_ccn_pmu_event_release()
893 struct arm_ccn_component *xp; in arm_ccn_pmu_xp_dt_config() local
901 xp = &ccn->xp[CCN_CONFIG_XP(event->attr.config)]; in arm_ccn_pmu_xp_dt_config()
903 xp = &ccn->xp[arm_ccn_node_to_xp( in arm_ccn_pmu_xp_dt_config()
913 val = readl(xp->base + CCN_XP_DT_CONFIG); in arm_ccn_pmu_xp_dt_config()
[all …]
/kernel/linux/linux-5.10/arch/x86/xen/
Dpmu.c520 struct xen_pmu_params xp; in xen_pmu_init() local
536 xp.val = pfn_to_mfn(pfn); in xen_pmu_init()
537 xp.vcpu = cpu; in xen_pmu_init()
538 xp.version.maj = XENPMU_VER_MAJ; in xen_pmu_init()
539 xp.version.min = XENPMU_VER_MIN; in xen_pmu_init()
540 err = HYPERVISOR_xenpmu_op(XENPMU_init, &xp); in xen_pmu_init()
566 struct xen_pmu_params xp; in xen_pmu_finish() local
571 xp.vcpu = cpu; in xen_pmu_finish()
572 xp.version.maj = XENPMU_VER_MAJ; in xen_pmu_finish()
573 xp.version.min = XENPMU_VER_MIN; in xen_pmu_finish()
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-bcm-qspi.c569 const struct bcm_qspi_parms *xp) in bcm_qspi_hw_set_parms() argument
573 if (xp->speed_hz) in bcm_qspi_hw_set_parms()
574 spbr = qspi->base_clk / (2 * xp->speed_hz); in bcm_qspi_hw_set_parms()
586 if (xp->bits_per_word != 16) in bcm_qspi_hw_set_parms()
587 spcr |= xp->bits_per_word << 2; in bcm_qspi_hw_set_parms()
588 spcr |= xp->mode & 3; in bcm_qspi_hw_set_parms()
609 qspi->last_parms = *xp; in bcm_qspi_hw_set_parms()
616 struct bcm_qspi_parms xp; in bcm_qspi_update_parms() local
618 xp.speed_hz = trans->speed_hz; in bcm_qspi_update_parms()
619 xp.bits_per_word = trans->bits_per_word; in bcm_qspi_update_parms()
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Ds3c2410_ts.c100 unsigned long xp; member
137 ts.xp >>= ts.shift; in touch_timer_fire()
141 __func__, ts.xp, ts.yp, ts.count); in touch_timer_fire()
143 input_report_abs(ts.input, ABS_X, ts.xp); in touch_timer_fire()
149 ts.xp = 0; in touch_timer_fire()
156 ts.xp = 0; in touch_timer_fire()
219 ts.xp += data0; in s3c24xx_ts_conversion()
/kernel/linux/linux-5.10/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";
/kernel/linux/linux-5.10/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";
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dpgtable-3level.h44 #define pud_clear(xp) do { set_pud(xp, __pud(0)); } while (0) argument
/kernel/linux/linux-5.10/Documentation/admin-guide/perf/
Darm-ccn.rst26 Crosspoint PMU events require "xp" (index), "bus" (bus number)
30 require "xp" and "vc" as above plus "port" (device port index),
54 ccn/xp_valid_flit,xp=?,port=?,vc=?,dir=?/ [Kernel PMU event]
57 / # perf stat -a -e ccn/cycles/,ccn/xp_valid_flit,xp=1,port=0,vc=1,dir=1/ \

12345