| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | cred.c | 218 struct cred *new; in cred_alloc_blank() local 220 new = kmem_cache_zalloc(cred_jar, GFP_KERNEL); in cred_alloc_blank() 221 if (!new) in cred_alloc_blank() 224 atomic_set(&new->usage, 1); in cred_alloc_blank() 226 new->magic = CRED_MAGIC; in cred_alloc_blank() 229 if (security_cred_alloc_blank(new, GFP_KERNEL_ACCOUNT) < 0) in cred_alloc_blank() 232 return new; in cred_alloc_blank() 235 abort_creds(new); in cred_alloc_blank() 240 * prepare_creds - Prepare a new set of credentials for modification 242 * Prepare a new set of task credentials for modification. A task's creds [all …]
|
| /OK3568_Linux_fs/buildroot/package/oracle-mysql/ |
| H A D | 0005-bison_3_breaks_mysql_server_build.patch | 123 We should not introduce new conflicts any more. 218 - Item *item= new (YYTHD->mem_root) Item_func_now_local(); 219 + Item *item= new (thd->mem_root) Item_func_now_local(); 240 $$= new sp_name($1, $3, true); 629 - Item *item= new (YYTHD->mem_root) Item_func_now_local(); 630 + Item *item= new (thd->mem_root) Item_func_now_local(); 638 - $$= new (YYTHD->mem_root) Item_func_now_local(); 639 + $$= new (thd->mem_root) Item_func_now_local(); 700 Item *item= new (thd->mem_root) 715 - $$ = new (YYTHD->mem_root) Item_cond_or($1, $3); [all …]
|
| /OK3568_Linux_fs/kernel/fs/nfsd/ |
| H A D | auth.c | 25 struct cred *new; in nfsd_setuser() local 31 /* discard any old override before preparing the new set */ in nfsd_setuser() 33 new = prepare_creds(); in nfsd_setuser() 34 if (!new) in nfsd_setuser() 37 new->fsuid = rqstp->rq_cred.cr_uid; in nfsd_setuser() 38 new->fsgid = rqstp->rq_cred.cr_gid; in nfsd_setuser() 43 new->fsuid = exp->ex_anon_uid; in nfsd_setuser() 44 new->fsgid = exp->ex_anon_gid; in nfsd_setuser() 49 if (uid_eq(new->fsuid, GLOBAL_ROOT_UID)) in nfsd_setuser() 50 new->fsuid = exp->ex_anon_uid; in nfsd_setuser() [all …]
|
| /OK3568_Linux_fs/kernel/fs/xfs/libxfs/ |
| H A D | xfs_rmap.c | 467 * growing the last AG. This extent is new space and so it is not tracked as 532 * just found as it is new space and won't be used by anyone. This is in xfs_rmap_unmap() 639 * record to the length of the new left-extent size, increment in xfs_rmap_unmap() 640 * the insertion position so we can insert a new record in xfs_rmap_unmap() 745 * When we allocate a new block, the first thing we do is add a reference to 917 * new record at current cursor position. in xfs_rmap_map() 980 #define NEW r[3] macro 997 /* prev is 2, new is 3 */ in xfs_rmap_convert() 1156 * The left and right neighbors are both contiguous with new. in xfs_rmap_convert() 1201 NEW = LEFT; in xfs_rmap_convert() [all …]
|
| /OK3568_Linux_fs/kernel/fs/nfs/blocklayout/ |
| H A D | extent_tree.c | 137 struct pnfs_block_extent *new, bool merge_ok) in __ext_tree_insert() argument 146 if (new->be_f_offset < be->be_f_offset) { in __ext_tree_insert() 147 if (merge_ok && ext_can_merge(new, be)) { in __ext_tree_insert() 148 be->be_f_offset = new->be_f_offset; in __ext_tree_insert() 150 be->be_v_offset = new->be_v_offset; in __ext_tree_insert() 151 be->be_length += new->be_length; in __ext_tree_insert() 156 } else if (new->be_f_offset >= ext_f_end(be)) { in __ext_tree_insert() 157 if (merge_ok && ext_can_merge(be, new)) { in __ext_tree_insert() 158 be->be_length += new->be_length; in __ext_tree_insert() 168 rb_link_node(&new->be_node, parent, p); in __ext_tree_insert() [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/simplediff/ |
| H A D | __init__.py | 17 def diff(old, new): argument 27 new the new list of immutable, comparable values 32 the original old and/or new lists. The first part of the pair 60 # Find the largest substring common to old and new. 63 # We iterate over each value in the `new` list, calling the 66 # of `new[:inew]` (or unset when `old[i]` != `new[inew]`). 68 # At each stage of iteration, the new `overlap` (called 79 # of the same substring in the new list. `sub_length` is the length that 87 for inew, val in enumerate(new): 91 # `old[iold] == new[inew]`. [all …]
|
| /OK3568_Linux_fs/kernel/security/ |
| H A D | commoncap.c | 231 * @new: The proposed new credentials; alterations should be made here 233 * @effective: A pointer to the proposed new effective capabilities set 234 * @inheritable: A pointer to the proposed new inheritable capabilities set 235 * @permitted: A pointer to the proposed new permitted capabilities set 238 * process's capability sets. The changes are made to the proposed new 241 int cap_capset(struct cred *new, in cap_capset() argument 257 /* no new pI capabilities outside bounding set */ in cap_capset() 260 /* verify restrictions on target's new Permitted set */ in cap_capset() 268 new->cap_effective = *effective; in cap_capset() 269 new->cap_inheritable = *inheritable; in cap_capset() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ |
| H A D | mtd_blkdevs.c | 340 int add_mtd_blktrans_dev(struct mtd_blktrans_dev *new) in add_mtd_blktrans_dev() argument 342 struct mtd_blktrans_ops *tr = new->tr; in add_mtd_blktrans_dev() 355 if (new->devnum == -1) { in add_mtd_blktrans_dev() 359 new->devnum = last_devnum+1; in add_mtd_blktrans_dev() 360 list_add_tail(&new->list, &d->list); in add_mtd_blktrans_dev() 363 } else if (d->devnum == new->devnum) { in add_mtd_blktrans_dev() 367 } else if (d->devnum > new->devnum) { in add_mtd_blktrans_dev() 369 list_add_tail(&new->list, &d->list); in add_mtd_blktrans_dev() 376 if (new->devnum == -1) in add_mtd_blktrans_dev() 377 new->devnum = last_devnum+1; in add_mtd_blktrans_dev() [all …]
|
| /OK3568_Linux_fs/kernel/arch/s390/mm/ |
| H A D | pageattr.c | 56 static void pgt_set(unsigned long *old, unsigned long new, unsigned long addr, in pgt_set() argument 75 crdte(*old, new, table, dtt, addr, S390_lowcore.kernel_asce); in pgt_set() 77 cspg(old, *old, new); in pgt_set() 79 csp((unsigned int *)old + 1, *old, new); in pgt_set() 86 pte_t *ptep, new; in walk_pte_level() local 90 new = *ptep; in walk_pte_level() 91 if (pte_none(new)) in walk_pte_level() 94 new = pte_wrprotect(new); in walk_pte_level() 96 new = pte_mkwrite(pte_mkdirty(new)); in walk_pte_level() 98 pte_val(new) |= _PAGE_NOEXEC; in walk_pte_level() [all …]
|
| /OK3568_Linux_fs/kernel/security/keys/ |
| H A D | process_keys.c | 221 int install_thread_keyring_to_cred(struct cred *new) in install_thread_keyring_to_cred() argument 225 if (new->thread_keyring) in install_thread_keyring_to_cred() 228 keyring = keyring_alloc("_tid", new->uid, new->gid, new, in install_thread_keyring_to_cred() 235 new->thread_keyring = keyring; in install_thread_keyring_to_cred() 246 struct cred *new; in install_thread_keyring() local 249 new = prepare_creds(); in install_thread_keyring() 250 if (!new) in install_thread_keyring() 253 ret = install_thread_keyring_to_cred(new); in install_thread_keyring() 255 abort_creds(new); in install_thread_keyring() 259 return commit_creds(new); in install_thread_keyring() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/kvm/hyp/ |
| H A D | exception.c | 65 * and PSTATE into ELR and SPSR respectively, and compute the new PC/PSTATE. 83 unsigned long sctlr, vbar, old, new, mode; in enter_exception64() local 111 new = 0; in enter_exception64() 113 new |= (old & PSR_N_BIT); in enter_exception64() 114 new |= (old & PSR_Z_BIT); in enter_exception64() 115 new |= (old & PSR_C_BIT); in enter_exception64() 116 new |= (old & PSR_V_BIT); in enter_exception64() 120 new |= (old & PSR_DIT_BIT); in enter_exception64() 128 new |= (old & PSR_PAN_BIT); in enter_exception64() 130 new |= PSR_PAN_BIT; in enter_exception64() [all …]
|
| /OK3568_Linux_fs/kernel/security/apparmor/ |
| H A D | task.c | 11 * cred or task context but instead creates a new one. Ideally the task 37 * @label: new label (NOT NULL) 45 struct cred *new; in aa_replace_current_label() local 55 new = prepare_creds(); in aa_replace_current_label() 56 if (!new) in aa_replace_current_label() 79 aa_put_label(cred_label(new)); in aa_replace_current_label() 80 set_cred_label(new, label); in aa_replace_current_label() 82 commit_creds(new); in aa_replace_current_label() 118 struct cred *new; in aa_set_current_hat() local 120 new = prepare_creds(); in aa_set_current_hat() [all …]
|
| H A D | domain.c | 55 * to trace the new domain 453 * The new match isn't more specific in find_attach() 561 struct aa_label *new = NULL; in x_to_label() local 576 new = x_table_lookup(profile, xindex, lookupname); in x_to_label() 584 new = find_attach(bprm, ns, &profile->base.profiles, in x_to_label() 588 new = find_attach(bprm, ns, &ns->base.profiles, in x_to_label() 594 if (!new) { in x_to_label() 601 new = aa_get_newest_label(&profile->label); in x_to_label() 603 new = aa_get_newest_label(ns_unconfined(profile->ns)); in x_to_label() 608 if (new && stack) { in x_to_label() [all …]
|
| H A D | label.c | 62 struct aa_proxy *new; in aa_alloc_proxy() local 64 new = kzalloc(sizeof(struct aa_proxy), gfp); in aa_alloc_proxy() 65 if (new) { in aa_alloc_proxy() 66 kref_init(&new->count); in aa_alloc_proxy() 67 rcu_assign_pointer(new->label, aa_get_label(label)); in aa_alloc_proxy() 69 return new; in aa_alloc_proxy() 73 void __aa_proxy_redirect(struct aa_label *orig, struct aa_label *new) in __aa_proxy_redirect() argument 78 AA_BUG(!new); in __aa_proxy_redirect() 83 rcu_assign_pointer(orig->proxy->label, aa_get_label(new)); in __aa_proxy_redirect() 88 static void __proxy_share(struct aa_label *old, struct aa_label *new) in __proxy_share() argument [all …]
|
| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H A D | ftrace.c | 26 static int ftrace_modify_code(unsigned long ip, u32 old, u32 new) in ftrace_modify_code() argument 32 "1: cas [%[ip]], %[old], %[new]\n" in ftrace_modify_code() 47 : [new] "0" (new), [old] "r" (old), [ip] "r" (ip) in ftrace_modify_code() 50 if (replaced != old && replaced != new) in ftrace_modify_code() 59 u32 old, new; in ftrace_make_nop() local 62 new = ftrace_nop; in ftrace_make_nop() 63 return ftrace_modify_code(ip, old, new); in ftrace_make_nop() 69 u32 old, new; in ftrace_make_call() local 72 new = ftrace_call_replace(ip, addr); in ftrace_make_call() 73 return ftrace_modify_code(ip, old, new); in ftrace_make_call() [all …]
|
| /OK3568_Linux_fs/kernel/scripts/dtc/ |
| H A D | livetree.c | 15 struct label *new; in add_label() local 18 for_each_label_withdel(*labels, new) in add_label() 19 if (streq(new->label, label)) { in add_label() 20 new->deleted = 0; in add_label() 24 new = xmalloc(sizeof(*new)); in add_label() 25 memset(new, 0, sizeof(*new)); in add_label() 26 new->label = label; in add_label() 27 new->next = *labels; in add_label() 28 *labels = new; in add_label() 42 struct property *new = xmalloc(sizeof(*new)); in build_property() local [all …]
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | signalfd.c | 74 struct signalfd_siginfo new; in signalfd_copyinfo() local 81 memset(&new, 0, sizeof(new)); in signalfd_copyinfo() 87 new.ssi_signo = kinfo->si_signo; in signalfd_copyinfo() 88 new.ssi_errno = kinfo->si_errno; in signalfd_copyinfo() 89 new.ssi_code = kinfo->si_code; in signalfd_copyinfo() 92 new.ssi_pid = kinfo->si_pid; in signalfd_copyinfo() 93 new.ssi_uid = kinfo->si_uid; in signalfd_copyinfo() 96 new.ssi_tid = kinfo->si_tid; in signalfd_copyinfo() 97 new.ssi_overrun = kinfo->si_overrun; in signalfd_copyinfo() 98 new.ssi_ptr = (long) kinfo->si_ptr; in signalfd_copyinfo() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/rtc/ |
| H A D | setdate.c | 24 struct rtc_time new, current; in main() local 47 sscanf(date, "%d-%d-%d", &new.tm_mday, &new.tm_mon, &new.tm_year); in main() 48 new.tm_mon -= 1; in main() 49 new.tm_year -= 1900; in main() 50 sscanf(time, "%d:%d:%d", &new.tm_hour, &new.tm_min, &new.tm_sec); in main() 53 new.tm_mday, new.tm_mon + 1, new.tm_year + 1900, in main() 54 new.tm_hour, new.tm_min, new.tm_sec); in main() 56 /* Write the new date in RTC */ in main() 57 retval = ioctl(fd, RTC_SET_TIME, &new); in main()
|
| /OK3568_Linux_fs/kernel/arch/s390/include/asm/ |
| H A D | atomic_ops.h | 67 int old, new; \ 70 "0: lr %[new],%[old]\n" \ 71 op_string " %[new],%[val]\n" \ 72 " cs %[old],%[new],%[ptr]\n" \ 74 : [old] "=d" (old), [new] "=&d" (new), [ptr] "+Q" (*ptr)\ 93 long old, new; \ 96 "0: lgr %[new],%[old]\n" \ 97 op_string " %[new],%[val]\n" \ 98 " csg %[old],%[new],%[ptr]\n" \ 100 : [old] "=d" (old), [new] "=&d" (new), [ptr] "+Q" (*ptr)\ [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/tests/browser/ |
| H A D | test_project_config_page.py | 46 self.enter_text('#new-imagefs_types', imagefs_type) 67 self.enter_text('#new-imagefs_types', imagefs_type) 88 self.wait_until_visible('#new-imagefs_types') 98 element = self.driver.find_element_by_id('new-imagefs_types') 100 self.wait_until_visible('#new-imagefs_types') 121 self.wait_until_visible('#new-dl_dir') 124 self.enter_text('#new-dl_dir', 'home/foo') 132 self.driver.find_element_by_id('new-dl_dir').clear() 133 self.enter_text('#new-dl_dir', '/foo/bar a') 140 self.driver.find_element_by_id('new-dl_dir').clear() [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | ethtool_netlink.h | 46 /* add new constants above here */ 84 /* add new constants above here */ 108 /* add new constants above here */ 121 /* add new constants above here */ 130 /* add new constants above here */ 143 /* add new constants above here */ 155 /* add new constants above here */ 164 /* add new constants above here */ 175 /* add new constants above here */ 184 /* add new constants above here */ [all …]
|
| /OK3568_Linux_fs/u-boot/scripts/dtc/ |
| H A D | livetree.c | 29 struct label *new; in add_label() local 32 for_each_label_withdel(*labels, new) in add_label() 33 if (streq(new->label, label)) { in add_label() 34 new->deleted = 0; in add_label() 38 new = xmalloc(sizeof(*new)); in add_label() 39 memset(new, 0, sizeof(*new)); in add_label() 40 new->label = label; in add_label() 41 new->next = *labels; in add_label() 42 *labels = new; in add_label() 55 struct property *new = xmalloc(sizeof(*new)); in build_property() local [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | cmpxchg.h | 42 u32 __cmpxchg_##type##sfx(volatile void *p, u32 old, u32 new) \ 50 new <<= bitoff; \ 67 : "r" (p), "r" (old), "r" (new), "r" (prev_mask) \ 202 * Compare and exchange - if *p == old, set it to new, 216 __cmpxchg_u32(volatile unsigned int *p, unsigned long old, unsigned long new) in __cmpxchg_u32() argument 231 : "r" (p), "r" (old), "r" (new) in __cmpxchg_u32() 239 unsigned long new) in __cmpxchg_u32_local() argument 252 : "r" (p), "r" (old), "r" (new) in __cmpxchg_u32_local() 259 __cmpxchg_u32_relaxed(u32 *p, unsigned long old, unsigned long new) in __cmpxchg_u32_relaxed() argument 271 : "r" (p), "r" (old), "r" (new) in __cmpxchg_u32_relaxed() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | cmpxchg.h | 82 * store NEW in MEM. Return the initial value in MEM. Success is 85 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument 89 __typeof__(*(ptr)) __new = (new); \ 133 #define __cmpxchg(ptr, old, new, size) \ argument 134 __raw_cmpxchg((ptr), (old), (new), (size), LOCK_PREFIX) 136 #define __sync_cmpxchg(ptr, old, new, size) \ argument 137 __raw_cmpxchg((ptr), (old), (new), (size), "lock; ") 139 #define __cmpxchg_local(ptr, old, new, size) \ argument 140 __raw_cmpxchg((ptr), (old), (new), (size), "") 148 #define arch_cmpxchg(ptr, old, new) \ argument [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/kernel/ |
| H A D | ftrace.c | 78 unsigned long new, bool validate) in ftrace_modify_code() argument 96 __patch_text((void *)pc, new); in ftrace_modify_code() 104 unsigned long new; in ftrace_update_ftrace_func() local 108 new = ftrace_call_replace(pc, (unsigned long)func, true); in ftrace_update_ftrace_func() 110 ret = ftrace_modify_code(pc, 0, new, false); in ftrace_update_ftrace_func() 115 new = ftrace_call_replace(pc, (unsigned long)func, true); in ftrace_update_ftrace_func() 117 ret = ftrace_modify_code(pc, 0, new, false); in ftrace_update_ftrace_func() 126 unsigned long new, old; in ftrace_make_call() local 137 new = ftrace_call_replace(ip, aaddr, !mod); in ftrace_make_call() 139 if (!new && mod) { in ftrace_make_call() [all …]
|