/linux-4.4.14/drivers/mtd/maps/ |
D | pmcmsp-flash.c | 48 static int fcnt; variable 70 for (fcnt = 0; (env = prom_getenv(flash_name)); fcnt++) in init_msp_flash() 71 flash_name[5] = '0' + fcnt + 1; in init_msp_flash() 73 if (fcnt < 1) in init_msp_flash() 76 printk(KERN_NOTICE "Found %d PMC flash devices\n", fcnt); in init_msp_flash() 78 msp_flash = kmalloc(fcnt * sizeof(struct map_info *), GFP_KERNEL); in init_msp_flash() 82 msp_parts = kmalloc(fcnt * sizeof(struct mtd_partition *), GFP_KERNEL); in init_msp_flash() 86 msp_maps = kcalloc(fcnt, sizeof(struct mtd_info), GFP_KERNEL); in init_msp_flash() 91 for (i = 0; i < fcnt; i++) { in init_msp_flash() 209 for (i = 0; i < fcnt; i++) { in cleanup_msp_flash()
|
/linux-4.4.14/net/sched/ |
D | sch_fq.c | 182 int fcnt = 0; in fq_gc() local 194 tofree[fcnt++] = f; in fq_gc() 195 if (fcnt == FQ_GC_MAX) in fq_gc() 205 q->flows -= fcnt; in fq_gc() 206 q->inactive_flows -= fcnt; in fq_gc() 207 q->stat_gc_flows += fcnt; in fq_gc() 208 while (fcnt) { in fq_gc() 209 struct fq_flow *f = tofree[--fcnt]; in fq_gc() 560 int fcnt = 0; in fq_rehash() local 569 fcnt++; in fq_rehash() [all …]
|
/linux-4.4.14/drivers/isdn/hisax/ |
D | hfc_pci.c | 401 int new_z2, fcnt, maxlen; in hfcpci_empty_fifo_trans() local 408 if (!(fcnt = *z1r - *z2r)) in hfcpci_empty_fifo_trans() 411 if (fcnt <= 0) in hfcpci_empty_fifo_trans() 412 fcnt += B_FIFO_SIZE; /* bytes actually buffered */ in hfcpci_empty_fifo_trans() 413 if (fcnt > HFCPCI_BTRANS_THRESHOLD) in hfcpci_empty_fifo_trans() 414 fcnt = HFCPCI_BTRANS_THRESHOLD; /* limit size */ in hfcpci_empty_fifo_trans() 416 new_z2 = *z2r + fcnt; /* new position in fifo */ in hfcpci_empty_fifo_trans() 420 if (!(skb = dev_alloc_skb(fcnt))) in hfcpci_empty_fifo_trans() 423 ptr = skb_put(skb, fcnt); in hfcpci_empty_fifo_trans() 424 if (*z2r + fcnt <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_fifo_trans() [all …]
|
D | hfc_2bds0.c | 264 int idx, fcnt; in hfc_fill_fifo() local 285 fcnt = bcs->hw.hfc.f1 - bcs->hw.hfc.f2; in hfc_fill_fifo() 286 if (fcnt < 0) in hfc_fill_fifo() 287 fcnt += 32; in hfc_fill_fifo() 288 if (fcnt > 30) { in hfc_fill_fifo() 691 int idx, fcnt; in hfc_fill_dfifo() local 712 fcnt = cs->hw.hfcD.f1 - cs->hw.hfcD.f2; in hfc_fill_dfifo() 713 if (fcnt < 0) in hfc_fill_dfifo() 714 fcnt += 16; in hfc_fill_dfifo() 715 if (fcnt > 14) { in hfc_fill_dfifo()
|
D | hfc_2bs0.c | 240 int idx, fcnt; in hfc_fill_fifo() local 266 fcnt = bcs->hw.hfc.f1 - bcs->hw.hfc.f2; in hfc_fill_fifo() 267 if (fcnt < 0) in hfc_fill_fifo() 268 fcnt += 32; in hfc_fill_fifo() 269 if (fcnt > 30) { in hfc_fill_fifo()
|
/linux-4.4.14/drivers/ata/ |
D | pata_hpt3x2n.c | 413 u32 fcnt; in hpt3x2n_pci_clock() local 416 fcnt = inl(iobase + 0x90); /* Not PCI readable for some chips */ in hpt3x2n_pci_clock() 417 if ((fcnt >> 12) != 0xABCDE) { in hpt3x2n_pci_clock() 430 fcnt = total / 128; in hpt3x2n_pci_clock() 432 fcnt &= 0x1FF; in hpt3x2n_pci_clock() 434 freq = (fcnt * 77) / 192; in hpt3x2n_pci_clock()
|
/linux-4.4.14/fs/f2fs/ |
D | shrinker.c | 28 if (NM_I(sbi)->fcnt > NAT_ENTRY_PER_BLOCK) in __count_free_nids() 29 return NM_I(sbi)->fcnt - NAT_ENTRY_PER_BLOCK; in __count_free_nids()
|
D | node.c | 48 mem_size = (nm_i->fcnt * sizeof(struct free_nid)) >> in available_free_memory() 1471 nm_i->fcnt++; in add_free_nid() 1486 nm_i->fcnt--; in remove_free_nid() 1528 if (nm_i->fcnt > NAT_ENTRY_PER_BLOCK) in build_free_nids() 1584 if (nm_i->fcnt && !on_build_free_nids(nm_i)) { in alloc_nid() 1595 nm_i->fcnt--; in alloc_nid() 1652 nm_i->fcnt++; in alloc_nid_failed() 1671 if (nr_shrink <= 0 || nm_i->fcnt <= NAT_ENTRY_PER_BLOCK) in try_to_free_nids() 1677 nm_i->fcnt--; in try_to_free_nids() 2005 nm_i->fcnt = 0; in init_node_manager() [all …]
|
D | debug.c | 70 si->fnids = NM_I(sbi)->fcnt; in update_general_status() 187 si->cache_mem += NM_I(sbi)->fcnt * sizeof(struct free_nid); in update_mem_info()
|
D | node.h | 156 if (nm_i->fcnt <= 0) { in next_free_nid()
|
D | f2fs.h | 527 unsigned int fcnt; /* the number of free node id */ member
|
/linux-4.4.14/drivers/isdn/hardware/mISDN/ |
D | hfcpci.c | 678 int fcnt; in hfcpci_fill_dfifo() local 697 fcnt = df->f1 - df->f2; /* frame count actually buffered */ in hfcpci_fill_dfifo() 698 if (fcnt < 0) in hfcpci_fill_dfifo() 699 fcnt += (MAX_D_FRAMES + 1); /* if wrap around */ in hfcpci_fill_dfifo() 700 if (fcnt > (MAX_D_FRAMES - 1)) { in hfcpci_fill_dfifo() 755 int maxlen, fcnt; in hfcpci_fill_fifo() local 787 fcnt = le16_to_cpu(*z2t) - le16_to_cpu(*z1t); in hfcpci_fill_fifo() 788 if (fcnt <= 0) in hfcpci_fill_fifo() 789 fcnt += B_FIFO_SIZE; in hfcpci_fill_fifo() 792 if (count > fcnt) in hfcpci_fill_fifo() [all …]
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-npi-defs.h | 575 uint64_t fcnt:7; member 579 uint64_t fcnt:7; 619 uint64_t fcnt:7; member 623 uint64_t fcnt:7; 2123 uint64_t fcnt:6; member 2127 uint64_t fcnt:6; 2145 uint64_t fcnt:5; member 2149 uint64_t fcnt:5;
|
D | cvmx-dpi-defs.h | 152 uint64_t fcnt:7; member 156 uint64_t fcnt:7;
|
D | cvmx-npei-defs.h | 969 uint64_t fcnt:7; member 973 uint64_t fcnt:7; 3446 uint64_t fcnt:5; member 3450 uint64_t fcnt:5;
|
D | cvmx-sli-defs.h | 2391 uint64_t fcnt:5; member 2395 uint64_t fcnt:5;
|
/linux-4.4.14/drivers/mmc/host/ |
D | dw_mmc.c | 2223 unsigned int remain, fcnt; in dw_mci_read_data_pio() local 2235 fcnt = (SDMMC_GET_FCNT(mci_readl(host, STATUS)) in dw_mci_read_data_pio() 2237 len = min(remain, fcnt); in dw_mci_read_data_pio() 2278 unsigned int remain, fcnt; in dw_mci_write_data_pio() local 2290 fcnt = ((fifo_depth - in dw_mci_write_data_pio() 2293 len = min(remain, fcnt); in dw_mci_write_data_pio()
|
/linux-4.4.14/drivers/scsi/ |
D | esp_scsi.c | 219 int fcnt = esp_read8(ESP_FFLAGS) & ESP_FF_FBYTES; in hme_read_fifo() local 222 while (fcnt--) { in hme_read_fifo() 1307 int fcnt = esp_read8(ESP_FFLAGS) & ESP_FF_FBYTES; in esp_finish_select() local 1311 if (!fcnt && in esp_finish_select()
|