Searched refs:xp (Results 1 - 87 of 87) sorted by relevance

/linux-4.4.14/arch/sh/lib/
H A Ddiv64-generic.c10 uint32_t __div64_32(u64 *xp, u32 y) __div64_32() argument
13 uint64_t q = __xdiv64_32(*xp, y); __div64_32()
15 rem = *xp - q * y; __div64_32()
16 *xp = q; __div64_32()
/linux-4.4.14/drivers/misc/sgi-xp/
H A DMakefile5 obj-$(CONFIG_SGI_XP) += xp.o
6 xp-y := xp_main.o
7 xp-$(CONFIG_IA64_SGI_SN2) += xp_sn2.o xp_nofault.o
8 xp-$(CONFIG_IA64_GENERIC) += xp_sn2.o xp_nofault.o
9 xp-$(CONFIG_IA64_SGI_UV) += xp_uv.o
10 xp-$(CONFIG_X86_64) += xp_uv.o
H A Dxp_uv.c24 #include "xp.h"
58 dev_err(xp, "gru_read_gpa() failed, dst_gpa=0x%016lx src_gpa=0x%016lx " xp_remote_mmr_read()
77 dev_err(xp, "gru_copy_gpa() failed, dst_gpa=0x%016lx src_gpa=0x%016lx " xp_remote_memcpy_uv()
97 dev_err(xp, "uv_bios_change_memprotect(,, " xp_expand_memprotect_uv()
108 dev_err(xp, "sn_change_memprotect(,, " xp_expand_memprotect_uv()
127 dev_err(xp, "uv_bios_change_memprotect(,, " xp_restrict_memprotect_uv()
138 dev_err(xp, "sn_change_memprotect(,, " xp_restrict_memprotect_uv()
H A Dxp_sn2.c19 #include "xp.h"
23 * in drivers/misc/sgi-xp/xp_nofault.S. The target of the nofault read is
51 dev_err(xp, "can't register nofault code, error=%d\n", ret); xp_register_nofault_code_sn2()
115 dev_err(xp, "bte_copy() on shub2 failed, error=0x%x dst_pa=" xp_remote_memcpy_sn2()
119 dev_err(xp, "bte_copy() failed, error=%d dst_pa=0x%016lx " xp_remote_memcpy_sn2()
141 dev_err(xp, "sn_change_memprotect(,, " xp_expand_memprotect_sn2()
157 dev_err(xp, "sn_change_memprotect(,, " xp_restrict_memprotect_sn2()
H A Dxp_main.c19 #include "xp.h"
24 .name = "xp"
32 struct device *xp = &xp_dbg_subname; variable in typeref:struct:device
H A Dxp.h352 extern struct device *xp;
H A Dxpc_channel.c870 * flags - see xp.h for valid flags.
918 * flags - see xp.h for valid flags.
H A Dxpnet.c27 #include "xp.h"
H A Dxpc.h20 #include "xp.h"
/linux-4.4.14/arch/x86/include/asm/
H A Dpgtable-2level.h35 unsigned long addr, pte_t *xp) native_pte_clear()
37 *xp = native_make_pte(0); native_pte_clear()
41 static inline pte_t native_ptep_get_and_clear(pte_t *xp) native_ptep_get_and_clear() argument
43 return __pte(xchg(&xp->pte_low, 0)); native_ptep_get_and_clear()
46 #define native_ptep_get_and_clear(xp) native_local_ptep_get_and_clear(xp)
50 static inline pmd_t native_pmdp_get_and_clear(pmd_t *xp) native_pmdp_get_and_clear() argument
52 return __pmd(xchg((pmdval_t *)xp, 0)); native_pmdp_get_and_clear()
55 #define native_pmdp_get_and_clear(xp) native_local_pmdp_get_and_clear(xp)
34 native_pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *xp) native_pte_clear() argument
H A Dpgtable_64.h73 static inline pte_t native_ptep_get_and_clear(pte_t *xp) native_ptep_get_and_clear() argument
76 return native_make_pte(xchg(&xp->pte, 0)); native_ptep_get_and_clear()
80 pte_t ret = *xp; native_ptep_get_and_clear()
81 native_pte_clear(NULL, 0, xp); native_ptep_get_and_clear()
86 static inline pmd_t native_pmdp_get_and_clear(pmd_t *xp) native_pmdp_get_and_clear() argument
89 return native_make_pmd(xchg(&xp->pmd, 0)); native_pmdp_get_and_clear()
93 pmd_t ret = *xp; native_pmdp_get_and_clear()
94 native_pmd_clear(xp); native_pmdp_get_and_clear()
H A Dpgtable-3level.h153 #define native_ptep_get_and_clear(xp) native_local_ptep_get_and_clear(xp)
176 #define native_pmdp_get_and_clear(xp) native_local_pmdp_get_and_clear(xp)
/linux-4.4.14/lib/mpi/
H A Dmpi-pow.c157 mpi_ptr_t xp; mpi_powm() local
163 xp = xp_marker = mpi_alloc_limb_space(2 * (msize + 1)); mpi_powm()
164 if (!xp) mpi_powm()
191 /*if (mpihelp_mul_n(xp, rp, rp, rsize) < 0) goto enomem */ mpi_powm()
193 mpih_sqr_n_basecase(xp, rp, rsize); mpi_powm()
209 mpih_sqr_n(xp, rp, rsize, tspace); mpi_powm()
214 mpihelp_divrem(xp + msize, 0, xp, xsize, mpi_powm()
220 rp = xp; mpi_powm()
221 xp = tp; mpi_powm()
225 /*mpihelp_mul( xp, rp, rsize, bp, bsize ); */ mpi_powm()
229 (xp, rp, rsize, bp, bsize, mpi_powm()
234 (xp, rp, rsize, bp, bsize, mpi_powm()
241 mpihelp_divrem(xp + msize, 0, mpi_powm()
242 xp, xsize, mp, mpi_powm()
248 rp = xp; mpi_powm()
249 xp = tp; mpi_powm()
/linux-4.4.14/tools/perf/util/
H A Dfind-vdso-map.c17 if (2 != sscanf(line, "%p-%p r-xp %*x %*x:%*x %*u %n", find_vdso_map()
H A Devent.c276 /* 00400000-0040c000 r-xp 00000000 fd:01 41038 /bin/cat */ perf_event__synthesize_mmap_events()
/linux-4.4.14/drivers/xen/
H A Dsys-hypervisor.c391 struct xen_pmu_params xp; pmu_mode_store() local
396 xp.val = pmu_modes[i].mode; pmu_mode_store()
404 xp.version.maj = XENPMU_VER_MAJ; pmu_mode_store()
405 xp.version.min = XENPMU_VER_MIN; pmu_mode_store()
406 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_set, &xp); pmu_mode_store()
416 struct xen_pmu_params xp; pmu_mode_show() local
420 xp.version.maj = XENPMU_VER_MAJ; pmu_mode_show()
421 xp.version.min = XENPMU_VER_MIN; pmu_mode_show()
422 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_get, &xp); pmu_mode_show()
426 mode = (uint32_t)xp.val; pmu_mode_show()
441 struct xen_pmu_params xp; pmu_features_store() local
447 xp.val = features; pmu_features_store()
448 xp.version.maj = XENPMU_VER_MAJ; pmu_features_store()
449 xp.version.min = XENPMU_VER_MIN; pmu_features_store()
450 ret = HYPERVISOR_xenpmu_op(XENPMU_feature_set, &xp); pmu_features_store()
460 struct xen_pmu_params xp; pmu_features_show() local
462 xp.version.maj = XENPMU_VER_MAJ; pmu_features_show()
463 xp.version.min = XENPMU_VER_MIN; pmu_features_show()
464 ret = HYPERVISOR_xenpmu_op(XENPMU_feature_get, &xp); pmu_features_show()
468 return sprintf(buffer, "0x%x\n", (uint32_t)xp.val); pmu_features_show()
/linux-4.4.14/fs/jfs/
H A Djfs_extent.c73 * xp - pointer to an xad. on entry, xad describes an
86 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) extAlloc() argument
107 if ((hint = addressXAD(xp))) { extAlloc()
109 nxlen = lengthXAD(xp); extAlloc()
119 if (offsetXAD(xp) + nxlen == xoff && extAlloc()
120 abnr == ((xp->flag & XAD_NOTRECORDED) ? true : false)) extAlloc()
174 XADaddress(xp, nxaddr); extAlloc()
175 XADlength(xp, nxlen); extAlloc()
176 XADoffset(xp, xoff); extAlloc()
177 xp->flag = xflag; extAlloc()
205 * xp - pointer to an xad. on successful exit, the xad
215 int extRealloc(struct inode *ip, s64 nxlen, xad_t * xp, bool abnr) extRealloc() argument
234 xaddr = addressXAD(xp); extRealloc()
235 xlen = lengthXAD(xp); extRealloc()
236 xoff = offsetXAD(xp); extRealloc()
242 if ((xp->flag & XAD_NOTRECORDED) && !abnr) { extRealloc()
243 xp->flag = 0; extRealloc()
244 if ((rc = xtUpdate(0, ip, xp))) extRealloc()
280 if (abnr && (!(xp->flag & XAD_NOTRECORDED)) && (nxlen > nbperpage)) { extRealloc()
291 xflag = xp->flag; extRealloc()
336 XADaddress(xp, nxaddr); extRealloc()
337 XADlength(xp, nxlen); extRealloc()
338 XADoffset(xp, xoff); extRealloc()
339 xp->flag = xflag; extRealloc()
357 * xp - pointer to the xad that is to be filled in with
364 int extHint(struct inode *ip, s64 offset, xad_t * xp) extHint() argument
375 XADaddress(xp, 0); extHint()
394 XADaddress(xp, xaddr); extHint()
395 XADlength(xp, xlen); extHint()
396 XADoffset(xp, prev); extHint()
401 xp->flag = xflag & XAD_NOTRECORDED; extHint()
424 int extRecord(struct inode *ip, xad_t * xp) extRecord() argument
433 rc = xtUpdate(0, ip, xp); extRecord()
456 int extFill(struct inode *ip, xad_t * xp) extFill() argument
459 s64 blkno = offsetXAD(xp) >> ip->i_blkbits; extFill()
464 XADaddress(xp, 0); extFill()
467 if ((rc = extAlloc(ip, nbperpage, blkno, xp, false))) extFill()
470 assert(lengthPXD(xp) == nbperpage); extFill()
H A Djfs_imap.c694 xtpage_t *p, *xp; diWrite() local
708 xp = (xtpage_t *) &dp->di_dirtable; diWrite()
711 memcpy(&xp->xad[lv->offset], &p->xad[lv->offset], diWrite()
716 xad = &xp->xad[XTENTRYSTART]; diWrite()
718 n < le16_to_cpu(xp->header.nextindex); n++, xad++) diWrite()
737 xtpage_t *p, *xp; diWrite() local
744 xp = &dp->di_xtroot; diWrite()
747 memcpy(&xp->xad[lv->offset], &p->xad[lv->offset], diWrite()
752 xad = &xp->xad[XTENTRYSTART]; diWrite()
754 n < le16_to_cpu(xp->header.nextindex); n++, xad++) diWrite()
762 dtpage_t *p, *xp; diWrite() local
768 xp = (dtpage_t *) & dp->di_dtroot; diWrite()
771 memcpy(&xp->slot[lv->offset], &p->slot[lv->offset], diWrite()
/linux-4.4.14/net/key/
H A Daf_key.c1854 static int check_reqid(struct xfrm_policy *xp, int dir, int count, void *ptr) check_reqid() argument
1859 for (i=0; i<xp->xfrm_nr; i++) { check_reqid()
1860 if (xp->xfrm_vec[i].reqid == reqid) check_reqid()
1888 parse_ipsecrequest(struct xfrm_policy *xp, struct sadb_x_ipsecrequest *rq) parse_ipsecrequest() argument
1890 struct net *net = xp_net(xp); parse_ipsecrequest()
1891 struct xfrm_tmpl *t = xp->xfrm_vec + xp->xfrm_nr; parse_ipsecrequest()
1894 if (xp->xfrm_nr >= XFRM_MAX_DEPTH) parse_ipsecrequest()
1930 t->encap_family = xp->family; parse_ipsecrequest()
1934 xp->xfrm_nr++; parse_ipsecrequest()
1939 parse_ipsecrequests(struct xfrm_policy *xp, struct sadb_x_policy *pol) parse_ipsecrequests() argument
1949 if ((err = parse_ipsecrequest(xp, rq)) < 0) parse_ipsecrequests()
1957 static inline int pfkey_xfrm_policy2sec_ctx_size(const struct xfrm_policy *xp) pfkey_xfrm_policy2sec_ctx_size() argument
1959 struct xfrm_sec_ctx *xfrm_ctx = xp->security; pfkey_xfrm_policy2sec_ctx_size()
1969 static int pfkey_xfrm_policy2msg_size(const struct xfrm_policy *xp) pfkey_xfrm_policy2msg_size() argument
1972 int sockaddr_size = pfkey_sockaddr_size(xp->family); pfkey_xfrm_policy2msg_size()
1976 for (i=0; i<xp->xfrm_nr; i++) { pfkey_xfrm_policy2msg_size()
1977 t = xp->xfrm_vec + i; pfkey_xfrm_policy2msg_size()
1986 (xp->xfrm_nr * sizeof(struct sadb_x_ipsecrequest)) + pfkey_xfrm_policy2msg_size()
1988 pfkey_xfrm_policy2sec_ctx_size(xp); pfkey_xfrm_policy2msg_size()
1991 static struct sk_buff * pfkey_xfrm_policy2msg_prep(const struct xfrm_policy *xp) pfkey_xfrm_policy2msg_prep() argument
1996 size = pfkey_xfrm_policy2msg_size(xp); pfkey_xfrm_policy2msg_prep()
2005 static int pfkey_xfrm_policy2msg(struct sk_buff *skb, const struct xfrm_policy *xp, int dir) pfkey_xfrm_policy2msg() argument
2015 int sockaddr_size = pfkey_sockaddr_size(xp->family); pfkey_xfrm_policy2msg()
2016 int socklen = pfkey_sockaddr_len(xp->family); pfkey_xfrm_policy2msg()
2018 size = pfkey_xfrm_policy2msg_size(xp); pfkey_xfrm_policy2msg()
2031 addr->sadb_address_proto = pfkey_proto_from_xfrm(xp->selector.proto); pfkey_xfrm_policy2msg()
2032 addr->sadb_address_prefixlen = xp->selector.prefixlen_s; pfkey_xfrm_policy2msg()
2034 if (!pfkey_sockaddr_fill(&xp->selector.saddr, pfkey_xfrm_policy2msg()
2035 xp->selector.sport, pfkey_xfrm_policy2msg()
2037 xp->family)) pfkey_xfrm_policy2msg()
2047 addr->sadb_address_proto = pfkey_proto_from_xfrm(xp->selector.proto); pfkey_xfrm_policy2msg()
2048 addr->sadb_address_prefixlen = xp->selector.prefixlen_d; pfkey_xfrm_policy2msg()
2051 pfkey_sockaddr_fill(&xp->selector.daddr, xp->selector.dport, pfkey_xfrm_policy2msg()
2053 xp->family); pfkey_xfrm_policy2msg()
2061 lifetime->sadb_lifetime_allocations = _X2KEY(xp->lft.hard_packet_limit); pfkey_xfrm_policy2msg()
2062 lifetime->sadb_lifetime_bytes = _X2KEY(xp->lft.hard_byte_limit); pfkey_xfrm_policy2msg()
2063 lifetime->sadb_lifetime_addtime = xp->lft.hard_add_expires_seconds; pfkey_xfrm_policy2msg()
2064 lifetime->sadb_lifetime_usetime = xp->lft.hard_use_expires_seconds; pfkey_xfrm_policy2msg()
2071 lifetime->sadb_lifetime_allocations = _X2KEY(xp->lft.soft_packet_limit); pfkey_xfrm_policy2msg()
2072 lifetime->sadb_lifetime_bytes = _X2KEY(xp->lft.soft_byte_limit); pfkey_xfrm_policy2msg()
2073 lifetime->sadb_lifetime_addtime = xp->lft.soft_add_expires_seconds; pfkey_xfrm_policy2msg()
2074 lifetime->sadb_lifetime_usetime = xp->lft.soft_use_expires_seconds; pfkey_xfrm_policy2msg()
2081 lifetime->sadb_lifetime_allocations = xp->curlft.packets; pfkey_xfrm_policy2msg()
2082 lifetime->sadb_lifetime_bytes = xp->curlft.bytes; pfkey_xfrm_policy2msg()
2083 lifetime->sadb_lifetime_addtime = xp->curlft.add_time; pfkey_xfrm_policy2msg()
2084 lifetime->sadb_lifetime_usetime = xp->curlft.use_time; pfkey_xfrm_policy2msg()
2090 if (xp->action == XFRM_POLICY_ALLOW) { pfkey_xfrm_policy2msg()
2091 if (xp->xfrm_nr) pfkey_xfrm_policy2msg()
2098 pol->sadb_x_policy_id = xp->index; pfkey_xfrm_policy2msg()
2099 pol->sadb_x_policy_priority = xp->priority; pfkey_xfrm_policy2msg()
2101 for (i=0; i<xp->xfrm_nr; i++) { pfkey_xfrm_policy2msg()
2102 const struct xfrm_tmpl *t = xp->xfrm_vec + i; pfkey_xfrm_policy2msg()
2141 if ((xfrm_ctx = xp->security)) { pfkey_xfrm_policy2msg()
2142 int ctx_size = pfkey_xfrm_policy2sec_ctx_size(xp); pfkey_xfrm_policy2msg()
2155 hdr->sadb_msg_reserved = atomic_read(&xp->refcnt); pfkey_xfrm_policy2msg()
2160 static int key_notify_policy(struct xfrm_policy *xp, int dir, const struct km_event *c) key_notify_policy() argument
2166 out_skb = pfkey_xfrm_policy2msg_prep(xp); key_notify_policy()
2170 err = pfkey_xfrm_policy2msg(out_skb, xp, dir); key_notify_policy()
2184 pfkey_broadcast(out_skb, BROADCAST_ALL, NULL, xp_net(xp)); key_notify_policy()
2196 struct xfrm_policy *xp; pfkey_spdadd() local
2211 xp = xfrm_policy_alloc(net, GFP_KERNEL); pfkey_spdadd()
2212 if (xp == NULL) pfkey_spdadd()
2215 xp->action = (pol->sadb_x_policy_type == IPSEC_POLICY_DISCARD ? pfkey_spdadd()
2217 xp->priority = pol->sadb_x_policy_priority; pfkey_spdadd()
2220 xp->family = pfkey_sadb_addr2xfrm_addr(sa, &xp->selector.saddr); pfkey_spdadd()
2221 xp->selector.family = xp->family; pfkey_spdadd()
2222 xp->selector.prefixlen_s = sa->sadb_address_prefixlen; pfkey_spdadd()
2223 xp->selector.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto); pfkey_spdadd()
2224 xp->selector.sport = ((struct sockaddr_in *)(sa+1))->sin_port; pfkey_spdadd()
2225 if (xp->selector.sport) pfkey_spdadd()
2226 xp->selector.sport_mask = htons(0xffff); pfkey_spdadd()
2229 pfkey_sadb_addr2xfrm_addr(sa, &xp->selector.daddr); pfkey_spdadd()
2230 xp->selector.prefixlen_d = sa->sadb_address_prefixlen; pfkey_spdadd()
2235 xp->selector.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto); pfkey_spdadd()
2237 xp->selector.dport = ((struct sockaddr_in *)(sa+1))->sin_port; pfkey_spdadd()
2238 if (xp->selector.dport) pfkey_spdadd()
2239 xp->selector.dport_mask = htons(0xffff); pfkey_spdadd()
2250 err = security_xfrm_policy_alloc(&xp->security, uctx, GFP_KERNEL); pfkey_spdadd()
2257 xp->lft.soft_byte_limit = XFRM_INF; pfkey_spdadd()
2258 xp->lft.hard_byte_limit = XFRM_INF; pfkey_spdadd()
2259 xp->lft.soft_packet_limit = XFRM_INF; pfkey_spdadd()
2260 xp->lft.hard_packet_limit = XFRM_INF; pfkey_spdadd()
2262 xp->lft.hard_packet_limit = _KEY2X(lifetime->sadb_lifetime_allocations); pfkey_spdadd()
2263 xp->lft.hard_byte_limit = _KEY2X(lifetime->sadb_lifetime_bytes); pfkey_spdadd()
2264 xp->lft.hard_add_expires_seconds = lifetime->sadb_lifetime_addtime; pfkey_spdadd()
2265 xp->lft.hard_use_expires_seconds = lifetime->sadb_lifetime_usetime; pfkey_spdadd()
2268 xp->lft.soft_packet_limit = _KEY2X(lifetime->sadb_lifetime_allocations); pfkey_spdadd()
2269 xp->lft.soft_byte_limit = _KEY2X(lifetime->sadb_lifetime_bytes); pfkey_spdadd()
2270 xp->lft.soft_add_expires_seconds = lifetime->sadb_lifetime_addtime; pfkey_spdadd()
2271 xp->lft.soft_use_expires_seconds = lifetime->sadb_lifetime_usetime; pfkey_spdadd()
2273 xp->xfrm_nr = 0; pfkey_spdadd()
2275 (err = parse_ipsecrequests(xp, pol)) < 0) pfkey_spdadd()
2278 err = xfrm_policy_insert(pol->sadb_x_policy_dir-1, xp, pfkey_spdadd()
2281 xfrm_audit_policy_add(xp, err ? 0 : 1, true); pfkey_spdadd()
2294 km_policy_notify(xp, pol->sadb_x_policy_dir-1, &c); pfkey_spdadd()
2295 xfrm_pol_put(xp); pfkey_spdadd()
2299 xp->walk.dead = 1; pfkey_spdadd()
2300 xfrm_policy_destroy(xp); pfkey_spdadd()
2310 struct xfrm_policy *xp; pfkey_spddelete() local
2356 xp = xfrm_policy_bysel_ctx(net, DUMMY_MARK, XFRM_POLICY_TYPE_MAIN, pfkey_spddelete()
2360 if (xp == NULL) pfkey_spddelete()
2363 xfrm_audit_policy_delete(xp, err ? 0 : 1, true); pfkey_spddelete()
2372 km_policy_notify(xp, pol->sadb_x_policy_dir-1, &c); pfkey_spddelete()
2375 xfrm_pol_put(xp); pfkey_spddelete()
2381 static int key_pol_get_resp(struct sock *sk, struct xfrm_policy *xp, const struct sadb_msg *hdr, int dir) key_pol_get_resp() argument
2388 out_skb = pfkey_xfrm_policy2msg_prep(xp); key_pol_get_resp()
2393 err = pfkey_xfrm_policy2msg(out_skb, xp, dir); key_pol_get_resp()
2404 pfkey_broadcast(out_skb, BROADCAST_ONE, sk, xp_net(xp)); key_pol_get_resp()
2594 struct xfrm_policy *xp; pfkey_spdget() local
2605 xp = xfrm_policy_byid(net, DUMMY_MARK, XFRM_POLICY_TYPE_MAIN, pfkey_spdget()
2607 if (xp == NULL) pfkey_spdget()
2611 xfrm_audit_policy_delete(xp, err ? 0 : 1, true); pfkey_spdget()
2619 km_policy_notify(xp, dir, &c); pfkey_spdget()
2621 err = key_pol_get_resp(sk, xp, hdr, dir); pfkey_spdget()
2625 xfrm_pol_put(xp); pfkey_spdget()
2631 static int dump_sp(struct xfrm_policy *xp, int dir, int count, void *ptr) dump_sp() argument
2641 out_skb = pfkey_xfrm_policy2msg_prep(xp); dump_sp()
2645 err = pfkey_xfrm_policy2msg(out_skb, xp, dir); dump_sp()
2964 static int key_notify_policy_expire(struct xfrm_policy *xp, const struct km_event *c) key_notify_policy_expire() argument
3026 static int pfkey_send_policy_notify(struct xfrm_policy *xp, int dir, const struct km_event *c) pfkey_send_policy_notify() argument
3028 if (xp && xp->type != XFRM_POLICY_TYPE_MAIN) pfkey_send_policy_notify()
3033 return key_notify_policy_expire(xp, c); pfkey_send_policy_notify()
3037 return key_notify_policy(xp, dir, c); pfkey_send_policy_notify()
3079 static int pfkey_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *xp) pfkey_send_acquire() argument
3162 pol->sadb_x_policy_id = xp->index; pfkey_send_acquire()
3163 pol->sadb_x_policy_priority = xp->priority; pfkey_send_acquire()
3192 struct xfrm_policy *xp; pfkey_compile_policy() local
3224 xp = xfrm_policy_alloc(net, GFP_ATOMIC); pfkey_compile_policy()
3225 if (xp == NULL) { pfkey_compile_policy()
3230 xp->action = (pol->sadb_x_policy_type == IPSEC_POLICY_DISCARD ? pfkey_compile_policy()
3233 xp->lft.soft_byte_limit = XFRM_INF; pfkey_compile_policy()
3234 xp->lft.hard_byte_limit = XFRM_INF; pfkey_compile_policy()
3235 xp->lft.soft_packet_limit = XFRM_INF; pfkey_compile_policy()
3236 xp->lft.hard_packet_limit = XFRM_INF; pfkey_compile_policy()
3237 xp->family = sk->sk_family; pfkey_compile_policy()
3239 xp->xfrm_nr = 0; pfkey_compile_policy()
3241 (*dir = parse_ipsecrequests(xp, pol)) < 0) pfkey_compile_policy()
3260 *dir = security_xfrm_policy_alloc(&xp->security, uctx, GFP_ATOMIC); pfkey_compile_policy()
3268 return xp; pfkey_compile_policy()
3271 xp->walk.dead = 1; pfkey_compile_policy()
3272 xfrm_policy_destroy(xp); pfkey_compile_policy()
/linux-4.4.14/arch/sh/include/asm/
H A Dpgtable-3level.h47 #define pud_clear(xp) do { set_pud(xp, __pud(0)); } while (0)
H A Dpgtable_32.h325 #define pte_clear(mm,addr,xp) do { set_pte_at(mm, addr, xp, __pte(0)); } while (0)
329 #define pmd_clear(xp) do { set_pmd(xp, __pmd(0)); } while (0)
H A Dpgtable_64.h38 unsigned long long *xp = (unsigned long long *) pteptr; set_pte() local
42 *(xp) = (x & NPHYS_SIGN) ? (x | NPHYS_MASK) : x; set_pte()
230 #define pte_clear(mm,addr,xp) (set_pte_at(mm, addr, xp, __pte(_PTE_EMPTY)))
/linux-4.4.14/net/xfrm/
H A Dxfrm_user.c1345 static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut, copy_templates() argument
1350 xp->xfrm_nr = nr; copy_templates()
1352 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; copy_templates()
1443 static void copy_from_user_policy(struct xfrm_policy *xp, struct xfrm_userpolicy_info *p) copy_from_user_policy() argument
1445 xp->priority = p->priority; copy_from_user_policy()
1446 xp->index = p->index; copy_from_user_policy()
1447 memcpy(&xp->selector, &p->sel, sizeof(xp->selector)); copy_from_user_policy()
1448 memcpy(&xp->lft, &p->lft, sizeof(xp->lft)); copy_from_user_policy()
1449 xp->action = p->action; copy_from_user_policy()
1450 xp->flags = p->flags; copy_from_user_policy()
1451 xp->family = p->sel.family; copy_from_user_policy()
1452 /* XXX xp->share = p->share; */ copy_from_user_policy()
1455 static void copy_to_user_policy(struct xfrm_policy *xp, struct xfrm_userpolicy_info *p, int dir) copy_to_user_policy() argument
1458 memcpy(&p->sel, &xp->selector, sizeof(p->sel)); copy_to_user_policy()
1459 memcpy(&p->lft, &xp->lft, sizeof(p->lft)); copy_to_user_policy()
1460 memcpy(&p->curlft, &xp->curlft, sizeof(p->curlft)); copy_to_user_policy()
1461 p->priority = xp->priority; copy_to_user_policy()
1462 p->index = xp->index; copy_to_user_policy()
1463 p->sel.family = xp->family; copy_to_user_policy()
1465 p->action = xp->action; copy_to_user_policy()
1466 p->flags = xp->flags; copy_to_user_policy()
1467 p->share = XFRM_SHARE_ANY; /* XXX xp->share */ copy_to_user_policy()
1472 struct xfrm_policy *xp = xfrm_policy_alloc(net, GFP_KERNEL); xfrm_policy_construct() local
1475 if (!xp) { xfrm_policy_construct()
1480 copy_from_user_policy(xp, p); xfrm_policy_construct()
1482 err = copy_from_user_policy_type(&xp->type, attrs); xfrm_policy_construct()
1486 if (!(err = copy_from_user_tmpl(xp, attrs))) xfrm_policy_construct()
1487 err = copy_from_user_sec_ctx(xp, attrs); xfrm_policy_construct()
1491 xfrm_mark_get(attrs, &xp->mark); xfrm_policy_construct()
1493 return xp; xfrm_policy_construct()
1496 xp->walk.dead = 1; xfrm_policy_construct()
1497 xfrm_policy_destroy(xp); xfrm_policy_construct()
1506 struct xfrm_policy *xp; xfrm_add_policy() local
1518 xp = xfrm_policy_construct(net, p, attrs, &err); xfrm_add_policy()
1519 if (!xp) xfrm_add_policy()
1527 err = xfrm_policy_insert(p->dir, xp, excl); xfrm_add_policy()
1528 xfrm_audit_policy_add(xp, err ? 0 : 1, true); xfrm_add_policy()
1531 security_xfrm_policy_free(xp->security); xfrm_add_policy()
1532 kfree(xp); xfrm_add_policy()
1539 km_policy_notify(xp, p->dir, &c); xfrm_add_policy()
1541 xfrm_pol_put(xp); xfrm_add_policy()
1546 static int copy_to_user_tmpl(struct xfrm_policy *xp, struct sk_buff *skb) copy_to_user_tmpl() argument
1551 if (xp->xfrm_nr == 0) copy_to_user_tmpl()
1554 for (i = 0; i < xp->xfrm_nr; i++) { copy_to_user_tmpl()
1556 struct xfrm_tmpl *kp = &xp->xfrm_vec[i]; copy_to_user_tmpl()
1572 sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr, vec); copy_to_user_tmpl()
1583 static inline int copy_to_user_sec_ctx(struct xfrm_policy *xp, struct sk_buff *skb) copy_to_user_sec_ctx() argument
1585 if (xp->security) copy_to_user_sec_ctx()
1586 return copy_sec_ctx(xp->security, skb); copy_to_user_sec_ctx()
1615 static int dump_one_policy(struct xfrm_policy *xp, int dir, int count, void *ptr) dump_one_policy() argument
1630 copy_to_user_policy(xp, p, dir); dump_one_policy()
1631 err = copy_to_user_tmpl(xp, skb); dump_one_policy()
1633 err = copy_to_user_sec_ctx(xp, skb); dump_one_policy()
1635 err = copy_to_user_policy_type(xp->type, skb); dump_one_policy()
1637 err = xfrm_mark_put(skb, &xp->mark); dump_one_policy()
1680 struct xfrm_policy *xp, xfrm_policy_netlink()
1696 err = dump_one_policy(xp, dir, 0, &info); xfrm_policy_netlink()
1709 struct xfrm_policy *xp; xfrm_get_policy() local
1730 xp = xfrm_policy_byid(net, mark, type, p->dir, p->index, delete, &err); xfrm_get_policy()
1747 xp = xfrm_policy_bysel_ctx(net, mark, type, p->dir, &p->sel, xfrm_get_policy()
1751 if (xp == NULL) xfrm_get_policy()
1757 resp_skb = xfrm_policy_netlink(skb, xp, p->dir, nlh->nlmsg_seq); xfrm_get_policy()
1765 xfrm_audit_policy_delete(xp, err ? 0 : 1, true); xfrm_get_policy()
1774 km_policy_notify(xp, p->dir, &c); xfrm_get_policy()
1778 xfrm_pol_put(xp); xfrm_get_policy()
2004 struct xfrm_policy *xp; xfrm_add_pol_expire() local
2021 xp = xfrm_policy_byid(net, mark, type, p->dir, p->index, 0, &err); xfrm_add_pol_expire()
2038 xp = xfrm_policy_bysel_ctx(net, mark, type, p->dir, xfrm_add_pol_expire()
2042 if (xp == NULL) xfrm_add_pol_expire()
2045 if (unlikely(xp->walk.dead)) xfrm_add_pol_expire()
2050 xfrm_policy_delete(xp, p->dir); xfrm_add_pol_expire()
2051 xfrm_audit_policy_delete(xp, 1, true); xfrm_add_pol_expire()
2056 km_policy_expired(xp, p->dir, up->hard, nlh->nlmsg_pid); xfrm_add_pol_expire()
2059 xfrm_pol_put(xp); xfrm_add_pol_expire()
2101 struct xfrm_policy *xp; xfrm_add_acquire() local
2121 xp = xfrm_policy_construct(net, &ua->policy, attrs, &err); xfrm_add_acquire()
2122 if (!xp) xfrm_add_acquire()
2128 xp->mark.m = x->mark.m = mark.m; xfrm_add_acquire()
2129 xp->mark.v = x->mark.v = mark.v; xfrm_add_acquire()
2132 for (i = 0; i < xp->xfrm_nr; i++, ut++) { xfrm_add_acquire()
2133 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; xfrm_add_acquire()
2141 err = km_query(x, t, xp); xfrm_add_acquire()
2146 kfree(xp); xfrm_add_acquire()
2707 struct xfrm_policy *xp) xfrm_acquire_msgsize()
2710 + nla_total_size(sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr) xfrm_acquire_msgsize()
2717 struct xfrm_tmpl *xt, struct xfrm_policy *xp) build_acquire()
2732 copy_to_user_policy(xp, &ua->policy, XFRM_POLICY_OUT); build_acquire()
2738 err = copy_to_user_tmpl(xp, skb); build_acquire()
2742 err = copy_to_user_policy_type(xp->type, skb); build_acquire()
2744 err = xfrm_mark_put(skb, &xp->mark); build_acquire()
2755 struct xfrm_policy *xp) xfrm_send_acquire()
2760 skb = nlmsg_new(xfrm_acquire_msgsize(x, xp), GFP_ATOMIC); xfrm_send_acquire()
2764 if (build_acquire(skb, x, xt, xp) < 0) xfrm_send_acquire()
2779 struct xfrm_policy *xp; xfrm_compile_policy() local
2815 xp = xfrm_policy_alloc(net, GFP_ATOMIC); xfrm_compile_policy()
2816 if (xp == NULL) { xfrm_compile_policy()
2821 copy_from_user_policy(xp, p); xfrm_compile_policy()
2822 xp->type = XFRM_POLICY_TYPE_MAIN; xfrm_compile_policy()
2823 copy_templates(xp, ut, nr); xfrm_compile_policy()
2827 return xp; xfrm_compile_policy()
2830 static inline size_t xfrm_polexpire_msgsize(struct xfrm_policy *xp) xfrm_polexpire_msgsize() argument
2833 + nla_total_size(sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr) xfrm_polexpire_msgsize()
2834 + nla_total_size(xfrm_user_sec_ctx_size(xp->security)) xfrm_polexpire_msgsize()
2839 static int build_polexpire(struct sk_buff *skb, struct xfrm_policy *xp, build_polexpire() argument
2852 copy_to_user_policy(xp, &upe->pol, dir); build_polexpire()
2853 err = copy_to_user_tmpl(xp, skb); build_polexpire()
2855 err = copy_to_user_sec_ctx(xp, skb); build_polexpire()
2857 err = copy_to_user_policy_type(xp->type, skb); build_polexpire()
2859 err = xfrm_mark_put(skb, &xp->mark); build_polexpire()
2870 static int xfrm_exp_policy_notify(struct xfrm_policy *xp, int dir, const struct km_event *c) xfrm_exp_policy_notify() argument
2872 struct net *net = xp_net(xp); xfrm_exp_policy_notify()
2875 skb = nlmsg_new(xfrm_polexpire_msgsize(xp), GFP_ATOMIC); xfrm_exp_policy_notify()
2879 if (build_polexpire(skb, xp, dir, c) < 0) xfrm_exp_policy_notify()
2885 static int xfrm_notify_policy(struct xfrm_policy *xp, int dir, const struct km_event *c) xfrm_notify_policy() argument
2887 int len = nla_total_size(sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr); xfrm_notify_policy()
2888 struct net *net = xp_net(xp); xfrm_notify_policy()
2921 id->index = xp->index; xfrm_notify_policy()
2923 memcpy(&id->sel, &xp->selector, sizeof(id->sel)); xfrm_notify_policy()
2933 copy_to_user_policy(xp, p, dir); xfrm_notify_policy()
2934 err = copy_to_user_tmpl(xp, skb); xfrm_notify_policy()
2936 err = copy_to_user_policy_type(xp->type, skb); xfrm_notify_policy()
2938 err = xfrm_mark_put(skb, &xp->mark); xfrm_notify_policy()
2979 static int xfrm_send_policy_notify(struct xfrm_policy *xp, int dir, const struct km_event *c) xfrm_send_policy_notify() argument
2986 return xfrm_notify_policy(xp, dir, c); xfrm_send_policy_notify()
2990 return xfrm_exp_policy_notify(xp, dir, c); xfrm_send_policy_notify()
1679 xfrm_policy_netlink(struct sk_buff *in_skb, struct xfrm_policy *xp, int dir, u32 seq) xfrm_policy_netlink() argument
2706 xfrm_acquire_msgsize(struct xfrm_state *x, struct xfrm_policy *xp) xfrm_acquire_msgsize() argument
2716 build_acquire(struct sk_buff *skb, struct xfrm_state *x, struct xfrm_tmpl *xt, struct xfrm_policy *xp) build_acquire() argument
2754 xfrm_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *xt, struct xfrm_policy *xp) xfrm_send_acquire() argument
H A Dxfrm_policy.c180 struct xfrm_policy *xp = (struct xfrm_policy *)data; xfrm_policy_timer() local
186 read_lock(&xp->lock); xfrm_policy_timer()
188 if (unlikely(xp->walk.dead)) xfrm_policy_timer()
191 dir = xfrm_policy_id2dir(xp->index); xfrm_policy_timer()
193 if (xp->lft.hard_add_expires_seconds) { xfrm_policy_timer()
194 long tmo = xp->lft.hard_add_expires_seconds + xfrm_policy_timer()
195 xp->curlft.add_time - now; xfrm_policy_timer()
201 if (xp->lft.hard_use_expires_seconds) { xfrm_policy_timer()
202 long tmo = xp->lft.hard_use_expires_seconds + xfrm_policy_timer()
203 (xp->curlft.use_time ? : xp->curlft.add_time) - now; xfrm_policy_timer()
209 if (xp->lft.soft_add_expires_seconds) { xfrm_policy_timer()
210 long tmo = xp->lft.soft_add_expires_seconds + xfrm_policy_timer()
211 xp->curlft.add_time - now; xfrm_policy_timer()
219 if (xp->lft.soft_use_expires_seconds) { xfrm_policy_timer()
220 long tmo = xp->lft.soft_use_expires_seconds + xfrm_policy_timer()
221 (xp->curlft.use_time ? : xp->curlft.add_time) - now; xfrm_policy_timer()
231 km_policy_expired(xp, dir, 0, 0); xfrm_policy_timer()
233 !mod_timer(&xp->timer, jiffies + make_jiffies(next))) xfrm_policy_timer()
234 xfrm_pol_hold(xp); xfrm_policy_timer()
237 read_unlock(&xp->lock); xfrm_policy_timer()
238 xfrm_pol_put(xp); xfrm_policy_timer()
242 read_unlock(&xp->lock); xfrm_policy_timer()
243 if (!xfrm_policy_delete(xp, dir)) xfrm_policy_timer()
244 km_policy_expired(xp, dir, 1, 0); xfrm_policy_timer()
245 xfrm_pol_put(xp); xfrm_policy_timer()
3089 static void xfrm_audit_common_policyinfo(struct xfrm_policy *xp, xfrm_audit_common_policyinfo() argument
3092 struct xfrm_sec_ctx *ctx = xp->security; xfrm_audit_common_policyinfo()
3093 struct xfrm_selector *sel = &xp->selector; xfrm_audit_common_policyinfo()
3123 void xfrm_audit_policy_add(struct xfrm_policy *xp, int result, bool task_valid) xfrm_audit_policy_add() argument
3132 xfrm_audit_common_policyinfo(xp, audit_buf); xfrm_audit_policy_add()
3137 void xfrm_audit_policy_delete(struct xfrm_policy *xp, int result, xfrm_audit_policy_delete() argument
3147 xfrm_audit_common_policyinfo(xp, audit_buf); xfrm_audit_policy_delete()
H A Dxfrm_state.c1698 void km_policy_notify(struct xfrm_policy *xp, int dir, const struct km_event *c) km_policy_notify() argument
1705 km->notify_policy(xp, dir, c); km_policy_notify()
/linux-4.4.14/include/linux/input/
H A Das5011.h16 char xp, xn; /* threshold for x axis */ member in struct:as5011_platform_data
/linux-4.4.14/arch/m32r/include/asm/
H A Dpgtable-2level.h37 #define pgd_clear(xp) do { } while (0)
66 #define ptep_get_and_clear(mm,addr,xp) __pte(xchg(&(xp)->pte, 0))
H A Dpgtable.h178 #define pte_clear(mm,addr,xp) do { set_pte_at(mm, addr, xp, __pte(0)); } while (0)
182 #define pmd_clear(xp) do { set_pmd(xp, __pmd(0)); } while (0)
/linux-4.4.14/arch/x86/xen/
H A Dpmu.c515 struct xen_pmu_params xp; xen_pmu_init() local
531 xp.val = pfn_to_mfn(pfn); xen_pmu_init()
532 xp.vcpu = cpu; xen_pmu_init()
533 xp.version.maj = XENPMU_VER_MAJ; xen_pmu_init()
534 xp.version.min = XENPMU_VER_MIN; xen_pmu_init()
535 err = HYPERVISOR_xenpmu_op(XENPMU_init, &xp); xen_pmu_init()
557 struct xen_pmu_params xp; xen_pmu_finish() local
562 xp.vcpu = cpu; xen_pmu_finish()
563 xp.version.maj = XENPMU_VER_MAJ; xen_pmu_finish()
564 xp.version.min = XENPMU_VER_MIN; xen_pmu_finish()
566 (void)HYPERVISOR_xenpmu_op(XENPMU_finish, &xp); xen_pmu_finish()
/linux-4.4.14/drivers/input/touchscreen/
H A Ds3c2410_ts.c68 * @xp: The accumulated X position data.
81 unsigned long xp; member in struct:s3c2410ts
118 ts.xp >>= ts.shift; touch_timer_fire()
122 __func__, ts.xp, ts.yp, ts.count); touch_timer_fire()
124 input_report_abs(ts.input, ABS_X, ts.xp); touch_timer_fire()
130 ts.xp = 0; touch_timer_fire()
137 ts.xp = 0; touch_timer_fire()
200 ts.xp += data0; s3c24xx_ts_conversion()
H A Dcolibri-vf50-ts.c335 error = vf50_ts_get_gpiod(dev, &touchdev->gpio_xp, "xp", GPIOD_OUT_LOW); vf50_ts_probe()
/linux-4.4.14/drivers/misc/cb710/
H A Ddebug.c60 const char *const xp = &cb710_xes[8 - t/4]; \
77 p += sprintf(p, "%s", xp); \
/linux-4.4.14/arch/c6x/include/asm/
H A Dpgtable.h35 #define pmd_clear(xp) do { set_pmd(xp, __pmd(0)); } while (0)
/linux-4.4.14/arch/blackfin/include/asm/
H A Dpgtable.h28 #define pmd_clear(xp) do { set_pmd(xp, __pmd(0)); } while (0)
/linux-4.4.14/drivers/bus/
H A Darm-ccn.c144 } xp; member in union:arm_ccn_component::__anon3683
187 struct arm_ccn_component *xp; member in struct:arm_ccn
238 static CCN_FORMAT_ATTR(xp, "config:0-7");
350 ",xp=?,port=?,vc=?,dir=?"); arm_ccn_pmu_event_show()
664 source = &ccn->xp[node_xp]; arm_ccn_pmu_event_alloc()
671 bit = arm_ccn_pmu_alloc_bit(source->xp.dt_cmp_mask, arm_ccn_pmu_event_alloc()
703 clear_bit(hw->config_base, source->xp.dt_cmp_mask); arm_ccn_pmu_event_release()
758 /* Validate node/xp vs topology */ arm_ccn_pmu_event_init()
884 struct arm_ccn_component *xp; arm_ccn_pmu_xp_dt_config() local
888 xp = &ccn->xp[CCN_CONFIG_XP(event->attr.config)]; arm_ccn_pmu_xp_dt_config()
890 xp = &ccn->xp[arm_ccn_node_to_xp( arm_ccn_pmu_xp_dt_config()
900 val = readl(xp->base + CCN_XP_DT_CONFIG); arm_ccn_pmu_xp_dt_config()
904 writel(val, xp->base + CCN_XP_DT_CONFIG); arm_ccn_pmu_xp_dt_config()
1066 u32 xp, offset, val; arm_ccn_pmu_event_config() local
1073 xp = CCN_CONFIG_XP(event->attr.config); arm_ccn_pmu_event_config()
1075 xp = arm_ccn_node_to_xp(CCN_CONFIG_NODE(event->attr.config)); arm_ccn_pmu_event_config()
1084 val |= xp << CCN_DT_ACTIVE_DSM__DSM_ID__SHIFT(hw->idx % 4); arm_ccn_pmu_event_config()
1218 writel(0, ccn->xp[i].base + CCN_XP_DT_CONFIG); arm_ccn_pmu_init()
1224 ccn->xp[i].base + CCN_XP_DT_CONTROL); arm_ccn_pmu_init()
1300 writel(0, ccn->xp[i].base + CCN_XP_DT_CONTROL); arm_ccn_pmu_init()
1312 writel(0, ccn->xp[i].base + CCN_XP_DT_CONTROL); arm_ccn_pmu_cleanup()
1374 component = &ccn->xp[id]; arm_ccn_init_nodes()
1498 ccn->xp = devm_kzalloc(ccn->dev, sizeof(*ccn->node) * ccn->num_xps, arm_ccn_probe()
1500 if (!ccn->node || !ccn->xp) arm_ccn_probe()
/linux-4.4.14/drivers/usb/common/
H A Dulpi.c54 if (add_uevent_var(env, "MODALIAS=ulpi:v%04xp%04x", ulpi_uevent()
92 return sprintf(buf, "ulpi:v%04xp%04x\n", modalias_show()
184 request_module("ulpi:v%04xp%04x", ulpi->id.vendor, ulpi->id.product); ulpi_register()
/linux-4.4.14/drivers/clk/mvebu/
H A Darmada-xp.c201 of_find_compatible_node(NULL, NULL, "marvell,armada-xp-gating-clock"); axp_clk_init()
208 CLK_OF_DECLARE(axp_clk, "marvell,armada-xp-core-clock", axp_clk_init);
H A Dclk-cpu.c246 CLK_OF_DECLARE(armada_xp_cpu_clock, "marvell,armada-xp-cpu-clock",
/linux-4.4.14/security/selinux/include/
H A Dxfrm.h27 struct xfrm_policy *xp,
/linux-4.4.14/arch/metag/include/asm/
H A Dpgtable.h110 #define pte_clear(mm, addr, xp) do { pte_val(*(xp)) = 0; } while (0)
116 #define pmd_clear(xp) do { pmd_val(*(xp)) = 0; } while (0)
/linux-4.4.14/arch/arm/mach-mvebu/
H A Dcpu-reset.c85 "marvell,armada-370-xp-pmsu"); mvebu_cpu_reset_init()
H A Dboard-v7.c32 #include "armada-370-xp.h"
152 "marvell,armada-370-xp",
H A Dplatsmp.c29 #include "armada-370-xp.h"
184 CPU_METHOD_OF_DECLARE(armada_xp_smp, "marvell,armada-xp-smp",
H A Dsystem-controller.c85 .compatible = "marvell,armada-370-xp-system-controller",
H A Dpmsu.c109 { .compatible = "marvell,armada-370-xp-pmsu", },
180 if (of_device_is_compatible(np, "marvell,armada-370-xp-pmsu")) { mvebu_v7_pmsu_init()
488 mvebu_v7_cpuidle_device.name = "cpuidle-armada-xp"; armada_xp_cpuidle_init()
633 np = of_find_compatible_node(NULL, NULL, "marvell,armada-xp-cpu-clock"); armada_xp_pmsu_cpufreq_init()
639 pr_warn(FW_WARN "not enabling cpufreq, deprecated armada-xp-cpu-clock binding\n"); armada_xp_pmsu_cpufreq_init()
H A Dmvebu-soc-id.c42 { .compatible = "marvell,armada-xp-pcie", },
H A Dpm.c242 "marvell,armada-xp-sdram-controller"); mvebu_pm_suspend_init()
H A Dcoherency.c146 "marvell,armada-xp-cpu-config"); armada_370_coherency_init()
/linux-4.4.14/arch/arm/boot/dts/
H A DMakefile757 armada-xp-axpwifiap.dtb \
758 armada-xp-db.dtb \
759 armada-xp-gp.dtb \
760 armada-xp-lenovo-ix4-300d.dtb \
761 armada-xp-linksys-mamba.dtb \
762 armada-xp-matrix.dtb \
763 armada-xp-netgear-rn2120.dtb \
764 armada-xp-openblocks-ax3-4.dtb \
765 armada-xp-synology-ds414.dtb
/linux-4.4.14/net/netfilter/
H A Dx_tables.c462 struct xt_af *xp = &xt[af]; xt_compat_add_offset() local
464 if (!xp->compat_tab) { xt_compat_add_offset()
465 if (!xp->number) xt_compat_add_offset()
467 xp->compat_tab = vmalloc(sizeof(struct compat_delta) * xp->number); xt_compat_add_offset()
468 if (!xp->compat_tab) xt_compat_add_offset()
470 xp->cur = 0; xt_compat_add_offset()
473 if (xp->cur >= xp->number) xt_compat_add_offset()
476 if (xp->cur) xt_compat_add_offset()
477 delta += xp->compat_tab[xp->cur - 1].delta; xt_compat_add_offset()
478 xp->compat_tab[xp->cur].offset = offset; xt_compat_add_offset()
479 xp->compat_tab[xp->cur].delta = delta; xt_compat_add_offset()
480 xp->cur++; xt_compat_add_offset()
/linux-4.4.14/drivers/cpuidle/
H A Dcpuidle-mvebu-v7.c114 .name = "cpuidle-armada-xp",
/linux-4.4.14/arch/um/include/asm/
H A Dpgtable.h97 #define pte_clear(mm,addr,xp) pte_set_val(*(xp), (phys_t) 0, __pgprot(_PAGE_NEWPAGE))
103 #define pmd_clear(xp) do { pmd_val(*(xp)) = _PAGE_NEWPAGE; } while (0)
/linux-4.4.14/arch/cris/include/asm/
H A Dpgtable.h97 #define pte_clear(mm,addr,xp) do { pte_val(*(xp)) = 0; } while (0)
105 #define pmd_clear(xp) do { pmd_val(*(xp)) = 0; } while (0)
/linux-4.4.14/security/selinux/
H A Davc.c67 struct extended_perms xp; member in struct:avc_xperms_node
272 security_xperm_set(xp_node->xp.drivers.p, driver); avc_xperms_allow_perm()
386 node->ae.xp_node->xp.len++; avc_add_xperms_decision()
414 if (src->xp.len == 0) avc_xperms_populate()
420 memcpy(dest->xp.drivers.p, src->xp.drivers.p, sizeof(dest->xp.drivers.p)); avc_xperms_populate()
421 dest->xp.len = src->xp.len; avc_xperms_populate()
976 security_compute_av(ssid, tsid, tclass, avd, &xp_node->xp); avc_compute_av()
1032 if (!xp_node || !xp_node->xp.len) avc_has_extended_perms()
1045 if (!security_xperm_test(xp_node->xp.drivers.p, driver)) { avc_has_extended_perms()
H A Dxfrm.c176 struct xfrm_policy *xp, selinux_xfrm_state_pol_flow_match()
181 if (!xp->security) selinux_xfrm_state_pol_flow_match()
175 selinux_xfrm_state_pol_flow_match(struct xfrm_state *x, struct xfrm_policy *xp, const struct flowi *fl) selinux_xfrm_state_pol_flow_match() argument
/linux-4.4.14/arch/mn10300/include/asm/
H A Dpgtable.h219 #define pte_clear(mm, addr, xp) \
221 set_pte_at((mm), (addr), (xp), __pte(0)); \
226 #define pmd_clear(xp) do { set_pmd(xp, __pmd(0)); } while (0)
294 #define pgd_clear(xp) do { } while (0)
/linux-4.4.14/arch/openrisc/include/asm/
H A Dpgtable.h225 #define pte_clear(mm, addr, xp) do { pte_val(*(xp)) = 0; } while (0)
230 #define pmd_clear(xp) do { pmd_val(*(xp)) = 0; } while (0)
/linux-4.4.14/drivers/clocksource/
H A Dtime-armada-370-xp.c28 * See Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt
343 CLOCKSOURCE_OF_DECLARE(armada_xp, "marvell,armada-xp-timer",
/linux-4.4.14/arch/score/include/asm/
H A Dpgtable.h104 #define pte_clear(mm, addr, xp) \ pte_mkspecial()
105 do { set_pte_at(mm, addr, xp, __pte(0)); } while (0)
/linux-4.4.14/net/ipv4/
H A Dinet_fragment.c309 struct sk_buff *xp = fp->next; inet_frag_destroy() local
313 fp = xp; inet_frag_destroy()
H A Dip_fragment.c314 struct sk_buff *xp = fp->next; ip_frag_reinit() local
318 fp = xp; ip_frag_reinit()
/linux-4.4.14/arch/frv/include/asm/
H A Dpgtable.h355 #define pte_clear(mm,addr,xp) do { set_pte_at(mm, addr, xp, __pte(0)); } while (0)
360 #define pmd_clear(xp) do { __set_pmd(xp, 0); } while(0)
/linux-4.4.14/arch/avr32/include/asm/
H A Dpgtable.h183 #define pte_clear(mm,addr,xp) \
185 set_pte_at(mm, addr, xp, __pte(0)); \
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
H A Dxircom_cb.c441 struct xircom_private *xp = netdev_priv(dev); xircom_open() local
442 const int irq = xp->pdev->irq; xircom_open()
450 xircom_up(xp); xircom_open()
451 xp->open = 1; xircom_open()
488 struct xircom_private *xp = netdev_priv(dev); xircom_poll_controller() local
489 const int irq = xp->pdev->irq; xircom_poll_controller()
/linux-4.4.14/lib/
H A Dinflate.c348 unsigned *xp; /* pointer into x */ huft_build() local
425 p = c + 1; xp = x + 2; huft_build()
427 *xp++ = (j += *p++); huft_build()
474 xp = c + k; huft_build()
478 if ((f <<= 1) <= *++xp) huft_build()
480 f -= *xp; /* else deduct codes from patterns */ huft_build()
/linux-4.4.14/drivers/gpu/drm/savage/
H A Dsavage_drv.h447 #define BCI_LINE_MISC(maj, ym, xp, yp, err) \
450 ((xp) ? 1<<14 : 0) | \
/linux-4.4.14/arch/arc/include/asm/
H A Dpgtable.h272 #define pmd_clear(xp) do { pmd_val(*(xp)) = 0; } while (0)
/linux-4.4.14/include/net/
H A Dxfrm.h310 void km_policy_notify(struct xfrm_policy *xp, int dir,
554 static inline struct net *xp_net(const struct xfrm_policy *xp) xp_net() argument
556 return read_pnet(&xp->xp_net); xp_net()
595 int (*acquire)(struct xfrm_state *x, struct xfrm_tmpl *, struct xfrm_policy *xp);
721 void xfrm_audit_policy_add(struct xfrm_policy *xp, int result, bool task_valid);
722 void xfrm_audit_policy_delete(struct xfrm_policy *xp, int result,
737 static inline void xfrm_audit_policy_add(struct xfrm_policy *xp, int result, xfrm_audit_policy_add() argument
742 static inline void xfrm_audit_policy_delete(struct xfrm_policy *xp, int result, xfrm_audit_policy_delete() argument
/linux-4.4.14/drivers/watchdog/
H A Dorion_wdt.c464 .compatible = "marvell,armada-xp-wdt",
502 of_device_is_compatible(node, "marvell,armada-xp-wdt")) { orion_wdt_get_regs()
/linux-4.4.14/drivers/media/common/saa7146/
H A Dsaa7146_hlp.c73 u32 xim = 0, xp = 0, xsci =0; calculate_h_scale_registers() local
135 /* set start phase for horizontal fine scale (xp) to 0 */ calculate_h_scale_registers()
136 xp = 0; calculate_h_scale_registers()
182 *hps_h_scale |= (xim << 31) | (xp << 24) | (xsci << 12); calculate_h_scale_registers()
/linux-4.4.14/drivers/input/joystick/
H A Das5011.c194 error = as5011_i2c_write(client, AS5011_XP, plat_dat->xp); as5011_configure_chip()
/linux-4.4.14/arch/arm64/include/asm/
H A Datomic_ll_sc.h252 " st" #rel "xp %w0, %5, %6, %2\n" \
/linux-4.4.14/net/sunrpc/
H A Dxprtsock.c918 __be32 *xp; xs_local_data_read_skb() local
927 xp = skb_header_pointer(skb, sizeof(rpc_fraghdr), sizeof(_xid), &_xid); xs_local_data_read_skb()
928 if (xp == NULL) xs_local_data_read_skb()
933 rovr = xprt_lookup_rqst(xprt, *xp); xs_local_data_read_skb()
996 __be32 *xp; xs_udp_data_read_skb() local
1005 xp = skb_header_pointer(skb, sizeof(struct udphdr), xs_udp_data_read_skb()
1007 if (xp == NULL) xs_udp_data_read_skb()
1012 rovr = xprt_lookup_rqst(xprt, *xp); xs_udp_data_read_skb()
/linux-4.4.14/arch/parisc/include/asm/
H A Dpgtable.h294 #define pte_clear(mm, addr, xp) set_pte_at(mm, addr, xp, __pte(0))
/linux-4.4.14/drivers/crypto/marvell/
H A Dcesa.c250 { .compatible = "marvell,armada-xp-crypto", .data = &armada_xp_caps },
/linux-4.4.14/drivers/spi/
H A Dspi-orion.c490 .compatible = "marvell,armada-xp-spi",
/linux-4.4.14/scripts/
H A Dnamespace.pl179 || m:arch/ia64/sn/kernel/xp.o$:
/linux-4.4.14/drivers/pinctrl/mvebu/
H A Dpinctrl-armada-xp.c512 .name = "armada-xp-pinctrl",
/linux-4.4.14/arch/microblaze/include/asm/
H A Dpgtable.h324 #define pgd_clear(xp) do { } while (0)
/linux-4.4.14/security/
H A Dsecurity.c1450 struct xfrm_policy *xp, security_xfrm_state_pol_flow_match()
1467 rc = hp->hook.xfrm_state_pol_flow_match(x, xp, fl); security_xfrm_state_pol_flow_match()
1449 security_xfrm_state_pol_flow_match(struct xfrm_state *x, struct xfrm_policy *xp, const struct flowi *fl) security_xfrm_state_pol_flow_match() argument
/linux-4.4.14/include/linux/
H A Dsecurity.h1362 struct xfrm_policy *xp,
1417 struct xfrm_policy *xp, const struct flowi *fl) security_xfrm_state_pol_flow_match()
1416 security_xfrm_state_pol_flow_match(struct xfrm_state *x, struct xfrm_policy *xp, const struct flowi *fl) security_xfrm_state_pol_flow_match() argument
H A Dlsm_hooks.h887 * Allocate a security structure to the xp->security field; the security
899 * Deallocate xp->security.
902 * Authorize deletion of xp->security.
932 * access to the policy xp.
941 * @xp contains the policy to check for a match.
1593 struct xfrm_policy *xp,
/linux-4.4.14/drivers/pci/host/
H A Dpci-mvebu.c1293 { .compatible = "marvell,armada-xp-pcie", },
/linux-4.4.14/scripts/mod/
H A Dfile2alias.c1251 sprintf(alias, "ulpi:v%04xp%04x", vendor, product); do_ulpi_entry()
/linux-4.4.14/sound/pci/
H A Dbt87x.c809 /* Leadtek Winfast tv 2000xp delux */
/linux-4.4.14/arch/m68k/fpsp040/
H A Dres_func.S1431 .long xp
1683 xp: label
/linux-4.4.14/drivers/net/ethernet/marvell/
H A Dmvneta.c3465 { .compatible = "marvell,armada-xp-neta" },

Completed in 2777 milliseconds