Searched refs:nsegs (Results 1 – 7 of 7) sorted by relevance
| /linux/fs/netfs/ |
| H A D | iterator.c | 128 unsigned int nbv = iter->nr_segs, ix = 0, nsegs = 0; in netfs_limit_bvec() local 149 nsegs++; in netfs_limit_bvec() 151 if (span >= max_size || nsegs >= max_segs) in netfs_limit_bvec() 169 unsigned int nkv = iter->nr_segs, ix = 0, nsegs = 0; in netfs_limit_kvec() local 190 nsegs++; in netfs_limit_kvec() 192 if (span >= max_size || nsegs >= max_segs) in netfs_limit_kvec() 211 unsigned int nsegs = 0; in netfs_limit_xarray() local 238 nsegs++; in netfs_limit_xarray() 239 if (span >= max_size || nsegs >= max_segs) in netfs_limit_xarray() 256 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/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()
|