Home
last modified time | relevance | path

Searched refs:last_used_slot (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/include/net/sctp/
Dcommand.h191 struct sctp_cmd *last_used_slot; member
202 seq->last_used_slot = seq->cmds + SCTP_MAX_NUM_COMMANDS; in sctp_init_cmd_seq()
203 seq->next_cmd = seq->last_used_slot; in sctp_init_cmd_seq()
216 struct sctp_cmd *cmd = seq->last_used_slot - 1; in sctp_add_cmd_sf()
222 seq->last_used_slot = cmd; in sctp_add_cmd_sf()
230 if (seq->next_cmd <= seq->last_used_slot) in sctp_next_cmd()
/Linux-v6.1/include/linux/
Dkvm_host.h380 struct kvm_memory_slot *last_used_slot; member
674 atomic_long_t last_used_slot; member
1663 slot = (struct kvm_memory_slot *)atomic_long_read(&slots->last_used_slot); in ____gfn_to_memslot()
1670 atomic_long_set(&slots->last_used_slot, (unsigned long)slot); in ____gfn_to_memslot()
/Linux-v6.1/virt/kvm/
Dkvm_main.c486 vcpu->last_used_slot = NULL; in kvm_vcpu_init()
1181 atomic_long_set(&slots->last_used_slot, (unsigned long)NULL); in kvm_create_vm()
1486 if ((long)old == atomic_long_read(&slots->last_used_slot)) in kvm_replace_memslot()
1487 atomic_long_set(&slots->last_used_slot, (long)new); in kvm_replace_memslot()
2333 vcpu->last_used_slot = NULL; in kvm_vcpu_gfn_to_memslot()
2337 slot = try_get_memslot(vcpu->last_used_slot, gfn); in kvm_vcpu_gfn_to_memslot()
2348 vcpu->last_used_slot = slot; in kvm_vcpu_gfn_to_memslot()