Home
last modified time | relevance | path

Searched refs:slot_nr (Results 1 – 13 of 13) sorted by relevance

/linux-4.4.14/drivers/pci/
Dslot.c208 static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr) in get_slot() argument
214 if (slot->number == slot_nr) { in get_slot()
260 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr, in pci_create_slot() argument
271 if (slot_nr == -1) in pci_create_slot()
278 slot = get_slot(parent, slot_nr); in pci_create_slot()
299 slot->number = slot_nr; in pci_create_slot()
319 if (PCI_SLOT(dev->devfn) == slot_nr) in pci_create_slot()
324 slot_nr, pci_slot_name(slot)); in pci_create_slot()
/linux-4.4.14/drivers/scsi/mvsas/
Dmv_init.c116 int slot_nr; in mvs_free() local
122 slot_nr = MVS_SOC_SLOTS; in mvs_free()
124 slot_nr = MVS_CHIP_SLOT_SZ; in mvs_free()
142 sizeof(*mvi->slot) * slot_nr, in mvs_free()
230 int i = 0, slot_nr; in mvs_alloc() local
234 slot_nr = MVS_SOC_SLOTS; in mvs_alloc()
236 slot_nr = MVS_CHIP_SLOT_SZ; in mvs_alloc()
278 sizeof(*mvi->slot) * slot_nr, in mvs_alloc()
282 memset(mvi->slot, 0, sizeof(*mvi->slot) * slot_nr); in mvs_alloc()
302 mvi->tags_num = slot_nr; in mvs_alloc()
/linux-4.4.14/fs/nfs/
Dnfs4trace.h253 __field(unsigned int, slot_nr)
261 __entry->slot_nr = sa_slot->slot_nr;
270 __entry->slot_nr,
308 __field(unsigned int, slot_nr)
319 __entry->slot_nr = sr_slot->slot_nr;
333 __entry->slot_nr,
355 __field(unsigned int, slot_nr)
364 __entry->slot_nr = args->csa_slotid;
377 __entry->slot_nr,
Dnfs4session.c83 u32 slotid = slot->slot_nr; in nfs4_free_slot()
110 slot->slot_nr = slotid; in nfs4_new_slot()
131 if (slot->slot_nr == slotid) in nfs4_find_or_create_slot()
170 !IS_ERR(ret) ? ret->slot_nr : NFS4_NO_SLOT); in nfs4_alloc_slot()
297 if (slot->slot_nr > tbl->max_slotid) in nfs41_wake_and_assign_slot()
Dnfs4session.h22 u32 slot_nr; member
Dnfs4xdr.c1912 slot->seq_nr, slot->slot_nr, in encode_sequence()
1917 *p++ = cpu_to_be32(slot->slot_nr); in encode_sequence()
5817 if (dummy != res->sr_slot->slot_nr) { in decode_sequence()
Dnfs4proc.c714 slot->slot_nr, in nfs41_sequence_done()
816 slot->slot_nr, slot->seq_nr); in nfs41_setup_sequence()
856 res->sr_slot->slot_nr : NFS4_NO_SLOT); in nfs4_setup_sequence()
/linux-4.4.14/drivers/ide/
Dide-cd_ioctl.c41 int ide_cdrom_drive_status(struct cdrom_device_info *cdi, int slot_nr) in ide_cdrom_drive_status() argument
48 if (slot_nr != CDSL_CURRENT) in ide_cdrom_drive_status()
89 unsigned int clearing, int slot_nr) in ide_cdrom_check_events_real() argument
94 if (slot_nr == CDSL_CURRENT) { in ide_cdrom_check_events_real()
Dide-cd.h115 unsigned int clearing, int slot_nr);
/linux-4.4.14/kernel/events/
Duprobes.c1266 int slot_nr; in xol_take_insn_slot() local
1269 slot_nr = find_first_zero_bit(area->bitmap, UINSNS_PER_PAGE); in xol_take_insn_slot()
1270 if (slot_nr < UINSNS_PER_PAGE) { in xol_take_insn_slot()
1271 if (!test_and_set_bit(slot_nr, area->bitmap)) in xol_take_insn_slot()
1274 slot_nr = UINSNS_PER_PAGE; in xol_take_insn_slot()
1278 } while (slot_nr >= UINSNS_PER_PAGE); in xol_take_insn_slot()
1280 slot_addr = area->vaddr + (slot_nr * UPROBE_XOL_SLOT_BYTES); in xol_take_insn_slot()
1331 int slot_nr; in xol_free_insn_slot() local
1334 slot_nr = offset / UPROBE_XOL_SLOT_BYTES; in xol_free_insn_slot()
1335 if (slot_nr >= UINSNS_PER_PAGE) in xol_free_insn_slot()
[all …]
/linux-4.4.14/drivers/block/paride/
Dpcd.c174 static int pcd_drive_status(struct cdrom_device_info *cdi, int slot_nr);
176 unsigned int clearing, int slot_nr);
509 unsigned int clearing, int slot_nr) in pcd_check_events() argument
596 static int pcd_drive_status(struct cdrom_device_info *cdi, int slot_nr) in pcd_drive_status() argument
/linux-4.4.14/include/linux/
Dpci.h816 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr,
/linux-4.4.14/Documentation/cdrom/
Dcdrom-standard.tex369 \subsection{$Int\ drive_status(struct\ cdrom_device_info * cdi, int\ slot_nr)$}
375 $slot_nr$ should be ignored. In \cdromh\ the possibilities are listed: