/linux-4.1.27/drivers/pci/ |
H A D | slot.c | 194 static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr) get_slot() argument 201 if (slot->number == slot_nr) { get_slot() 212 * @slot_nr: PCI_SLOT(pci_dev->devfn) or -1 for placeholder 221 * Slots are uniquely identified by a @pci_bus, @slot_nr tuple. 234 * In most cases, @pci_bus, @slot_nr will be sufficient to uniquely identify 236 * @slot_nr cannot be determined until a device is actually inserted into 237 * the slot. In this scenario, the caller may pass -1 for @slot_nr. 239 * The following semantics are imposed when the caller passes @slot_nr == 241 * may be many slots with @slot_nr of -1. The other change in semantics is 247 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr, pci_create_slot() argument 258 if (slot_nr == -1) pci_create_slot() 265 slot = get_slot(parent, slot_nr); pci_create_slot() 286 slot->number = slot_nr; pci_create_slot() 305 if (PCI_SLOT(dev->devfn) == slot_nr) pci_create_slot() 309 slot_nr, pci_slot_name(slot)); pci_create_slot()
|
/linux-4.1.27/fs/nfs/ |
H A D | nfs4trace.h | 253 __field(unsigned int, slot_nr) 261 __entry->slot_nr = sa_slot->slot_nr; 267 "session=0x%08x slot_nr=%u seq_nr=%u " 270 __entry->slot_nr, 308 __field(unsigned int, slot_nr) 319 __entry->slot_nr = sr_slot->slot_nr; 327 "error=%d (%s) session=0x%08x slot_nr=%u seq_nr=%u " 333 __entry->slot_nr, 355 __field(unsigned int, slot_nr) 364 __entry->slot_nr = args->csa_slotid; 372 "error=%d (%s) session=0x%08x slot_nr=%u seq_nr=%u " 377 __entry->slot_nr,
|
H A D | nfs4session.c | 83 u32 slotid = slot->slot_nr; nfs4_free_slot() 110 slot->slot_nr = slotid; nfs4_new_slot() 131 if (slot->slot_nr == slotid) nfs4_find_or_create_slot() 170 !IS_ERR(ret) ? ret->slot_nr : NFS4_NO_SLOT); nfs4_alloc_slot() 297 if (slot->slot_nr > tbl->max_slotid) nfs41_wake_and_assign_slot()
|
H A D | nfs4session.h | 22 u32 slot_nr; member in struct:nfs4_slot
|
H A D | nfs4xdr.c | 1895 slot->seq_nr, slot->slot_nr, encode_sequence() 1900 *p++ = cpu_to_be32(slot->slot_nr); encode_sequence() 5731 if (dummy != res->sr_slot->slot_nr) { decode_sequence()
|
H A D | nfs4proc.c | 645 slot->slot_nr, nfs41_sequence_done() 747 slot->slot_nr, slot->seq_nr); nfs41_setup_sequence() 787 res->sr_slot->slot_nr : NFS4_NO_SLOT); nfs4_setup_sequence()
|
/linux-4.1.27/drivers/scsi/mvsas/ |
H A D | mv_init.c | 118 int slot_nr; mvs_free() local 124 slot_nr = MVS_SOC_SLOTS; mvs_free() 126 slot_nr = MVS_CHIP_SLOT_SZ; mvs_free() 144 sizeof(*mvi->slot) * slot_nr, mvs_free() 232 int i = 0, slot_nr; mvs_alloc() local 236 slot_nr = MVS_SOC_SLOTS; mvs_alloc() 238 slot_nr = MVS_CHIP_SLOT_SZ; mvs_alloc() 280 sizeof(*mvi->slot) * slot_nr, mvs_alloc() 284 memset(mvi->slot, 0, sizeof(*mvi->slot) * slot_nr); mvs_alloc() 304 mvi->tags_num = slot_nr; mvs_alloc()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-cd_ioctl.c | 41 int ide_cdrom_drive_status(struct cdrom_device_info *cdi, int slot_nr) ide_cdrom_drive_status() argument 48 if (slot_nr != CDSL_CURRENT) ide_cdrom_drive_status() 89 unsigned int clearing, int slot_nr) ide_cdrom_check_events_real() 94 if (slot_nr == CDSL_CURRENT) { ide_cdrom_check_events_real() 88 ide_cdrom_check_events_real(struct cdrom_device_info *cdi, unsigned int clearing, int slot_nr) ide_cdrom_check_events_real() argument
|
H A D | ide-cd.h | 115 unsigned int clearing, int slot_nr);
|
/linux-4.1.27/drivers/block/paride/ |
H A D | pcd.c | 174 static int pcd_drive_status(struct cdrom_device_info *cdi, int slot_nr); 176 unsigned int clearing, int slot_nr); 508 unsigned int clearing, int slot_nr) pcd_check_events() 595 static int pcd_drive_status(struct cdrom_device_info *cdi, int slot_nr) pcd_drive_status() argument 507 pcd_check_events(struct cdrom_device_info *cdi, unsigned int clearing, int slot_nr) pcd_check_events() argument
|
/linux-4.1.27/kernel/events/ |
H A D | uprobes.c | 1262 int slot_nr; xol_take_insn_slot() local 1265 slot_nr = find_first_zero_bit(area->bitmap, UINSNS_PER_PAGE); xol_take_insn_slot() 1266 if (slot_nr < UINSNS_PER_PAGE) { xol_take_insn_slot() 1267 if (!test_and_set_bit(slot_nr, area->bitmap)) xol_take_insn_slot() 1270 slot_nr = UINSNS_PER_PAGE; xol_take_insn_slot() 1274 } while (slot_nr >= UINSNS_PER_PAGE); xol_take_insn_slot() 1276 slot_addr = area->vaddr + (slot_nr * UPROBE_XOL_SLOT_BYTES); xol_take_insn_slot() 1327 int slot_nr; xol_free_insn_slot() local 1330 slot_nr = offset / UPROBE_XOL_SLOT_BYTES; xol_free_insn_slot() 1331 if (slot_nr >= UINSNS_PER_PAGE) xol_free_insn_slot() 1334 clear_bit(slot_nr, area->bitmap); xol_free_insn_slot()
|
/linux-4.1.27/Documentation/cdrom/ |
H A D | cdrom-standard.tex | 369 \subsection{$Int\ drive_status(struct\ cdrom_device_info * cdi, int\ slot_nr)$} 375 $slot_nr$ should be ignored. In \cdromh\ the possibilities are listed:
|
/linux-4.1.27/include/linux/ |
H A D | pci.h | 801 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr,
|