/linux-3.4.99/fs/nilfs2/ |
D | sufile.c | 160 int nilfs_sufile_updatev(struct inode *sufile, __u64 *segnumv, size_t nsegs, in nilfs_sufile_updatev() argument 172 if (unlikely(nsegs == 0)) in nilfs_sufile_updatev() 176 for (seg = segnumv; seg < segnumv + nsegs; seg++) { in nilfs_sufile_updatev() 202 if (++seg >= segnumv + nsegs) in nilfs_sufile_updatev() 273 __u64 nsegs; in nilfs_sufile_set_alloc_range() local 277 nsegs = nilfs_sufile_get_nsegments(sufile); in nilfs_sufile_set_alloc_range() 279 if (start <= end && end < nsegs) { in nilfs_sufile_set_alloc_range() 645 unsigned long nsegs, ncleaned; in nilfs_sufile_truncate_range() local 652 nsegs = nilfs_sufile_get_nsegments(sufile); in nilfs_sufile_truncate_range() 655 if (start > end || start >= nsegs) in nilfs_sufile_truncate_range() [all …]
|
D | sufile.h | 97 size_t nsegs, size_t *ndone) in nilfs_sufile_freev() argument 99 return nilfs_sufile_updatev(sufile, segnumv, nsegs, 0, ndone, in nilfs_sufile_freev() 114 __u64 *segnumv, size_t nsegs, in nilfs_sufile_cancel_freev() argument 117 return nilfs_sufile_updatev(sufile, segnumv, nsegs, 0, ndone, in nilfs_sufile_cancel_freev()
|
D | the_nilfs.c | 372 unsigned long nilfs_nrsvsegs(struct the_nilfs *nilfs, unsigned long nsegs) in nilfs_nrsvsegs() argument 375 DIV_ROUND_UP(nsegs * nilfs->ns_r_segments_percentage, in nilfs_nrsvsegs() 379 void nilfs_set_nsegments(struct the_nilfs *nilfs, unsigned long nsegs) in nilfs_set_nsegments() argument 381 nilfs->ns_nsegments = nsegs; in nilfs_set_nsegments() 382 nilfs->ns_nrsvsegs = nilfs_nrsvsegs(nilfs, nsegs); in nilfs_set_nsegments() 645 size_t nsegs) in nilfs_discard_segments() argument 655 for (sn = segnump; sn < segnump + nsegs; sn++) { in nilfs_discard_segments()
|
D | the_nilfs.h | 273 unsigned long nilfs_nrsvsegs(struct the_nilfs *nilfs, unsigned long nsegs); 274 void nilfs_set_nsegments(struct the_nilfs *nilfs, unsigned long nsegs);
|
D | ioctl.c | 588 size_t len, nsegs; in nilfs_ioctl_clean_segments() local 603 nsegs = argv[4].v_nmembs; in nilfs_ioctl_clean_segments() 606 if (nsegs > UINT_MAX / sizeof(__u64)) in nilfs_ioctl_clean_segments() 615 nsegs * sizeof(__u64)); in nilfs_ioctl_clean_segments() 627 if (argv[n].v_nmembs > nsegs * nilfs->ns_blocks_per_segment) in nilfs_ioctl_clean_segments()
|
/linux-3.4.99/net/sunrpc/xprtrdma/ |
D | verbs.c | 1484 int *nsegs, int writing, struct rpcrdma_ia *ia, in rpcrdma_register_frmr_external() argument 1501 if (*nsegs > RPCRDMA_MAX_DATA_SEGS) in rpcrdma_register_frmr_external() 1502 *nsegs = RPCRDMA_MAX_DATA_SEGS; in rpcrdma_register_frmr_external() 1503 for (page_no = i = 0; i < *nsegs;) { in rpcrdma_register_frmr_external() 1515 if ((i < *nsegs && offset_in_page(seg->mr_offset)) || in rpcrdma_register_frmr_external() 1573 *nsegs = i; in rpcrdma_register_frmr_external() 1604 int *nsegs, int writing, struct rpcrdma_ia *ia) in rpcrdma_register_fmr_external() argument 1614 if (*nsegs > RPCRDMA_MAX_DATA_SEGS) in rpcrdma_register_fmr_external() 1615 *nsegs = RPCRDMA_MAX_DATA_SEGS; in rpcrdma_register_fmr_external() 1616 for (i = 0; i < *nsegs;) { in rpcrdma_register_fmr_external() [all …]
|
D | rpc_rdma.c | 87 enum rpcrdma_chunktype type, struct rpcrdma_mr_seg *seg, int nsegs) in rpcrdma_convert_iovs() argument 104 while (len && n < nsegs) { in rpcrdma_convert_iovs() 116 if (len && n == nsegs) in rpcrdma_convert_iovs() 124 if (n == nsegs) in rpcrdma_convert_iovs() 175 int nsegs, nchunks = 0; in rpcrdma_create_chunks() local 200 nsegs = rpcrdma_convert_iovs(target, pos, type, seg, RPCRDMA_MAX_SEGS); in rpcrdma_create_chunks() 201 if (nsegs == 0) in rpcrdma_create_chunks() 206 int n = rpcrdma_register_external(seg, nsegs, in rpcrdma_create_chunks() 222 seg->mr_rkey, pos, n < nsegs ? "more" : "last"); in rpcrdma_create_chunks() 235 seg->mr_rkey, n < nsegs ? "more" : "last"); in rpcrdma_create_chunks() [all …]
|
/linux-3.4.99/block/ |
D | blk-merge.c | 123 int nsegs, cluster; in blk_rq_map_sg() local 125 nsegs = 0; in blk_rq_map_sg() 166 nsegs++; in blk_rq_map_sg() 191 nsegs++; in blk_rq_map_sg() 198 return nsegs; in blk_rq_map_sg()
|
/linux-3.4.99/include/linux/ |
D | elf-fdpic.h | 28 Elf32_Half nsegs; /* number of segments */ member
|
/linux-3.4.99/fs/ |
D | binfmt_elf_fdpic.c | 544 len += sizeof(struct elf32_fdpic_loadseg) * exec_params->loadmap->nsegs; in create_elf_fdpic_tables() 556 interp_params->loadmap->nsegs; in create_elf_fdpic_tables() 772 loadmap->nsegs = nloads; in elf_fdpic_map_file() 797 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file() 822 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file() 843 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file() 873 nloads = loadmap->nsegs; in elf_fdpic_map_file() 886 loadmap->nsegs--; in elf_fdpic_map_file() 903 for (loop = 0; loop < loadmap->nsegs; loop++, seg++) in elf_fdpic_map_file()
|
/linux-3.4.99/drivers/scsi/bfa/ |
D | bfa_svc.c | 470 u16 nsegs, idx, per_seg_fcxp; in bfa_fcxp_meminfo() local 483 nsegs = BFI_MEM_DMA_NSEGS(num_fcxps, per_fcxp_sz); in bfa_fcxp_meminfo() 486 bfa_mem_dma_seg_iter(fcxp_mod, seg_ptr, nsegs, idx) { in bfa_fcxp_meminfo() 4784 u16 nsegs, idx, per_seg_sgpg, num_sgpg; in bfa_sgpg_meminfo() local 4794 nsegs = BFI_MEM_DMA_NSEGS(num_sgpg, sgpg_sz); in bfa_sgpg_meminfo() 4797 bfa_mem_dma_seg_iter(sgpg_mod, seg_ptr, nsegs, idx) { in bfa_sgpg_meminfo() 4822 u16 i, idx, nsegs, per_seg_sgpg, num_sgpg; in bfa_sgpg_attach() local 4837 nsegs = BFI_MEM_DMA_NSEGS(num_sgpg, sgpg_sz); in bfa_sgpg_attach() 4842 bfa_mem_dma_seg_iter(mod, seg_ptr, nsegs, idx) { in bfa_sgpg_attach() 5086 u16 nsegs, idx, per_seg_uf = 0; in bfa_uf_meminfo() local [all …]
|
D | bfa_fcpim.c | 3633 u16 nsegs, idx, per_seg_ios, num_io_req; in bfa_fcp_meminfo() local 3667 nsegs = BFI_MEM_DMA_NSEGS(num_io_req, BFI_IOIM_SNSLEN); in bfa_fcp_meminfo() 3670 bfa_mem_dma_seg_iter(fcp, seg_ptr, nsegs, idx) { in bfa_fcp_meminfo() 3690 u16 idx, nsegs, num_io_req; in bfa_fcp_attach() local 3702 nsegs = BFI_MEM_DMA_NSEGS(num_io_req, BFI_IOIM_SNSLEN); in bfa_fcp_attach() 3704 bfa_mem_dma_seg_iter(fcp, seg_ptr, nsegs, idx) { in bfa_fcp_attach()
|
/linux-3.4.99/drivers/block/ |
D | nvme.c | 480 int i, old_idx, length = 0, nsegs = 0; in nvme_map_bio() local 493 nsegs++; in nvme_map_bio() 499 iod->nents = nsegs; in nvme_map_bio()
|