Home
last modified time | relevance | path

Searched refs:old (Results 1201 - 1225 of 3972) sorted by relevance

1...<<41424344454647484950>>...159

/kernel/linux/linux-5.10/fs/afs/
H A Dvolume.c303 struct afs_server_list *new, *old, *discard; in afs_update_volume_status() local
340 old = rcu_dereference_protected(volume->servers, in afs_update_volume_status()
342 if (afs_annotate_server_list(new, old)) { in afs_update_volume_status()
347 discard = old; in afs_update_volume_status()
/kernel/linux/linux-5.10/mm/
H A Dlist_lru.c394 struct list_lru_memcg *old, *new; in memcg_update_list_lru_node() local
398 old = rcu_dereference_protected(nlru->memcg_lrus, in memcg_update_list_lru_node()
409 memcpy(&new->lru, &old->lru, old_size * sizeof(void *)); in memcg_update_list_lru_node()
422 call_rcu(&old->rcu, kvfree_rcu_local); in memcg_update_list_lru_node()
433 /* do not bother shrinking the array back to the old size, because we in memcg_cancel_update_list_lru_node()
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
H A Dplane.c456 struct drm_plane_state *old, *plane_state; in tegra_plane_check_transparency() local
459 old = drm_atomic_get_old_plane_state(state->base.state, &tegra->base); in tegra_plane_check_transparency()
462 if (old->normalized_zpos == state->base.normalized_zpos && in tegra_plane_check_transparency()
463 to_tegra_plane_state(old)->opaque == state->opaque) in tegra_plane_check_transparency()
/kernel/linux/linux-5.10/drivers/power/supply/
H A Drn5t618_power.c81 u16 old, new; in rn5t618_battery_read_doublereg() local
83 old = 0; in rn5t618_battery_read_doublereg()
93 if (new == old) in rn5t618_battery_read_doublereg()
96 old = new; in rn5t618_battery_read_doublereg()
H A Dtosa_battery.c156 int old; in tosa_bat_update() local
161 old = bat->status; in tosa_bat_update()
174 if (old == POWER_SUPPLY_STATUS_CHARGING || in tosa_bat_update()
189 if (old != bat->status) in tosa_bat_update()
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/
H A Dpcie-intel-gw.c79 u32 old; in pcie_update_bits() local
81 old = readl(base + ofs); in pcie_update_bits()
82 val = (old & ~mask) | (val & mask); in pcie_update_bits()
84 if (val != old) in pcie_update_bits()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c395 struct bpf_prog *old; in bnxt_xdp_set() local
422 old = xchg(&bp->xdp_prog, prog); in bnxt_xdp_set()
423 if (old) in bnxt_xdp_set()
424 bpf_prog_put(old); in bnxt_xdp_set()
/kernel/linux/linux-6.6/fs/gfs2/
H A Dutil.c327 unsigned long old = READ_ONCE(sdp->sd_flags), new; in gfs2_withdraw() local
330 if (old & BIT(SDF_WITHDRAWN)) { in gfs2_withdraw()
336 new = old | BIT(SDF_WITHDRAWN) | BIT(SDF_WITHDRAW_IN_PROG); in gfs2_withdraw()
337 } while (unlikely(!try_cmpxchg(&sdp->sd_flags, &old, new))); in gfs2_withdraw()
/kernel/linux/linux-6.6/fs/afs/
H A Dvolume.c338 struct afs_server_list *new, *old, *discard; in afs_update_volume_status() local
375 old = rcu_dereference_protected(volume->servers, in afs_update_volume_status()
377 if (afs_annotate_server_list(new, old)) { in afs_update_volume_status()
382 discard = old; in afs_update_volume_status()
/kernel/linux/linux-6.6/include/linux/
H A Dnodemask.h59 * int node_remap(oldbit, old, new) newbit = map(old, new)(oldbit)
60 * void nodes_remap(dst, src, old, new) *dst = map(old, new)(src)
353 #define node_remap(oldbit, old, new) \
354 __node_remap((oldbit), &(old), &(new), MAX_NUMNODES)
361 #define nodes_remap(dst, src, old, new) \
362 __nodes_remap(&(dst), &(src), &(old), &(new), MAX_NUMNODES)
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Daltera_uart.c178 const struct ktermios *old) in altera_uart_set_termios()
183 baud = uart_get_baud_rate(port, termios, old, 0, 4000000); in altera_uart_set_termios()
186 if (old) in altera_uart_set_termios()
187 tty_termios_copy_hw(termios, old); in altera_uart_set_termios()
176 altera_uart_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) altera_uart_set_termios() argument
H A Darc_uart.c350 const struct ktermios *old) in arc_serial_set_termios()
363 baud = uart_get_baud_rate(port, new, old, 0, 460800); in arc_serial_set_termios()
385 if (old) in arc_serial_set_termios()
386 tty_termios_copy_hw(new, old); in arc_serial_set_termios()
349 arc_serial_set_termios(struct uart_port *port, struct ktermios *new, const struct ktermios *old) arc_serial_set_termios() argument
H A Dtimbuart.c278 const struct ktermios *old) in timbuart_set_termios()
284 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16); in timbuart_set_termios()
292 /* The serial layer calls into this once with old = NULL when setting in timbuart_set_termios()
294 if (old) in timbuart_set_termios()
295 tty_termios_copy_hw(termios, old); in timbuart_set_termios()
276 timbuart_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) timbuart_set_termios() argument
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_inline.h467 int c, old, dec; in qla_atomic_dtz() local
475 old = atomic_cmpxchg((v), c, dec); in qla_atomic_dtz()
476 if (likely(old == c)) in qla_atomic_dtz()
478 c = old; in qla_atomic_dtz()
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dcollie_battery.c154 int old; in collie_bat_update() local
159 old = bat->status; in collie_bat_update()
172 if (old == POWER_SUPPLY_STATUS_CHARGING || in collie_bat_update()
187 if (old != bat->status) in collie_bat_update()
/kernel/linux/linux-6.6/drivers/thermal/
H A Drcar_thermal.c200 int old, new, ctemp = -EINVAL; in rcar_thermal_update_temp() local
211 old = ~0; in rcar_thermal_update_temp()
221 if (new == old) { in rcar_thermal_update_temp()
225 old = new; in rcar_thermal_update_temp()
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A Dbts.c188 unsigned long index = ds->bts_index - ds->bts_buffer_base, old, head; in bts_update() local
194 old = local_xchg(&buf->head, head); in bts_update()
197 if (old == head) in bts_update()
205 * old and head are always in the same physical buffer, so we in bts_update()
208 local_add(head - old, &buf->data_size); in bts_update()
/kernel/linux/linux-6.6/drivers/nfc/s3fwrn5/
H A Dfirmware.c397 struct s3fwrn5_fw_version *old = (void *) &version; in s3fwrn5_fw_check_version() local
399 if (new->major > old->major) in s3fwrn5_fw_check_version()
401 if (new->build1 > old->build1) in s3fwrn5_fw_check_version()
403 if (new->build2 > old->build2) in s3fwrn5_fw_check_version()
/kernel/linux/linux-6.6/drivers/pci/controller/dwc/
H A Dpcie-intel-gw.c75 u32 old; in pcie_update_bits() local
77 old = readl(base + ofs); in pcie_update_bits()
78 val = (old & ~mask) | (val & mask); in pcie_update_bits()
80 if (val != old) in pcie_update_bits()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dina209.c158 static int ina209_to_reg(u8 reg, u16 old, long val) in ina209_to_reg() argument
177 | (old & 0x7); in ina209_to_reg()
187 return (clamp_val(-val, 0, 255) << 8) | (old & 0xff); in ina209_to_reg()
196 return (clamp_val(val, 0, 255) << 8) | (old & 0xff); in ina209_to_reg()
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
H A Dplane.c620 struct drm_plane_state *old, *plane_state; in tegra_plane_check_transparency() local
623 old = drm_atomic_get_old_plane_state(state->base.state, &tegra->base); in tegra_plane_check_transparency()
626 if (old->normalized_zpos == state->base.normalized_zpos && in tegra_plane_check_transparency()
627 to_tegra_plane_state(old)->opaque == state->opaque) in tegra_plane_check_transparency()
/kernel/linux/linux-6.6/drivers/input/joystick/iforce/
H A Diforce-main.c107 static int iforce_upload_effect(struct input_dev *dev, struct ff_effect *effect, struct ff_effect *old) in iforce_upload_effect() argument
124 ret = iforce_upload_periodic(iforce, effect, old); in iforce_upload_effect()
128 ret = iforce_upload_constant(iforce, effect, old); in iforce_upload_effect()
133 ret = iforce_upload_condition(iforce, effect, old); in iforce_upload_effect()
/kernel/linux/linux-6.6/tools/perf/arch/arm64/util/
H A Darm-spe.c394 u64 *head, u64 *old) in arm_spe_find_snapshot()
413 * amount of data between *head and *old is snapshot'ed to avoid in arm_spe_find_snapshot()
423 pr_debug3("%s: mmap index %d old head %zu new head %zu size %zu\n", in arm_spe_find_snapshot()
424 __func__, idx, (size_t)*old, (size_t)*head, mm->len); in arm_spe_find_snapshot()
427 * No wrap has occurred, we can just use *head and *old. in arm_spe_find_snapshot()
433 * *head has wrapped around - adjust *head and *old to pickup the in arm_spe_find_snapshot()
437 *old = *head - mm->len; in arm_spe_find_snapshot()
440 *old = *head - mm->len; in arm_spe_find_snapshot()
392 arm_spe_find_snapshot(struct auxtrace_record *itr, int idx, struct auxtrace_mmap *mm, unsigned char *data, u64 *head, u64 *old) arm_spe_find_snapshot() argument
/kernel/linux/linux-6.6/net/sched/
H A Dsch_choke.c342 struct sk_buff **old = NULL; in choke_change() local
378 old = q->tab; in choke_change()
379 if (old) { in choke_change()
421 choke_free(old); in choke_change()
/kernel/linux/linux-6.6/net/openvswitch/
H A Dvport.c404 struct vport_portids *old, *vport_portids; in ovs_vport_set_upcall_portids() local
409 old = ovsl_dereference(vport->upcall_portids); in ovs_vport_set_upcall_portids()
422 if (old) in ovs_vport_set_upcall_portids()
423 kfree_rcu(old, rcu); in ovs_vport_set_upcall_portids()

Completed in 23 milliseconds

1...<<41424344454647484950>>...159