/kernel/linux/linux-6.6/include/linux/ |
H A D | security.h | 150 extern int cap_capset(struct cred *new, const struct cred *old, 167 extern int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags); 279 int security_capset(struct cred *new, const struct cred *old, 329 const struct cred *old, 411 int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp); 412 void security_transfer_creds(struct cred *new, const struct cred *old); 425 int security_task_fix_setuid(struct cred *new, const struct cred *old, 427 int security_task_fix_setgid(struct cred *new, const struct cred *old, 429 int security_task_fix_setgroups(struct cred *new, const struct cred *old); 569 const struct cred *old, in security_capset() 568 security_capset(struct cred *new, const struct cred *old, const kernel_cap_t *effective, const kernel_cap_t *inheritable, const kernel_cap_t *permitted) security_capset() argument 762 security_dentry_create_files_as(struct dentry *dentry, int mode, struct qstr *name, const struct cred *old, struct cred *new) security_dentry_create_files_as() argument 1072 security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp) security_prepare_creds() argument 1079 security_transfer_creds(struct cred *new, const struct cred *old) security_transfer_creds() argument 1131 security_task_fix_setuid(struct cred *new, const struct cred *old, int flags) security_task_fix_setuid() argument 1138 security_task_fix_setgid(struct cred *new, const struct cred *old, int flags) security_task_fix_setgid() argument 1145 security_task_fix_setgroups(struct cred *new, const struct cred *old) security_task_fix_setgroups() argument 1774 security_xfrm_policy_clone(struct xfrm_sec_ctx *old, struct xfrm_sec_ctx **new_ctxp) security_xfrm_policy_clone() argument [all...] |
/kernel/linux/linux-6.6/kernel/futex/ |
H A D | core.c | 174 u64 old; in get_inode_sequence_number() local 177 old = atomic64_read(&inode->i_sequence); in get_inode_sequence_number() 178 if (likely(old)) in get_inode_sequence_number() 179 return old; in get_inode_sequence_number() 186 old = atomic64_cmpxchg_relaxed(&inode->i_sequence, 0, new); in get_inode_sequence_number() 187 if (old) in get_inode_sequence_number() 188 return old; in get_inode_sequence_number()
|
/kernel/linux/linux-6.6/mm/ |
H A D | swap_state.c | 93 void *old; in add_to_swap_cache() local 112 old = xas_load(&xas); in add_to_swap_cache() 113 if (xa_is_value(old)) { in add_to_swap_cache() 115 *shadowp = old; in add_to_swap_cache() 250 void *old; in clear_shadow_from_swap_cache() local 260 xas_for_each(&xas, old, end) { in clear_shadow_from_swap_cache() 261 if (!xa_is_value(old)) in clear_shadow_from_swap_cache()
|
/third_party/python/Objects/clinic/ |
H A D | bytesobject.c.h | 457 "replace($self, old, new, count=-1, /)\n" 460 "Return a copy with all occurrences of substring old replaced by new.\n" 473 bytes_replace_impl(PyBytesObject *self, Py_buffer *old, Py_buffer *new, 480 Py_buffer old = {NULL, NULL}; in bytes_replace() local 487 if (PyObject_GetBuffer(args[0], &old, PyBUF_SIMPLE) != 0) { in bytes_replace() 490 if (!PyBuffer_IsContiguous(&old, 'C')) { in bytes_replace() 517 return_value = bytes_replace_impl(self, &old, &new, count); in bytes_replace() 520 /* Cleanup for old */ in bytes_replace() 521 if (old.obj) { in bytes_replace() 522 PyBuffer_Release(&old); in bytes_replace() [all...] |
/kernel/linux/linux-5.10/drivers/nvme/host/ |
H A D | multipath.c | 212 int node, struct nvme_ns *old) in nvme_round_robin_path() 217 if (nvme_path_is_disabled(old)) in nvme_round_robin_path() 219 return old; in nvme_round_robin_path() 222 for (ns = nvme_next_ns(head, old); in nvme_round_robin_path() 223 ns && ns != old; in nvme_round_robin_path() 242 if (!nvme_path_is_disabled(old) && in nvme_round_robin_path() 243 (old->ana_state == NVME_ANA_OPTIMIZED || in nvme_round_robin_path() 244 (!found && old->ana_state == NVME_ANA_NONOPTIMIZED))) in nvme_round_robin_path() 245 return old; in nvme_round_robin_path() 211 nvme_round_robin_path(struct nvme_ns_head *head, int node, struct nvme_ns *old) nvme_round_robin_path() argument
|
/kernel/linux/linux-5.10/drivers/net/xen-netback/ |
H A D | interface.c | 92 int old; in xenvif_tx_interrupt() local 94 old = atomic_fetch_or(NETBK_TX_EOI, &queue->eoi_pending); in xenvif_tx_interrupt() 95 WARN(old & NETBK_TX_EOI, "Interrupt while EOI pending\n"); in xenvif_tx_interrupt() 147 int old; in xenvif_rx_interrupt() local 149 old = atomic_fetch_or(NETBK_RX_EOI, &queue->eoi_pending); in xenvif_rx_interrupt() 150 WARN(old & NETBK_RX_EOI, "Interrupt while EOI pending\n"); in xenvif_rx_interrupt() 163 int old; in xenvif_interrupt() local 166 old = atomic_fetch_or(NETBK_COMMON_EOI, &queue->eoi_pending); in xenvif_interrupt() 167 WARN(old, "Interrupt while EOI pending\n"); in xenvif_interrupt()
|
/kernel/linux/linux-6.6/drivers/nvme/host/ |
H A D | multipath.c | 290 int node, struct nvme_ns *old) in nvme_round_robin_path() 295 if (nvme_path_is_disabled(old)) in nvme_round_robin_path() 297 return old; in nvme_round_robin_path() 300 for (ns = nvme_next_ns(head, old); in nvme_round_robin_path() 301 ns && ns != old; in nvme_round_robin_path() 320 if (!nvme_path_is_disabled(old) && in nvme_round_robin_path() 321 (old->ana_state == NVME_ANA_OPTIMIZED || in nvme_round_robin_path() 322 (!found && old->ana_state == NVME_ANA_NONOPTIMIZED))) in nvme_round_robin_path() 323 return old; in nvme_round_robin_path() 289 nvme_round_robin_path(struct nvme_ns_head *head, int node, struct nvme_ns *old) nvme_round_robin_path() argument
|
/kernel/linux/linux-6.6/drivers/net/xen-netback/ |
H A D | interface.c | 90 int old; in xenvif_tx_interrupt() local 92 old = atomic_fetch_or(NETBK_TX_EOI, &queue->eoi_pending); in xenvif_tx_interrupt() 93 WARN(old & NETBK_TX_EOI, "Interrupt while EOI pending\n"); in xenvif_tx_interrupt() 145 int old; in xenvif_rx_interrupt() local 147 old = atomic_fetch_or(NETBK_RX_EOI, &queue->eoi_pending); in xenvif_rx_interrupt() 148 WARN(old & NETBK_RX_EOI, "Interrupt while EOI pending\n"); in xenvif_rx_interrupt() 161 int old; in xenvif_interrupt() local 164 old = atomic_fetch_or(NETBK_COMMON_EOI, &queue->eoi_pending); in xenvif_interrupt() 165 WARN(old, "Interrupt while EOI pending\n"); in xenvif_interrupt()
|
/third_party/icu/icu4c/source/common/ |
H A D | uhash.cpp | 399 UHashElement *old = hash->elements; in _uhash_rehash() local 419 hash->elements = old; in _uhash_rehash() 425 if (!IS_EMPTY_OR_DELETED(old[i].hashcode)) { in _uhash_rehash() 426 UHashElement *e = _uhash_find(hash, old[i].key, old[i].hashcode); in _uhash_rehash() 429 e->key = old[i].key; in _uhash_rehash() 430 e->value = old[i].value; in _uhash_rehash() 431 e->hashcode = old[i].hashcode; in _uhash_rehash() 436 uprv_free(old); in _uhash_rehash() 521 * old ke in _uhash_put() [all...] |
/third_party/littlefs/scripts/ |
H A D | code.py | 75 old = other.x if other else 0 76 diff = new - old 86 old = other.x if other else 0 87 if m.isinf(new) and m.isinf(old): 91 elif m.isinf(old): 93 elif not old and not new: 95 elif not old: 98 return (new-old) / old
|
H A D | data.py | 75 old = other.x if other else 0 76 diff = new - old 86 old = other.x if other else 0 87 if m.isinf(new) and m.isinf(old): 91 elif m.isinf(old): 93 elif not old and not new: 95 elif not old: 98 return (new-old) / old
|
H A D | stack.py | 66 old = other.x if other else 0 67 diff = new - old 77 old = other.x if other else 0 78 if m.isinf(new) and m.isinf(old): 82 elif m.isinf(old): 84 elif not old and not new: 86 elif not old: 89 return (new-old) / old
|
/third_party/node/deps/icu-small/source/common/ |
H A D | uhash.cpp | 399 UHashElement *old = hash->elements; in _uhash_rehash() local 419 hash->elements = old; in _uhash_rehash() 425 if (!IS_EMPTY_OR_DELETED(old[i].hashcode)) { in _uhash_rehash() 426 UHashElement *e = _uhash_find(hash, old[i].key, old[i].hashcode); in _uhash_rehash() 429 e->key = old[i].key; in _uhash_rehash() 430 e->value = old[i].value; in _uhash_rehash() 431 e->hashcode = old[i].hashcode; in _uhash_rehash() 436 uprv_free(old); in _uhash_rehash() 521 * old ke in _uhash_put() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | uhash.cpp | 399 UHashElement *old = hash->elements; in _uhash_rehash() local 419 hash->elements = old; in _uhash_rehash() 425 if (!IS_EMPTY_OR_DELETED(old[i].hashcode)) { in _uhash_rehash() 426 UHashElement *e = _uhash_find(hash, old[i].key, old[i].hashcode); in _uhash_rehash() 429 e->key = old[i].key; in _uhash_rehash() 430 e->value = old[i].value; in _uhash_rehash() 431 e->hashcode = old[i].hashcode; in _uhash_rehash() 436 uprv_free(old); in _uhash_rehash() 521 * old ke in _uhash_put() [all...] |
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
H A D | uaccess.h | 397 #define __cmpxchg_user(ptr, old, new, err, size, lrb, scb) \ 400 __typeof__(*(ptr)) __old = (old); \ 411 " bne %[ret], %z[old], 1f\n" \ 429 : [old] "rJ" (__old), \ 437 " bne %[ret], %z[old], 1f\n" \ 455 : [old] "rJ" (__old), \
|
/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/ |
H A D | setup.c | 181 if (!kvm_pte_valid(ctx->old)) in fix_host_ownership_walker() 187 phys = kvm_pte_to_phys(ctx->old); in fix_host_ownership_walker() 195 state = pkvm_getstate(kvm_pgtable_hyp_pte_prot(ctx->old)); in fix_host_ownership_walker() 220 if (kvm_pte_valid(ctx->old)) in fix_hyp_pgtable_refcnt_walker()
|
/kernel/linux/linux-5.10/drivers/ide/ |
H A D | ns87415.c | 127 unsigned int bit, other, new, *old = (unsigned int *) hwif->select_data; in ns87415_prepare_drive() local 131 new = *old; in ns87415_prepare_drive() 146 if (new != *old) { in ns87415_prepare_drive() 159 *old = new; in ns87415_prepare_drive()
|
/kernel/linux/linux-5.10/net/openvswitch/ |
H A D | vport.c | 338 struct vport_portids *old, *vport_portids; in ovs_vport_set_upcall_portids() local 343 old = ovsl_dereference(vport->upcall_portids); in ovs_vport_set_upcall_portids() 356 if (old) in ovs_vport_set_upcall_portids() 357 kfree_rcu(old, rcu); in ovs_vport_set_upcall_portids()
|
/kernel/linux/linux-5.10/fs/afs/ |
H A D | vl_list.c | 232 /* See if we can update an old server record */ in afs_extract_vlserver_list() 280 struct afs_addr_list *old = addrs; in afs_extract_vlserver_list() local 283 old = rcu_replace_pointer(server->addresses, old, in afs_extract_vlserver_list() 286 afs_put_addrlist(old); in afs_extract_vlserver_list()
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | smsc37b787_wdt.c | 215 unsigned char old; in wb_smsc_wdt_initialize() local 234 /* read old (timer units) register */ in wb_smsc_wdt_initialize() 235 old = read_io_cr(0xF1) & 0x7F; in wb_smsc_wdt_initialize() 237 old |= 0x80; /* set to seconds */ in wb_smsc_wdt_initialize() 240 wdt_timer_units(old); in wb_smsc_wdt_initialize()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | audit.h | 245 extern struct audit_entry *audit_dupe_rule(struct audit_krule *old); 276 extern int audit_dupe_exe(struct audit_krule *new, struct audit_krule *old); 288 extern int audit_tag_tree(char *old, char *new); 320 #define audit_tag_tree(old, new) -EINVAL
|
/kernel/linux/linux-5.10/net/caif/ |
H A D | cfmuxl.c | 89 struct cflayer *old; in cfmuxl_set_uplayer() local 93 /* Two entries with same id is wrong, so remove old layer from mux */ in cfmuxl_set_uplayer() 94 old = get_from_id(&muxl->srvl_list, linkid); in cfmuxl_set_uplayer() 95 if (old != NULL) in cfmuxl_set_uplayer() 96 list_del_rcu(&old->node); in cfmuxl_set_uplayer()
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | collie_battery.c | 152 int old; in collie_bat_update() local 157 old = bat->status; in collie_bat_update() 170 if (old == POWER_SUPPLY_STATUS_CHARGING || in collie_bat_update() 185 if (old != bat->status) in collie_bat_update()
|
/kernel/linux/linux-5.10/drivers/parport/ |
H A D | parport_ax88796.c | 148 unsigned char old = parport_ax88796_read_control(p); in parport_ax88796_frob_control() local 150 dev_dbg(dd->dev, "frob: mask=%02x, val=%02x, old=%02x\n", in parport_ax88796_frob_control() 151 mask, val, old); in parport_ax88796_frob_control() 153 parport_ax88796_write_control(p, (old & ~mask) | val); in parport_ax88796_frob_control() 154 return old; in parport_ax88796_frob_control()
|
H A D | parport_mfc3.c | 138 unsigned char old; in mfc3_frob_control() local 141 old = mfc3_read_control(p); in mfc3_frob_control() 142 mfc3_write_control(p, (old & ~mask) ^ val); in mfc3_frob_control() 143 return old; in mfc3_frob_control()
|