Home
last modified time | relevance | path

Searched refs:oldp (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/kernel/include/linux/
H A Drefcount.h150 static inline __must_check bool __refcount_add_not_zero(int i, refcount_t *r, int *oldp) in __refcount_add_not_zero() argument
159 if (oldp) in __refcount_add_not_zero()
160 *oldp = old; in __refcount_add_not_zero()
191 static inline void __refcount_add(int i, refcount_t *r, int *oldp) in __refcount_add() argument
195 if (oldp) in __refcount_add()
196 *oldp = old; in __refcount_add()
225 static inline __must_check bool __refcount_inc_not_zero(refcount_t *r, int *oldp) in __refcount_inc_not_zero() argument
227 return __refcount_add_not_zero(1, r, oldp); in __refcount_inc_not_zero()
248 static inline void __refcount_inc(refcount_t *r, int *oldp) in __refcount_inc() argument
250 __refcount_add(1, r, oldp); in __refcount_inc()
[all …]
H A Dnodemask.h348 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __node_remap() argument
350 return bitmap_bitremap(oldbit, oldp->bits, newp->bits, nbits); in __node_remap()
356 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __nodes_remap() argument
358 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits); in __nodes_remap()
/OK3568_Linux_fs/kernel/arch/xtensa/mm/
H A Dinit.c173 char *oldp; in parse_memmap_one() local
179 oldp = p; in parse_memmap_one()
181 if (p == oldp) in parse_memmap_one()
/OK3568_Linux_fs/u-boot/common/
H A Ddlmalloc.c1654 mchunkptr oldp; /* chunk corresponding to oldmem */ local
1692 newp = oldp = mem2chunk(oldmem);
1693 newsize = oldsize = chunksize(oldp);
1699 if (chunk_is_mmapped(oldp))
1702 newp = mremap_chunk(oldp, nb);
1712 munmap_chunk(oldp);
1717 check_inuse_chunk(oldp);
1724 next = chunk_at_offset(oldp, oldsize);
1735 top = chunk_at_offset(oldp, nb);
1737 set_head_size(oldp, nb);
[all …]
H A Ddlmalloc.src2502 mchunkptr oldp; /* chunk corresponding to oldmem */
2509 mchunkptr next; /* next contiguous chunk after oldp */
2512 mchunkptr prev; /* previous contiguous chunk before oldp */
2530 newp = oldp = mem2chunk(oldmem);
2531 newsize = oldsize = chunksize(oldp);
2537 if (chunk_is_mmapped(oldp))
2540 newp = mremap_chunk(oldp, nb);
2549 munmap_chunk(oldp);
2554 check_inuse_chunk(oldp);
2561 next = chunk_at_offset(oldp, oldsize);
[all …]
/OK3568_Linux_fs/kernel/security/selinux/ss/
H A Dmls.c447 int mls_convert_context(struct policydb *oldp, in mls_convert_context() argument
457 if (!oldp->mls_enabled || !newp->mls_enabled) in mls_convert_context()
461 char *name = sym_name(oldp, SYM_LEVELS, in mls_convert_context()
475 sym_name(oldp, SYM_CATS, i)); in mls_convert_context()
H A Dmls.h50 int mls_convert_context(struct policydb *oldp,
H A Dservices.c73 struct policydb *oldp; member
2068 sym_name(args->oldp, in convert_context()
2077 sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); in convert_context()
2085 sym_name(args->oldp, in convert_context()
2092 if (args->oldp->mls_enabled && args->newp->mls_enabled) { in convert_context()
2093 rc = mls_convert_context(args->oldp, args->newp, oldc, newc); in convert_context()
2096 } else if (!args->oldp->mls_enabled && args->newp->mls_enabled) { in convert_context()
2121 args->oldp, in convert_context()
2130 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in convert_context()
2344 convert_data->args.oldp = &oldpolicy->policydb; in security_load_policy()
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dsetup.c368 char *oldp; in early_parse_memmap() local
379 oldp = p; in early_parse_memmap()
381 if (p == oldp) in early_parse_memmap()
/OK3568_Linux_fs/kernel/net/sched/
H A Dcls_tcindex.c336 struct tcindex_data *cp = NULL, *oldp; in tcindex_set_parms() local
489 oldp = p; in tcindex_set_parms()
513 if (oldp) in tcindex_set_parms()
514 tcf_queue_work(&oldp->rwork, tcindex_partial_destroy_work); in tcindex_set_parms()
/OK3568_Linux_fs/kernel/arch/x86/boot/compressed/
H A Dkaslr.c134 char *oldp; in parse_memmap() local
143 oldp = p; in parse_memmap()
145 if (p == oldp) in parse_memmap()
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dproton-pack.c39 static void update_mitigation_state(enum mitigation_state *oldp, in update_mitigation_state() argument
45 state = READ_ONCE(*oldp); in update_mitigation_state()
52 } while (cmpxchg_relaxed(oldp, state, new) != state); in update_mitigation_state()
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A De820.c920 char *oldp; in parse_memmap_one() local
932 oldp = p; in parse_memmap_one()
934 if (p == oldp) in parse_memmap_one()
/OK3568_Linux_fs/kernel/drivers/net/arcnet/
H A Darcnet.c1160 *oldp = arc_proto_map[lp->default_proto[rxdata.pkt.hard.source]], in arcnet_rx() local
1163 if (oldp != newp) { in arcnet_rx()
1167 newp->suffix, oldp->suffix); in arcnet_rx()
/OK3568_Linux_fs/yocto/poky/bitbake/lib/ply/
H A Dyacc.py2439 oldp = Productions[-r]
2441 if oldp.line > pp.line:
2444 chosenp,rejectp = pp,oldp
2446 Productions[oldp.number].reduced -= 1
2448 chosenp,rejectp = oldp,pp
/OK3568_Linux_fs/recovery/
HDrootfs.cpio.gz107070100A8AEB0000041ED0000000000000000000000116841B48100000000000000FD0000000200000000000000000000000200000000.�07070100A8B07C000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000900000000.gitkeep��07070100A8B07D000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000B00000000.skip_fsck����07070100A8AEB10000A1FF0000000000000000000000016841B0B600000007000000FD0000000200000000000000000000000400000000bin���usr/bin�07070100A8B07E000081A400000000000000000000000168412635000001CC000000FD0000000200000000000000000000001100000000busybox. ...