Home
last modified time | relevance | path

Searched refs:slot_nr (Results 1 - 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/pci/
H A Dslot.c173 static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr) in get_slot() argument
179 if (slot->number == slot_nr) { in get_slot()
190 * @slot_nr: PCI_SLOT(pci_dev->devfn) or -1 for placeholder
199 * Slots are uniquely identified by a @pci_bus, @slot_nr tuple.
212 * In most cases, @pci_bus, @slot_nr will be sufficient to uniquely identify
214 * @slot_nr cannot be determined until a device is actually inserted into
215 * the slot. In this scenario, the caller may pass -1 for @slot_nr.
217 * The following semantics are imposed when the caller passes @slot_nr ==
219 * may be many slots with @slot_nr of -1. The other change in semantics is
225 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr, in pci_create_slot() argument
[all...]
/kernel/linux/linux-6.6/drivers/pci/
H A Dslot.c174 static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr) in get_slot() argument
180 if (slot->number == slot_nr) { in get_slot()
191 * @slot_nr: PCI_SLOT(pci_dev->devfn) or -1 for placeholder
200 * Slots are uniquely identified by a @pci_bus, @slot_nr tuple.
213 * In most cases, @pci_bus, @slot_nr will be sufficient to uniquely identify
215 * @slot_nr cannot be determined until a device is actually inserted into
216 * the slot. In this scenario, the caller may pass -1 for @slot_nr.
218 * The following semantics are imposed when the caller passes @slot_nr ==
220 * may be many slots with @slot_nr of -1. The other change in semantics is
226 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr, in pci_create_slot() argument
[all...]
/kernel/linux/linux-5.10/fs/nfs/
H A Dnfs4session.c85 u32 slotid = slot->slot_nr; in nfs4_free_slot()
112 slot->slot_nr = slotid; in nfs4_new_slot()
135 if (slot->slot_nr == slotid) in nfs4_find_or_create_slot()
145 u32 slotid = slot->slot_nr; in nfs4_lock_slot()
161 if (nfs4_test_locked_slot(tbl, slot->slot_nr)) in nfs4_try_to_lock_slot()
258 !IS_ERR(ret) ? ret->slot_nr : NFS4_NO_SLOT); in nfs4_alloc_slot()
386 if (slot->slot_nr > tbl->max_slotid) in nfs41_wake_and_assign_slot()
H A Dnfs4trace.h424 __field(unsigned int, slot_nr)
435 __entry->slot_nr = sr_slot->slot_nr;
445 "error=%ld (%s) session=0x%08x slot_nr=%u seq_nr=%u "
451 __entry->slot_nr,
473 __field(unsigned int, slot_nr)
482 __entry->slot_nr = args->csa_slotid;
490 "error=%ld (%s) session=0x%08x slot_nr=%u seq_nr=%u "
495 __entry->slot_nr,
510 __field(unsigned int, slot_nr)
[all...]
H A Dnfs4session.h24 u32 slot_nr; member
H A Dcallback_proc.c409 if (nfs4_test_locked_slot(tbl, slot->slot_nr)) in validate_seqid()
/kernel/linux/linux-6.6/fs/nfs/
H A Dnfs4session.c85 u32 slotid = slot->slot_nr; in nfs4_free_slot()
112 slot->slot_nr = slotid; in nfs4_new_slot()
135 if (slot->slot_nr == slotid) in nfs4_find_or_create_slot()
145 u32 slotid = slot->slot_nr; in nfs4_lock_slot()
161 if (nfs4_test_locked_slot(tbl, slot->slot_nr)) in nfs4_try_to_lock_slot()
258 !IS_ERR(ret) ? ret->slot_nr : NFS4_NO_SLOT); in nfs4_alloc_slot()
386 if (slot->slot_nr > tbl->max_slotid) in nfs41_wake_and_assign_slot()
H A Dnfs4trace.h89 __field(unsigned int, slot_nr)
100 __entry->slot_nr = sr_slot->slot_nr;
110 "error=%ld (%s) session=0x%08x slot_nr=%u seq_nr=%u "
116 __entry->slot_nr,
138 __field(unsigned int, slot_nr)
147 __entry->slot_nr = args->csa_slotid;
155 "error=%ld (%s) session=0x%08x slot_nr=%u seq_nr=%u "
160 __entry->slot_nr,
175 __field(unsigned int, slot_nr)
[all...]
H A Dnfs4session.h25 u32 slot_nr; member
H A Dcallback_proc.c414 if (nfs4_test_locked_slot(tbl, slot->slot_nr)) in validate_seqid()
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
H A Dmv_init.c106 int slot_nr; in mvs_free() local
112 slot_nr = MVS_SOC_SLOTS; in mvs_free()
114 slot_nr = MVS_CHIP_SLOT_SZ; in mvs_free()
131 sizeof(*mvi->slot) * slot_nr, in mvs_free()
220 int i = 0, slot_nr; in mvs_alloc() local
224 slot_nr = MVS_SOC_SLOTS; in mvs_alloc()
226 slot_nr = MVS_CHIP_SLOT_SZ; in mvs_alloc()
264 sizeof(*mvi->slot) * slot_nr, in mvs_alloc()
288 mvi->tags_num = slot_nr; in mvs_alloc()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dsortu102.c28 u8 slot, u8 slot_nr, u16 pbn, u16 aligned) in tu102_sor_dp_vcpi()
34 nvkm_mask(device, 0x616578 + hoff, 0x00003f3f, (slot_nr << 8) | slot); in tu102_sor_dp_vcpi()
27 tu102_sor_dp_vcpi(struct nvkm_ior *sor, int head, u8 slot, u8 slot_nr, u16 pbn, u16 aligned) tu102_sor_dp_vcpi() argument
H A Dsorgf119.c61 u8 slot, u8 slot_nr, u16 pbn, u16 aligned) in gf119_sor_dp_vcpi()
66 nvkm_mask(device, 0x616588 + hoff, 0x00003f3f, (slot_nr << 8) | slot); in gf119_sor_dp_vcpi()
60 gf119_sor_dp_vcpi(struct nvkm_ior *sor, int head, u8 slot, u8 slot_nr, u16 pbn, u16 aligned) gf119_sor_dp_vcpi() argument
H A Dior.h80 u8 slot_nr, u16 pbn, u16 aligned);
/kernel/linux/linux-6.6/drivers/scsi/mvsas/
H A Dmv_init.c103 int slot_nr; in mvs_free() local
109 slot_nr = MVS_SOC_SLOTS; in mvs_free()
111 slot_nr = MVS_CHIP_SLOT_SZ; in mvs_free()
128 sizeof(*mvi->slot) * slot_nr, in mvs_free()
217 int i = 0, slot_nr; in mvs_alloc() local
221 slot_nr = MVS_SOC_SLOTS; in mvs_alloc()
223 slot_nr = MVS_CHIP_SLOT_SZ; in mvs_alloc()
261 sizeof(*mvi->slot) * slot_nr, in mvs_alloc()
/kernel/linux/linux-5.10/drivers/ide/
H A Dide-cd_ioctl.c42 int ide_cdrom_drive_status(struct cdrom_device_info *cdi, int slot_nr) in ide_cdrom_drive_status() argument
49 if (slot_nr != CDSL_CURRENT) in ide_cdrom_drive_status()
91 unsigned int clearing, int slot_nr) in ide_cdrom_check_events_real()
96 if (slot_nr == CDSL_CURRENT) { in ide_cdrom_check_events_real()
90 ide_cdrom_check_events_real(struct cdrom_device_info *cdi, unsigned int clearing, int slot_nr) ide_cdrom_check_events_real() argument
H A Dide-cd.h112 unsigned int clearing, int slot_nr);
/kernel/linux/linux-5.10/kernel/events/
H A Duprobes.c1587 int slot_nr; in xol_take_insn_slot() local
1590 slot_nr = find_first_zero_bit(area->bitmap, UINSNS_PER_PAGE); in xol_take_insn_slot()
1591 if (slot_nr < UINSNS_PER_PAGE) { in xol_take_insn_slot()
1592 if (!test_and_set_bit(slot_nr, area->bitmap)) in xol_take_insn_slot()
1595 slot_nr = UINSNS_PER_PAGE; in xol_take_insn_slot()
1599 } while (slot_nr >= UINSNS_PER_PAGE); in xol_take_insn_slot()
1601 slot_addr = area->vaddr + (slot_nr * UPROBE_XOL_SLOT_BYTES); in xol_take_insn_slot()
1652 int slot_nr; in xol_free_insn_slot() local
1655 slot_nr = offset / UPROBE_XOL_SLOT_BYTES; in xol_free_insn_slot()
1656 if (slot_nr > in xol_free_insn_slot()
[all...]
/kernel/linux/linux-6.6/kernel/events/
H A Duprobes.c1582 int slot_nr; in xol_take_insn_slot() local
1585 slot_nr = find_first_zero_bit(area->bitmap, UINSNS_PER_PAGE); in xol_take_insn_slot()
1586 if (slot_nr < UINSNS_PER_PAGE) { in xol_take_insn_slot()
1587 if (!test_and_set_bit(slot_nr, area->bitmap)) in xol_take_insn_slot()
1590 slot_nr = UINSNS_PER_PAGE; in xol_take_insn_slot()
1594 } while (slot_nr >= UINSNS_PER_PAGE); in xol_take_insn_slot()
1596 slot_addr = area->vaddr + (slot_nr * UPROBE_XOL_SLOT_BYTES); in xol_take_insn_slot()
1647 int slot_nr; in xol_free_insn_slot() local
1650 slot_nr = offset / UPROBE_XOL_SLOT_BYTES; in xol_free_insn_slot()
1651 if (slot_nr > in xol_free_insn_slot()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dtu102.c33 tu102_sor_dp_vcpi(struct nvkm_ior *sor, int head, u8 slot, u8 slot_nr, u16 pbn, u16 aligned) in tu102_sor_dp_vcpi() argument
39 nvkm_mask(device, 0x616578 + hoff, 0x00003f3f, (slot_nr << 8) | slot); in tu102_sor_dp_vcpi()
H A Dior.h81 u8 slot_nr, u16 pbn, u16 aligned);
H A Dgf119.c119 gf119_sor_dp_vcpi(struct nvkm_ior *sor, int head, u8 slot, u8 slot_nr, u16 pbn, u16 aligned) in gf119_sor_dp_vcpi() argument
124 nvkm_mask(device, 0x616588 + hoff, 0x00003f3f, (slot_nr << 8) | slot); in gf119_sor_dp_vcpi()
/kernel/linux/linux-5.10/drivers/block/paride/
H A Dpcd.c174 static int pcd_drive_status(struct cdrom_device_info *cdi, int slot_nr);
176 unsigned int clearing, int slot_nr);
535 unsigned int clearing, int slot_nr) in pcd_check_events()
622 static int pcd_drive_status(struct cdrom_device_info *cdi, int slot_nr) in pcd_drive_status() argument
534 pcd_check_events(struct cdrom_device_info *cdi, unsigned int clearing, int slot_nr) pcd_check_events() argument
/kernel/linux/linux-5.10/drivers/pci/controller/
H A Dpci-hyperv.c1853 int slot_nr; in hv_pci_assign_slots() local
1859 slot_nr = PCI_SLOT(wslot_to_devfn(hpdev->desc.win_slot.slot)); in hv_pci_assign_slots()
1861 hpdev->pci_slot = pci_create_slot(hbus->pci_bus, slot_nr, in hv_pci_assign_slots()
/kernel/linux/linux-6.6/drivers/pci/controller/
H A Dpci-hyperv.c2328 int slot_nr; in hv_pci_assign_slots() local
2334 slot_nr = PCI_SLOT(wslot_to_devfn(hpdev->desc.win_slot.slot)); in hv_pci_assign_slots()
2336 hpdev->pci_slot = pci_create_slot(hbus->bridge->bus, slot_nr, in hv_pci_assign_slots()

Completed in 30 milliseconds

12