Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/virt/
Dvmgenid.c71 u8 old_id[VMGENID_SIZE]; in vmgenid_notify() local
73 memcpy(old_id, state->this_id, sizeof(old_id)); in vmgenid_notify()
75 if (!memcmp(old_id, state->this_id, sizeof(old_id))) in vmgenid_notify()
/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Dtrace.h347 TP_PROTO(int old_id, int new_id, char *action, unsigned int reg,
350 TP_ARGS(old_id, new_id, action, reg, old_val, new_val),
353 __field(int, old_id)
362 __entry->old_id = old_id;
371 __entry->old_id, __entry->new_id,
/linux-6.6.21/fs/ocfs2/
Djournal.h69 unsigned long old_id; in ocfs2_inc_trans_id() local
71 old_id = j->j_trans_id++; in ocfs2_inc_trans_id()
75 return old_id; in ocfs2_inc_trans_id()
/linux-6.6.21/net/rxrpc/
Dio_thread.c331 int old_id; in rxrpc_input_packet_on_conn() local
336 old_id = cmpxchg(&conn->service_id, conn->orig_service_id, in rxrpc_input_packet_on_conn()
338 if (old_id != conn->orig_service_id && in rxrpc_input_packet_on_conn()
339 old_id != sp->hdr.serviceId) in rxrpc_input_packet_on_conn()
/linux-6.6.21/include/uapi/linux/
Djffs2.h214 jint16_t old_id; member
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_sched.c3512 u16 old_id; in ice_sched_set_node_bw_dflt() local
3534 old_id = ice_sched_get_node_rl_prof_id(node, rl_type); in ice_sched_set_node_bw_dflt()
3541 if (old_id == ICE_SCHED_DFLT_RL_PROF_ID || in ice_sched_set_node_bw_dflt()
3542 old_id == ICE_SCHED_INVAL_PROF_ID) in ice_sched_set_node_bw_dflt()
3545 return ice_sched_rm_rl_profile(pi, layer_num, profile_type, old_id); in ice_sched_set_node_bw_dflt()
3611 u16 old_id, rl_prof_id; in ice_sched_set_node_bw() local
3621 old_id = ice_sched_get_node_rl_prof_id(node, rl_type); in ice_sched_set_node_bw()
3632 if ((old_id == ICE_SCHED_DFLT_RL_PROF_ID && rl_type != ICE_SHARED_BW) || in ice_sched_set_node_bw()
3633 old_id == ICE_SCHED_INVAL_PROF_ID || old_id == rl_prof_id) in ice_sched_set_node_bw()
3638 ICE_AQC_RL_PROFILE_TYPE_M, old_id); in ice_sched_set_node_bw()
/linux-6.6.21/fs/jffs2/
Dfs.c327 if (f->metadata->size != sizeof(jdev.old_id) && in jffs2_iget()
341 if (f->metadata->size == sizeof(jdev.old_id)) in jffs2_iget()
342 rdev = old_decode_dev(je16_to_cpu(jdev.old_id)); in jffs2_iget()
Dnodelist.h319 jdev->old_id = cpu_to_je16(old_encode_dev(rdev)); in jffs2_encode_dev()
320 return sizeof(jdev->old_id); in jffs2_encode_dev()
/linux-6.6.21/drivers/ps3/
Dps3av.c529 static void ps3av_set_videomode_cont(u32 id, u32 old_id) in ps3av_set_videomode_cont() argument
555 } else if (old_id & PS3AV_MODE_HDCP_OFF) { in ps3av_set_videomode_cont()
/linux-6.6.21/arch/x86/kernel/apic/
Dio_apic.c1467 unsigned char old_id; in setup_ioapic_ids_from_mpc_nocheck() local
1485 old_id = mpc_ioapic_id(ioapic_idx); in setup_ioapic_ids_from_mpc_nocheck()
1523 if (old_id != mpc_ioapic_id(ioapic_idx)) in setup_ioapic_ids_from_mpc_nocheck()
1525 if (mp_irqs[i].dstapic == old_id) in setup_ioapic_ids_from_mpc_nocheck()
/linux-6.6.21/tools/testing/selftests/iommu/
Diommufd.c1280 unsigned int old_id; in TEST_F() local
1287 old_id = self->hwpt_ids[1]; in TEST_F()
1298 self->hwpt_ids[1] = old_id; in TEST_F()
/linux-6.6.21/drivers/md/
Ddm-thin.c3778 dm_thin_id old_id, new_id; in process_set_transaction_id_mesg() local
3785 if (kstrtoull(argv[1], 10, (unsigned long long *)&old_id)) { in process_set_transaction_id_mesg()
3795 r = dm_pool_set_metadata_transaction_id(pool->pmd, old_id, new_id); in process_set_transaction_id_mesg()
/linux-6.6.21/mm/
Dmemcontrol.c3450 unsigned short old_id, new_id; in mem_cgroup_move_swap_account() local
3452 old_id = mem_cgroup_id(from); in mem_cgroup_move_swap_account()
3455 if (swap_cgroup_cmpxchg(entry, old_id, new_id) == old_id) { in mem_cgroup_move_swap_account()
/linux-6.6.21/drivers/ata/
Dlibata-core.c3832 const u16 *old_id = dev->id; in ata_dev_same_device() local
3842 ata_id_c_string(old_id, model[0], ATA_ID_PROD, sizeof(model[0])); in ata_dev_same_device()
3844 ata_id_c_string(old_id, serial[0], ATA_ID_SERNO, sizeof(serial[0])); in ata_dev_same_device()
/linux-6.6.21/kernel/bpf/
Dverifier.c15822 static bool check_ids(u32 old_id, u32 cur_id, struct bpf_idmap *idmap) in check_ids() argument
15828 if (!!old_id != !!cur_id) in check_ids()
15831 if (old_id == 0) /* cur_id == 0 as well */ in check_ids()
15837 map[i].old = old_id; in check_ids()
15841 if (map[i].old == old_id) in check_ids()
15855 static bool check_scalar_ids(u32 old_id, u32 cur_id, struct bpf_idmap *idmap) in check_scalar_ids() argument
15857 old_id = old_id ? old_id : ++idmap->tmp_id_gen; in check_scalar_ids()
15860 return check_ids(old_id, cur_id, idmap); in check_scalar_ids()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c993 u8 old_id, new_id = new_tree->id; in mlxsw_sp_vrs_lpm_tree_replace() local
998 old_id = old_tree->id; in mlxsw_sp_vrs_lpm_tree_replace()
1002 if (!mlxsw_sp_vr_lpm_tree_should_replace(vr, proto, old_id)) in mlxsw_sp_vrs_lpm_tree_replace()