| /linux/net/ipv6/ila/ |
| H A D | ila_xlat.c | 18 struct ila_xlat_params xp; member 57 return (ila->xp.ifindex && ila->xp.ifindex != ifindex); in ila_cmp_wildcards() 61 struct ila_xlat_params *xp) in ila_cmp_params() argument 63 return (ila->xp.ifindex != xp->ifindex); in ila_cmp_params() 71 return (ila->xp.ip.locator_match.v64 != *(__be64 *)arg->key); in ila_cmpfn() 78 if (ila->xp.ifindex) in ila_order() 87 .key_offset = offsetof(struct ila_map, xp.ip.locator_match), 96 struct ila_xlat_params *xp) in parse_nl_config() argument 98 memset(xp, 0, sizeof(*xp)); in parse_nl_config() 101 xp->ip.locator.v64 = (__force __be64)nla_get_u64( in parse_nl_config() [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | pgtable-2level.h | 44 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 …]
|
| H A D | pgtable-3level.h | 118 #define native_ptep_get_and_clear(xp) native_local_ptep_get_and_clear(xp) argument 119 #define native_pmdp_get_and_clear(xp) native_local_pmdp_get_and_clear(xp) argument 120 #define native_pudp_get_and_clear(xp) native_local_pudp_get_and_clear(xp) argument
|
| /linux/fs/jfs/ |
| H A D | jfs_extent.c | 70 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) in extAlloc() argument 96 if ((hint = addressXAD(xp))) { in extAlloc() 98 nxlen = lengthXAD(xp); in extAlloc() 108 if (offsetXAD(xp) + nxlen == xoff && in extAlloc() 109 abnr == ((xp->flag & XAD_NOTRECORDED) ? true : false)) in extAlloc() 163 XADaddress(xp, nxaddr); in extAlloc() 164 XADlength(xp, nxlen); in extAlloc() 165 XADoffset(xp, xoff); in extAlloc() 166 xp->flag = xflag; in extAlloc() 197 int extHint(struct inode *ip, s64 offset, xad_t * xp) in extHint() argument [all …]
|
| /linux/drivers/bus/ |
| H A D | qcom-ebi2.c | 249 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 …]
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | Makefile | 60 armada-xp-axpwifiap.dtb \ 61 armada-xp-crs305-1g-4s.dtb \ 62 armada-xp-crs305-1g-4s-bit.dtb \ 63 armada-xp-crs326-24g-2s.dtb \ 64 armada-xp-crs326-24g-2s-bit.dtb \ 65 armada-xp-crs328-4c-20s-4s.dtb \ 66 armada-xp-crs328-4c-20s-4s-bit.dtb \ 67 armada-xp-db.dtb \ 68 armada-xp-db-dxbc2.dtb \ 69 armada-xp-db-xc3-24g4xg.dtb \ [all …]
|
| H A D | armada-xp.dtsi | 16 #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 …]
|
| H A D | armada-xp-98dx3236.dtsi | 11 #include "armada-370-xp.dtsi" 18 compatible = "marvell,armadaxp-98dx3236", "marvell,armada-370-xp"; 58 compatible = "marvell,armada-xp-pcie"; 104 compatible = "marvell,armada-xp-sdram-controller"; 147 compatible = "marvell,armada-370-xp-system-controller"; 170 compatible = "marvell,armada-xp-cpu-config"; 175 compatible = "marvell,armada-xp-neta"; 179 compatible = "marvell,armada-xp-neta"; 290 compatible = "marvell,armada-xp-timer"; 296 compatible = "marvell,armada-xp-wdt"; [all …]
|
| /linux/net/key/ |
| H A D | af_key.c | 1909 static int check_reqid(struct xfrm_policy *xp, int dir, int count, void *ptr) in check_reqid() argument 1914 for (i=0; i<xp->xfrm_nr; i++) { in check_reqid() 1915 if (xp->xfrm_vec[i].reqid == reqid) in check_reqid() 1943 parse_ipsecrequest(struct xfrm_policy *xp, struct sadb_x_policy *pol, in parse_ipsecrequest() argument 1946 struct net *net = xp_net(xp); in parse_ipsecrequest() 1947 struct xfrm_tmpl *t = xp->xfrm_vec + xp->xfrm_nr; in parse_ipsecrequest() 1950 if (xp->xfrm_nr >= XFRM_MAX_DEPTH) in parse_ipsecrequest() 1986 t->encap_family = xp->family; in parse_ipsecrequest() 1990 xp in parse_ipsecrequest() 1995 parse_ipsecrequests(struct xfrm_policy * xp,struct sadb_x_policy * pol) parse_ipsecrequests() argument 2017 pfkey_xfrm_policy2sec_ctx_size(const struct xfrm_policy * xp) pfkey_xfrm_policy2sec_ctx_size() argument 2029 pfkey_xfrm_policy2msg_size(const struct xfrm_policy * xp) pfkey_xfrm_policy2msg_size() argument 2051 pfkey_xfrm_policy2msg_prep(const struct xfrm_policy * xp) pfkey_xfrm_policy2msg_prep() argument 2065 pfkey_xfrm_policy2msg(struct sk_buff * skb,const struct xfrm_policy * xp,int dir) pfkey_xfrm_policy2msg() argument 2215 key_notify_policy(struct xfrm_policy * xp,int dir,const struct km_event * c) key_notify_policy() argument 2253 struct xfrm_policy *xp; pfkey_spdadd() local 2367 struct xfrm_policy *xp; pfkey_spddelete() local 2436 key_pol_get_resp(struct sock * sk,struct xfrm_policy * xp,const struct sadb_msg * hdr,int dir) key_pol_get_resp() argument 2653 struct xfrm_policy *xp; pfkey_spdget() local 2688 dump_sp(struct xfrm_policy * xp,int dir,int count,void * ptr) dump_sp() argument 3038 key_notify_policy_expire(struct xfrm_policy * xp,const struct km_event * c) key_notify_policy_expire() argument 3101 pfkey_send_policy_notify(struct xfrm_policy * xp,int dir,const struct km_event * c) pfkey_send_policy_notify() argument 3154 pfkey_send_acquire(struct xfrm_state * x,struct xfrm_tmpl * t,struct xfrm_policy * xp) pfkey_send_acquire() argument 3270 struct xfrm_policy *xp; pfkey_compile_policy() local [all...] |
| /linux/lib/crypto/mpi/ |
| H A D | mpi-pow.c | 152 mpi_ptr_t xp; in mpi_powm() local 157 xp = xp_marker = mpi_alloc_limb_space(2 * (msize + 1)); in mpi_powm() 158 if (!xp) in mpi_powm() 185 mpih_sqr_n_basecase(xp, rp, rsize); in mpi_powm() 201 mpih_sqr_n(xp, rp, rsize, tspace); in mpi_powm() 206 mpihelp_divrem(xp + msize, 0, xp, xsize, in mpi_powm() 211 swap(rp, xp); in mpi_powm() 219 (xp, rp, rsize, bp, bsize, in mpi_powm() 224 (xp, rp, rsize, bp, bsize, in mpi_powm() 231 mpihelp_divrem(xp + msize, 0, in mpi_powm() [all …]
|
| /linux/net/xfrm/ |
| H A D | xfrm_user.c | 2018 static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut, in copy_templates() argument 2023 xp->xfrm_nr = nr; in copy_templates() 2025 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in copy_templates() 2154 static void copy_from_user_policy(struct xfrm_policy *xp, struct xfrm_userpolicy_info *p) in copy_from_user_policy() argument 2156 xp->priority = p->priority; in copy_from_user_policy() 2157 xp->index = p->index; in copy_from_user_policy() 2158 memcpy(&xp->selector, &p->sel, sizeof(xp->selector)); in copy_from_user_policy() 2159 memcpy(&xp->lft, &p->lft, sizeof(xp->lft)); in copy_from_user_policy() 2160 xp->action = p->action; in copy_from_user_policy() 2161 xp->flags = p->flags; in copy_from_user_policy() [all …]
|
| /linux/drivers/xen/ |
| H A D | sys-hypervisor.c | 476 struct xen_pmu_params xp; in pmu_mode_store() local 481 xp.val = pmu_modes[i].mode; in pmu_mode_store() 489 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_store() 490 xp.version.min = XENPMU_VER_MIN; in pmu_mode_store() 491 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_set, &xp); in pmu_mode_store() 501 struct xen_pmu_params xp; in pmu_mode_show() local 505 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_show() 506 xp.version.min = XENPMU_VER_MIN; in pmu_mode_show() 507 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_get, &xp); in pmu_mode_show() 511 mode = (uint32_t)xp.val; in pmu_mode_show() [all …]
|
| /linux/arch/sh/lib/ |
| H A D | div64-generic.c | 11 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/arch/arc/include/asm/ |
| H A D | pgtable-levels.h | 110 #define p4d_clear(xp) do { p4d_val(*(xp)) = 0; } while (0) argument 132 #define pud_clear(xp) do { pud_val(*(xp)) = 0; } while (0) argument 158 #define pmd_clear(xp) do { pmd_val(*(xp)) = 0; } while (0) argument
|
| /linux/drivers/spi/ |
| H A D | spi-bcm-qspi.c | 291 const struct bcm_qspi_parms *xp) in bcm_qspi_calc_spbr() argument 296 if (xp->speed_hz) in bcm_qspi_calc_spbr() 297 spbr = clk_speed_hz / (xp->speed_hz * 2); in bcm_qspi_calc_spbr() 612 const struct bcm_qspi_parms *xp) in bcm_qspi_hw_set_parms() argument 616 if (!bcmspi_parms_did_change(xp, &qspi->last_parms)) in bcm_qspi_hw_set_parms() 632 if (xp->bits_per_word != 16 && xp->bits_per_word != 64) in bcm_qspi_hw_set_parms() 633 spcr |= xp->bits_per_word << MSPI_SPCR0_MSB_BITS_SHIFT; in bcm_qspi_hw_set_parms() 635 spcr |= xp->mode & (MSPI_SPCR0_MSB_CPHA | MSPI_SPCR0_MSB_CPOL); in bcm_qspi_hw_set_parms() 644 if (xp->mode & SPI_3WIRE) in bcm_qspi_hw_set_parms() 649 spbr = bcm_qspi_calc_spbr(MSPI_BASE_FREQ * 4, xp); in bcm_qspi_hw_set_parms() [all …]
|
| /linux/drivers/misc/sgi-xp/ |
| H A D | xp_uv.c | 57 dev_err(xp, "gru_read_gpa() failed, dst_gpa=0x%016lx src_gpa=0x%016lx " in xp_remote_mmr_read() 76 dev_err(xp, "gru_copy_gpa() failed, dst_gpa=0x%016lx src_gpa=0x%016lx " in xp_remote_memcpy_uv() 96 dev_err(xp, "uv_bios_change_memprotect(,, " in xp_expand_memprotect_uv() 115 dev_err(xp, "uv_bios_change_memprotect(,, " in xp_restrict_memprotect_uv()
|
| H A D | Makefile | 6 obj-$(CONFIG_SGI_XP) += xp.o 7 xp-y := xp_main.o xp_uv.o
|
| /linux/drivers/iio/chemical/ |
| H A D | sgp40.c | 108 u32 x, y, xp; in sgp40_exp() local 122 xp = 1; in sgp40_exp() 128 xp *= x; in sgp40_exp() 130 y += (xp >> divider) / factorial; in sgp40_exp() 133 if (xp >= xmax) { in sgp40_exp() 134 xp >>= power; in sgp40_exp()
|
| /linux/drivers/perf/ |
| H A D | arm-ccn.c | 138 } xp; member 181 struct arm_ccn_component *xp; member 224 static CCN_FORMAT_ATTR(xp, "config:0-7"); 655 source = &ccn->xp[node_xp]; in arm_ccn_pmu_event_alloc() 662 bit = arm_ccn_pmu_alloc_bit(source->xp.dt_cmp_mask, in arm_ccn_pmu_event_alloc() 694 clear_bit(hw->config_base, source->xp.dt_cmp_mask); in arm_ccn_pmu_event_release() 879 struct arm_ccn_component *xp; in arm_ccn_pmu_xp_dt_config() local 887 xp = &ccn->xp[CCN_CONFIG_XP(event->attr.config)]; in arm_ccn_pmu_xp_dt_config() 889 xp = &ccn->xp[arm_ccn_node_to_xp( in arm_ccn_pmu_xp_dt_config() 899 val = readl(xp->base + CCN_XP_DT_CONFIG); in arm_ccn_pmu_xp_dt_config() [all …]
|
| H A D | arm-cmn.c | 439 const struct arm_cmn_node *xp, int port) in arm_cmn_device_connect_info() argument 441 int offset = CMN_MXP__CONNECT_INFO(port) - arm_cmn_pmu_offset(cmn, xp); in arm_cmn_device_connect_info() 454 return readl_relaxed(xp->pmu_base + offset); in arm_cmn_device_connect_info() 500 static void arm_cmn_show_logid(struct seq_file *s, const struct arm_cmn_node *xp, int p, int d) in arm_cmn_show_logid() argument 504 u16 id = xp->id | d | (p << xp->deviceid_bits); in arm_cmn_show_logid() 536 struct arm_cmn_node *xp = cmn->xps + xp_base; in arm_cmn_map_show() local 545 port[p][x] = arm_cmn_device_connect_info(cmn, xp + x, p); in arm_cmn_map_show() 551 s8 dtc = xp[x].dtc; in arm_cmn_map_show() 568 arm_cmn_show_logid(s, xp + x, p, 0); in arm_cmn_map_show() 571 arm_cmn_show_logid(s, xp + x, p, 1); in arm_cmn_map_show() [all …]
|
| /linux/security/selinux/ |
| H A D | avc.c | 68 struct extended_perms xp; member 214 security_xperm_set(xp_node->xp.drivers.p, driver); in avc_xperms_allow_perm() 215 xp_node->xp.base_perms |= base_perm; in avc_xperms_allow_perm() 335 node->ae.xp_node->xp.len++; in avc_add_xperms_decision() 357 if (src->xp.len == 0) in avc_xperms_populate() 363 memcpy(dest->xp.drivers.p, src->xp.drivers.p, sizeof(dest->xp.drivers.p)); in avc_xperms_populate() 364 dest->xp.len = src->xp.len; in avc_xperms_populate() 365 dest->xp.base_perms = src->xp.base_perms; in avc_xperms_populate() 992 security_compute_av(ssid, tsid, tclass, avd, &xp_node->xp); in avc_compute_av() 1049 if (!xp_node || !xp_node->xp.len) in avc_has_extended_perms() [all …]
|
| /linux/Documentation/admin-guide/perf/ |
| H A D | arm-ccn.rst | 26 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/ \
|
| /linux/Documentation/devicetree/bindings/arm/marvell/ |
| H A D | mvebu-cpu-config.txt | 10 - "marvell,armada-xp-cpu-config" 18 compatible = "marvell,armada-xp-cpu-config";
|
| H A D | mvebu-system-controller.txt | 9 - "marvell,armada-370-xp-system-controller" 16 compatible = "marvell,armada-370-xp-system-controller";
|
| /linux/arch/sh/include/asm/ |
| H A D | pgtable-3level.h | 50 #define pud_clear(xp) do { set_pud(xp, __pud(0)); } while (0) argument
|