Searched refs:nsegs (Results 1 – 12 of 12) sorted by relevance
| /linux/fs/netfs/ |
| H A D | iterator.c | 113 unsigned int nbv = iter->nr_segs, ix = 0, nsegs = 0; in netfs_limit_bvec() local 134 nsegs++; in netfs_limit_bvec() 136 if (span >= max_size || nsegs >= max_segs) in netfs_limit_bvec() 154 unsigned int nkv = iter->nr_segs, ix = 0, nsegs = 0; in netfs_limit_kvec() local 175 nsegs++; in netfs_limit_kvec() 177 if (span >= max_size || nsegs >= max_segs) in netfs_limit_kvec() 196 unsigned int nsegs = 0; in netfs_limit_xarray() local 223 nsegs++; in netfs_limit_xarray() 224 if (span >= max_size || nsegs >= max_segs) in netfs_limit_xarray() 241 unsigned int nsegs = 0; in netfs_limit_folioq() local [all …]
|
| /linux/include/uapi/linux/ |
| H A D | elf-fdpic.h | 29 Elf32_Half nsegs; /* number of segments */ member 44 Elf64_Half nsegs; /* number of segments */ member
|
| /linux/fs/nilfs2/ |
| H A D | the_nilfs.c | 410 unsigned long nilfs_nrsvsegs(struct the_nilfs *nilfs, unsigned long nsegs) in nilfs_nrsvsegs() argument 413 DIV_ROUND_UP(nsegs * nilfs->ns_r_segments_percentage, in nilfs_nrsvsegs() 431 void nilfs_set_nsegments(struct the_nilfs *nilfs, unsigned long nsegs) in nilfs_set_nsegments() argument 433 nilfs->ns_nsegments = nsegs; in nilfs_set_nsegments() 434 nilfs->ns_nrsvsegs = nilfs_nrsvsegs(nilfs, nsegs); in nilfs_set_nsegments() 788 size_t nsegs) in nilfs_discard_segments() argument 798 for (sn = segnump; sn < segnump + nsegs; sn++) { in nilfs_discard_segments()
|
| H A D | the_nilfs.h | 271 unsigned long nilfs_nrsvsegs(struct the_nilfs *nilfs, unsigned long nsegs); 272 void nilfs_set_nsegments(struct the_nilfs *nilfs, unsigned long nsegs);
|
| /linux/fs/ |
| H A D | binfmt_elf_fdpic.c | 564 len += sizeof(struct elf_fdpic_loadseg) * exec_params->loadmap->nsegs; in create_elf_fdpic_tables() 576 interp_params->loadmap->nsegs; in create_elf_fdpic_tables() 777 loadmap->nsegs = nloads; in elf_fdpic_map_file() 799 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file() 824 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file() 845 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file() 879 nloads = loadmap->nsegs; in elf_fdpic_map_file() 892 loadmap->nsegs--; in elf_fdpic_map_file() 909 for (loop = 0; loop < loadmap->nsegs; loop++, seg++) in elf_fdpic_map_file()
|
| /linux/block/ |
| H A D | blk.h | 375 unsigned *nsegs); 377 const struct queue_limits *lim, unsigned *nsegs);
|
| /linux/fs/xfs/ |
| H A D | xfs_zone_gc.c | 798 unsigned int nsegs; in xfs_zone_gc_split_write() local 803 split_sectors = bio_split_rw_at(&chunk->bio, lim, &nsegs, in xfs_zone_gc_split_write()
|
| /linux/include/net/ |
| H A D | addrconf.h | 127 unsigned char nsegs);
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_txrx.c | 1073 int size, offset, nsegs = 1, data_len = 0; in fbnic_pkt_tx() local 1083 nsegs += shinfo->nr_frags; in fbnic_pkt_tx() 1088 if (fbnic_desc_unused(ring) < nsegs) { in fbnic_pkt_tx() 1101 while (nsegs--) { in fbnic_pkt_tx()
|
| /linux/drivers/nvme/target/ |
| H A D | pci-epf.c | 703 int nsegs) in nvmet_pci_epf_alloc_iod_data_segs() argument 706 int nr_segs = iod->nr_data_segs + nsegs; in nvmet_pci_epf_alloc_iod_data_segs()
|
| /linux/net/ipv6/ |
| H A D | addrconf.c | 4576 unsigned char nsegs) in ipv6_chk_rpl_srh_loop() argument 4586 for (i = 0; i < nsegs; i++) { in ipv6_chk_rpl_srh_loop()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 6552 u32 nsegs, n, segs = 0, flags; in bnxt_hwrm_vnic_set_tpa() local 6574 nsegs = (MAX_SKB_FRAGS - 1) * n; in bnxt_hwrm_vnic_set_tpa() 6579 nsegs = (MAX_SKB_FRAGS - n) / n; in bnxt_hwrm_vnic_set_tpa() 6586 segs = ilog2(nsegs); in bnxt_hwrm_vnic_set_tpa()
|