Home
last modified time | relevance | path

Searched refs:nsegs (Results 1 – 25 of 40) sorted by relevance

12

/OK3568_Linux_fs/kernel/block/
H A Dblk-merge.c68 unsigned *nsegs) in blk_bio_discard_split() argument
75 *nsegs = 1; in blk_bio_discard_split()
110 struct bio *bio, struct bio_set *bs, unsigned *nsegs) in blk_bio_write_zeroes_split() argument
112 *nsegs = 0; in blk_bio_write_zeroes_split()
126 unsigned *nsegs) in blk_bio_write_same_split() argument
128 *nsegs = 1; in blk_bio_write_same_split()
201 const struct bio_vec *bv, unsigned *nsegs, in bvec_split_segs() argument
210 while (len && *nsegs < max_segs) { in bvec_split_segs()
215 (*nsegs)++; in bvec_split_segs()
255 unsigned nsegs = 0, sectors = 0; in blk_bio_segment_split() local
[all …]
/OK3568_Linux_fs/kernel/net/sunrpc/xprtrdma/
H A Drpc_rdma.c326 int nsegs, bool writing, in rpcrdma_mr_prepare() argument
339 return frwr_map(r_xprt, seg, nsegs, writing, req->rl_slot.rq_xid, *mr); in rpcrdma_mr_prepare()
371 int nsegs; in rpcrdma_encode_read_list() local
380 nsegs = rpcrdma_convert_iovs(r_xprt, &rqst->rq_snd_buf, pos, in rpcrdma_encode_read_list()
382 if (nsegs < 0) in rpcrdma_encode_read_list()
383 return nsegs; in rpcrdma_encode_read_list()
386 seg = rpcrdma_mr_prepare(r_xprt, req, seg, nsegs, false, &mr); in rpcrdma_encode_read_list()
393 trace_xprtrdma_chunk_read(rqst->rq_task, pos, mr, nsegs); in rpcrdma_encode_read_list()
395 nsegs -= mr->mr_nents; in rpcrdma_encode_read_list()
396 } while (nsegs); in rpcrdma_encode_read_list()
[all …]
H A Dfrwr_ops.c283 int nsegs, bool writing, __be32 xid, in frwr_map() argument
292 if (nsegs > ep->re_max_fr_depth) in frwr_map()
293 nsegs = ep->re_max_fr_depth; in frwr_map()
294 for (i = 0; i < nsegs;) { in frwr_map()
308 if ((i < nsegs && offset_in_page(seg->mr_offset)) || in frwr_map()
H A Dsvc_rdma_sendto.c418 unsigned int i, nsegs; in svc_rdma_encode_write_chunk() local
430 nsegs = be32_to_cpup(src++); in svc_rdma_encode_write_chunk()
431 ret = xdr_stream_encode_u32(&sctxt->sc_stream, nsegs); in svc_rdma_encode_write_chunk()
436 for (i = nsegs; i; i--) { in svc_rdma_encode_write_chunk()
H A Dxprt_rdma.h526 int nsegs, bool writing, __be32 xid,
/OK3568_Linux_fs/kernel/fs/nilfs2/
H A Dsufile.c156 int nilfs_sufile_updatev(struct inode *sufile, __u64 *segnumv, size_t nsegs, in nilfs_sufile_updatev() argument
168 if (unlikely(nsegs == 0)) in nilfs_sufile_updatev()
172 for (seg = segnumv; seg < segnumv + nsegs; seg++) { in nilfs_sufile_updatev()
198 if (++seg >= segnumv + nsegs) in nilfs_sufile_updatev()
269 __u64 nsegs; in nilfs_sufile_set_alloc_range() local
273 nsegs = nilfs_sufile_get_nsegments(sufile); in nilfs_sufile_set_alloc_range()
275 if (start <= end && end < nsegs) { in nilfs_sufile_set_alloc_range()
654 unsigned long nsegs, ncleaned; in nilfs_sufile_truncate_range() local
661 nsegs = nilfs_sufile_get_nsegments(sufile); in nilfs_sufile_truncate_range()
664 if (start > end || start >= nsegs) in nilfs_sufile_truncate_range()
[all …]
H A Dsufile.h85 size_t nsegs, size_t *ndone) in nilfs_sufile_freev() argument
87 return nilfs_sufile_updatev(sufile, segnumv, nsegs, 0, ndone, in nilfs_sufile_freev()
102 __u64 *segnumv, size_t nsegs, in nilfs_sufile_cancel_freev() argument
105 return nilfs_sufile_updatev(sufile, segnumv, nsegs, 0, ndone, in nilfs_sufile_cancel_freev()
H A Dthe_nilfs.c362 unsigned long nilfs_nrsvsegs(struct the_nilfs *nilfs, unsigned long nsegs) in nilfs_nrsvsegs() argument
365 DIV_ROUND_UP(nsegs * nilfs->ns_r_segments_percentage, in nilfs_nrsvsegs()
369 void nilfs_set_nsegments(struct the_nilfs *nilfs, unsigned long nsegs) in nilfs_set_nsegments() argument
371 nilfs->ns_nsegments = nsegs; in nilfs_set_nsegments()
372 nilfs->ns_nrsvsegs = nilfs_nrsvsegs(nilfs, nsegs); in nilfs_set_nsegments()
653 size_t nsegs) in nilfs_discard_segments() argument
663 for (sn = segnump; sn < segnump + nsegs; sn++) { in nilfs_discard_segments()
H A Dthe_nilfs.h279 unsigned long nilfs_nrsvsegs(struct the_nilfs *nilfs, unsigned long nsegs);
280 void nilfs_set_nsegments(struct the_nilfs *nilfs, unsigned long nsegs);
H A Dioctl.c872 size_t len, nsegs; in nilfs_ioctl_clean_segments() local
887 nsegs = argv[4].v_nmembs; in nilfs_ioctl_clean_segments()
890 if (nsegs > UINT_MAX / sizeof(__u64)) in nilfs_ioctl_clean_segments()
899 nsegs * sizeof(__u64)); in nilfs_ioctl_clean_segments()
911 if (argv[n].v_nmembs > nsegs * nilfs->ns_blocks_per_segment) in nilfs_ioctl_clean_segments()
/OK3568_Linux_fs/kernel/include/trace/events/
H A Drpcrdma.h173 int nsegs
176 TP_ARGS(task, pos, mr, nsegs),
186 __field(int, nsegs)
197 __entry->nsegs = nsegs;
204 __entry->nents < __entry->nsegs ? "more" : "last"
214 int nsegs \
216 TP_ARGS(task, pos, mr, nsegs))
222 int nsegs
225 TP_ARGS(task, mr, nsegs),
234 __field(int, nsegs)
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Delf-fdpic.h29 Elf32_Half nsegs; /* number of segments */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Delf-fdpic.h29 Elf32_Half nsegs; /* number of segments */ member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Delf-fdpic.h29 Elf32_Half nsegs; /* number of segments */ member
/OK3568_Linux_fs/kernel/fs/
H A Dbinfmt_elf_fdpic.c562 len += sizeof(struct elf32_fdpic_loadseg) * exec_params->loadmap->nsegs; in create_elf_fdpic_tables()
574 interp_params->loadmap->nsegs; in create_elf_fdpic_tables()
767 loadmap->nsegs = nloads; in elf_fdpic_map_file()
792 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file()
817 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file()
838 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file()
872 nloads = loadmap->nsegs; in elf_fdpic_map_file()
885 loadmap->nsegs--; in elf_fdpic_map_file()
902 for (loop = 0; loop < loadmap->nsegs; loop++, seg++) in elf_fdpic_map_file()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/google/gve/
H A Dgve_tx.c483 int nsegs; in gve_tx() local
497 nsegs = gve_tx_add_skb(tx, skb, &priv->pdev->dev); in gve_tx()
503 tx->req += nsegs; in gve_tx()
/OK3568_Linux_fs/kernel/crypto/
H A Drsa-pkcs1pad.c165 int nsegs = next ? 2 : 1; in pkcs1pad_sg_set_buf() local
167 sg_init_table(sg, nsegs); in pkcs1pad_sg_set_buf()
171 sg_chain(sg, nsegs, next); in pkcs1pad_sg_set_buf()
/OK3568_Linux_fs/external/xserver/Xext/
H A DpanoramiXprocs.c1503 int result, nsegs, i, j; in PanoramiXPolySegment() local
1527 nsegs = (client->req_len << 2) - sizeof(xPolySegmentReq); in PanoramiXPolySegment()
1528 if (nsegs & 4) in PanoramiXPolySegment()
1530 nsegs >>= 3; in PanoramiXPolySegment()
1531 if (nsegs > 0) { in PanoramiXPolySegment()
1532 origSegs = xallocarray(nsegs, sizeof(xSegment)); in PanoramiXPolySegment()
1533 memcpy((char *) origSegs, (char *) &stuff[1], nsegs * sizeof(xSegment)); in PanoramiXPolySegment()
1537 memcpy(&stuff[1], origSegs, nsegs * sizeof(xSegment)); in PanoramiXPolySegment()
1546 for (i = nsegs; i--; segs++) { in PanoramiXPolySegment()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Dbcmdefs.h301 uint nsegs; member
/OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/
H A Ddib8000.c4014 int guard, rate_num, rate_denum = 1, bits_per_symbol, nsegs; in dib8000_get_time_us() local
4056 nsegs = c->layer[i].segment_count; in dib8000_get_time_us()
4057 if (nsegs == 0 || nsegs > 13) in dib8000_get_time_us()
4100 denom += bits_per_symbol * rate_num * fft_div * nsegs * 384; in dib8000_get_time_us()
4221 unsigned nsegs = c->layer[i].segment_count; in dib8000_get_stats() local
4223 if (nsegs == 0 || nsegs > 13) in dib8000_get_stats()
/OK3568_Linux_fs/kernel/drivers/scsi/bfa/
H A Dbfa_svc.c458 u16 nsegs, idx, per_seg_fcxp; in bfa_fcxp_meminfo() local
471 nsegs = BFI_MEM_DMA_NSEGS(num_fcxps, per_fcxp_sz); in bfa_fcxp_meminfo()
474 bfa_mem_dma_seg_iter(fcxp_mod, seg_ptr, nsegs, idx) { in bfa_fcxp_meminfo()
5150 u16 nsegs, idx, per_seg_sgpg, num_sgpg; in bfa_sgpg_meminfo() local
5160 nsegs = BFI_MEM_DMA_NSEGS(num_sgpg, sgpg_sz); in bfa_sgpg_meminfo()
5163 bfa_mem_dma_seg_iter(sgpg_mod, seg_ptr, nsegs, idx) { in bfa_sgpg_meminfo()
5188 u16 i, idx, nsegs, per_seg_sgpg, num_sgpg; in bfa_sgpg_attach() local
5203 nsegs = BFI_MEM_DMA_NSEGS(num_sgpg, sgpg_sz); in bfa_sgpg_attach()
5208 bfa_mem_dma_seg_iter(mod, seg_ptr, nsegs, idx) { in bfa_sgpg_attach()
5432 u16 nsegs, idx, per_seg_uf = 0; in bfa_uf_meminfo() local
[all …]
/OK3568_Linux_fs/kernel/tools/perf/trace/beauty/include/linux/
H A Dsocket.h411 struct iovec __user **uiov, size_t *nsegs);
/OK3568_Linux_fs/kernel/include/linux/
H A Dsocket.h411 struct iovec __user **uiov, size_t *nsegs);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dbcmdefs.h425 uint nsegs; member
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dbcmdefs.h425 uint nsegs; member

12