/linux-master/drivers/block/drbd/ |
H A D | drbd_int.h | 593 struct idr devices; /* volume number to device mapping */ 628 struct idr peer_devices; /* volume number to peer device mapping */ 663 atomic_t current_tle_nr; /* transfer log epoch number */ 697 /* Which barrier number to send with the next P_BARRIER */ 763 unsigned int vnr; /* volume number within the connection */ 764 unsigned int minor; /* device minor number */ 819 /* number of resync blocks that failed in this run */ 855 /* resync extent number waiting for application requests */ 882 unsigned long comm_bm_set; /* communicated number of set bits. */ 1137 * This number i [all...] |
H A D | drbd_main.c | 62 MODULE_PARM_DESC(minor_count, "Approximate number of drbd devices (" 163 * @set_size: Expected number of requests before that barrier. 2104 const int number = (DRBD_MAX_BIO_SIZE/PAGE_SIZE) * drbd_minor_count; local 2142 ret = mempool_init_slab_pool(&drbd_request_mempool, number, 2147 ret = mempool_init_slab_pool(&drbd_ee_mempool, number, drbd_ee_cache); 2151 for (i = 0; i < number; i++) { 2158 drbd_pp_vacant = number; 3737 /* Fault insertion support including random number generator shamelessly 3749 * Crude but fast random-number generator. Uses a linear congruential
|
H A D | drbd_receiver.c | 148 unsigned int number) 156 if (drbd_pp_vacant >= number) { 158 page = page_chain_del(&drbd_pp_pool, number); 160 drbd_pp_vacant -= number; 169 for (i = 0; i < number; i++) { 177 if (i == number) 243 * drbd_alloc_pages() - Returns @number pages, retries forever (or until signalled) 245 * @number: number of pages requested 248 * Tries to allocate number page 147 __drbd_alloc_pages(struct drbd_device *device, unsigned int number) argument 262 drbd_alloc_pages(struct drbd_peer_device *peer_device, unsigned int number, bool retry) argument [all...] |
H A D | drbd_worker.c | 500 unsigned int want; /* The number of sectors we want in-flight */ 553 int number, mxb; local 561 number = drbd_rs_controller(peer_device, sect_in) >> (BM_BLOCK_SHIFT - 9); 562 device->c_sync_rate = number * HZ * (BM_BLOCK_SIZE / 1024) / SLEEP_TIME; 565 number = SLEEP_TIME * device->c_sync_rate / ((BM_BLOCK_SIZE / 1024) * HZ); 575 /* note that "number" is in units of "BM_BLOCK_SIZE" (which is 4k), 577 * "number of pages" (typically also 4k), 579 if (mxb - device->rs_in_flight/8 < number) 580 number = mxb - device->rs_in_flight/8; 582 return number; 593 int number, rollback_i, size; local 768 int number, i, size; local [all...] |
/linux-master/drivers/char/agp/ |
H A D | nvidia-agp.c | 345 (unsigned int)pdev->bus->number, 349 (unsigned int)pdev->bus->number, 353 (unsigned int)pdev->bus->number,
|
H A D | sworks-agp.c | 233 * more efficient, since agp_memory blocks can be a large number of 475 (unsigned int)pdev->bus->number,
|
/linux-master/drivers/char/ |
H A D | lp.c | 954 port_num[nr] = port->number; 983 if (port->number == parport_nr[i]) { 1006 if (port_num[n] == port->number) {
|
H A D | ppdev.c | 48 * They return the positive number of bytes *not* copied due to address 796 if (devices[port->number]) 800 MKDEV(PP_MAJOR, port->number), NULL, 801 "parport%d", port->number); 804 port->number); 807 devices[port->number] = ret; 812 if (!devices[port->number]) 815 device_destroy(&ppdev_class, MKDEV(PP_MAJOR, port->number)); 816 devices[port->number] = NULL;
|
/linux-master/drivers/comedi/drivers/ |
H A D | adl_pci9118.c | 56 * 0 != use ADCHN7(pin 23) signal is generated from driver, number say how 421 * possibly non-whole number of spans and a region of each span 424 * Account for samples in whole number of spans. 480 * of a possibly non-whole number of spans and a region of 1447 if (pcidev->bus->number != bus ||
|
/linux-master/drivers/crypto/ccp/ |
H A D | sp-pci.c | 246 if (pdev_new->bus->number < pdev_cur->bus->number)
|
/linux-master/drivers/crypto/hisilicon/ |
H A D | qm.c | 386 int (*get_vft)(struct hisi_qm *qm, u32 *base, u32 *number); 1175 u32 number, struct qm_shaper_factor *factor) 1179 if (number > 0) { 1191 (u64)(number - 1) << QM_SQC_VFT_SQN_SHIFT; 1221 u32 fun_num, u32 base, u32 number) 1243 qm_vft_data_cfg(qm, type, base, number, factor); 1265 /* The base number of queue reuse for different alg type */ 1276 u32 number) 1281 ret = qm_set_vft_common(qm, i, fun_num, base, number); 1301 static int qm_get_vft_v2(struct hisi_qm *qm, u32 *base, u32 *number) argument 1174 qm_vft_data_cfg(struct hisi_qm *qm, enum vft_type type, u32 base, u32 number, struct qm_shaper_factor *factor) argument 1220 qm_set_vft_common(struct hisi_qm *qm, enum vft_type type, u32 fun_num, u32 base, u32 number) argument 1275 qm_set_sqc_cqc_vft(struct hisi_qm *qm, u32 fun_num, u32 base, u32 number) argument 2917 hisi_qm_get_vft(struct hisi_qm *qm, u32 *base, u32 *number) argument 2944 hisi_qm_set_vft(struct hisi_qm *qm, u32 fun_num, u32 base, u32 number) argument [all...] |
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_ctl_drv.c | 365 dev_info.bus = accel_to_pci_dev(accel_dev)->bus->number;
|
H A D | adf_dev_mgr.c | 31 return (accel_to_pci_dev(vf)->bus->number << 8) | adf_get_vf_id(vf);
|
H A D | adf_vf_isr.c | 185 "qat_%02x:%02d.%02d", pdev->bus->number, PCI_SLOT(pdev->devfn),
|
/linux-master/drivers/edac/ |
H A D | amd64_edac.c | 897 * (section 3.4.4.1). Return the number of bits from a SysAddr that are used 964 * the error). Return the number of the csrow that sys_addr maps to, or -1 on 1239 * The number of zero bits in the mask is equal to the number of bits 1240 * in a full mask minus the number of bits in the current mask. 1242 * The MSB is the number of bits in the full mask because BIT[0] is 1253 /* Take the number of zero bits off from the top of the mask. */ 1301 * Keep the mask number equal to the Chip Select number for newer systems, 1302 * and shift the mask number fo [all...] |
H A D | i5000_edac.c | 1007 /* Start with the number of bits for a Bank 1010 /* Add the number of ROW bits */ 1012 /* add the number of COLUMN bits */ 1152 edac_dbg(2, "TOLM (number of 256M regions) =%u (0x%x)\n", 1363 pdev->bus->number, 1370 /* Ask the devices for the number of CSROWS and CHANNELS so 1377 * actual number of slots/dimms per channel, we thus utilize the
|
H A D | i5400_edac.c | 932 /* Start with the number of bits for a Bank 937 /* add the number of COLUMN bits */ 939 /* add the number of RANK bits */ 1073 edac_dbg(2, "\nTOLM (number of 256M regions) =%u (0x%x)\n", 1263 pdev->bus->number,
|
H A D | i7300_edac.c | 322 * @size: number of elements at the table 580 * @ch: Channel number within the branch (0 or 1) 581 * @branch: Branch number (0 or 1) 604 /* Start with the number of bits for a Bank 609 /* add the number of COLUMN bits */ 611 /* add the number of RANK bits */ 819 * @mir_no: number of the MIR register to decode 854 edac_dbg(2, "TOLM (number of 256M regions) =%u (0x%x)\n", 1034 pdev->bus->number,
|
H A D | i7core_edac.c | 54 * Quick Path Interconnect, just increment this number. 871 dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn), 886 dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn), 1244 pdev->bus->number, 1287 bus = b->number; 1358 bus = pdev->bus->number;
|
H A D | sb_edac.c | 706 edac_dbg(0, "Invalid number of ranks: %d (max = %i) raw value = %x (%04x)\n", 719 edac_dbg(0, "Invalid number of rows: %d (should be between 14 and 17) raw value = %x (%04x)\n", 732 edac_dbg(0, "Invalid number of cols: %d (max = 4) raw value = %x (%04x)\n", 1010 * Use the reporting bank number to determine which memory 1146 * @ways: output number of interleave ways 2440 pdev->bus->number, 2497 bus = pdev->bus->number;
|
H A D | skx_base.c | 41 if (d->seg == pci_domain_nr(bus) && d->bus[idx] == bus->number) 63 * number and function numbers to tell which memory controller the
|
H A D | thunderx_edac.c | 297 * echo <bit mask value> > /sys/kernel/debug/<device number>/ecc_mask0 298 * echo <bit mask value> > /sys/kernel/debug/<device number>/ecc_mask2 299 * echo 0x802 > /sys/kernel/debug/<device number>/ecc_parity_test 301 * echo 1 > /sys/kernel/debug/<device number>/inject_ecc 522 unsigned int number = 0; local 532 number++; 534 number++; 539 return number;
|
/linux-master/drivers/firmware/broadcom/ |
H A D | bcm47xx_sprom.c | 605 bus->host_pci->bus->number + 1, 663 bus->host_pci->bus->number + 1, 668 bus->host_pci->bus->number);
|
/linux-master/drivers/firmware/efi/libstub/ |
H A D | vsprintf.c | 113 char *number(char *end, unsigned long long num, int base, char locase) function 303 /* The maximum space required is to print a 64-bit number in octal */ 312 int flags; /* flags to number() */ 316 number of chars for from string */ 409 /* integer number formats - set up the flags and "break" */ 453 s = number(tmp_end, num, base, flags & SMALL); 458 /* precision is minimum number of digits to print */ 471 * output is empty, i.e. both the number and the
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_bios.c | 389 vhdr->PCIBus == adev->pdev->bus->number &&
|