/linux/fs/xfs/ |
H A D | xfs_extent_busy.c | 155 xfs_extlen_t flen, in xfs_extent_busy_update_extent() argument 159 xfs_agblock_t fend = fbno + flen; in xfs_extent_busy_update_extent() 303 xfs_extlen_t flen, in xfs_extent_busy_reuse() argument 308 ASSERT(flen > 0); in xfs_extent_busy_reuse() 318 if (fbno + flen <= bbno) { in xfs_extent_busy_reuse() 353 xfs_extlen_t flen; in xfs_extent_busy_trim() local 361 flen = *len; in xfs_extent_busy_trim() 498 flen = fend - fbno; in xfs_extent_busy_trim() 504 fbno, flen); in xfs_extent_busy_trim() 506 *len = flen; in xfs_extent_busy_trim() [all …]
|
H A D | xfs_discard.c | 215 xfs_extlen_t flen; in xfs_trim_gather_extents() local 217 error = xfs_alloc_get_rec(cur, &fbno, &flen, &i); in xfs_trim_gather_extents() 232 tcur->count = flen; in xfs_trim_gather_extents() 241 if (fbno + flen < tcur->start) { in xfs_trim_gather_extents() 256 flen -= tcur->start - fbno; in xfs_trim_gather_extents() 259 if (fbno + flen > tcur->end + 1) in xfs_trim_gather_extents() 260 flen = tcur->end - fbno + 1; in xfs_trim_gather_extents() 263 if (flen < tcur->minlen) { in xfs_trim_gather_extents() 275 if (xfs_extent_busy_search(mp, pag, fbno, flen)) { in xfs_trim_gather_extents() 276 trace_xfs_discard_busy(mp, pag->pag_agno, fbno, flen); in xfs_trim_gather_extents() [all …]
|
/linux/fs/netfs/ |
H A D | read_pgpriv2.c | 63 size_t fsize = folio_size(folio), flen = fsize; in netfs_pgpriv2_copy_folio() local 85 if (flen > i_size - fpos) { in netfs_pgpriv2_copy_folio() 86 flen = i_size - fpos; in netfs_pgpriv2_copy_folio() 88 } else if (flen == i_size - fpos) { in netfs_pgpriv2_copy_folio() 92 _debug("folio %zx %zx", flen, fsize); in netfs_pgpriv2_copy_folio() 102 cache->submit_len = flen; in netfs_pgpriv2_copy_folio() 129 if (flen < fsize) in netfs_pgpriv2_copy_folio() 219 size_t fsize, flen; in netfs_pgpriv2_unlock_copied_folios() local 229 flen = fsize; in netfs_pgpriv2_unlock_copied_folios() 231 fend = min_t(unsigned long long, fpos + flen, wreq->i_size); in netfs_pgpriv2_unlock_copied_folios()
|
H A D | iterator.c | 170 size_t offset, flen, len; in netfs_limit_xarray() local 178 flen = folio_size(folio); in netfs_limit_xarray() 180 len = min(max_size, flen - offset); in netfs_limit_xarray() 217 size_t flen = folioq_folio_size(folioq, slot); in netfs_limit_folioq() local 219 if (start_offset < flen) { in netfs_limit_folioq() 220 span += flen - start_offset; in netfs_limit_folioq() 224 start_offset -= flen; in netfs_limit_folioq()
|
H A D | write_issue.c | 352 flen = foff + finfo->dirty_len; in netfs_write_folio() 358 if (flen > i_size - fpos) in netfs_write_folio() 359 flen = i_size - fpos; in netfs_write_folio() 360 } else if (flen > i_size - fpos) { in netfs_write_folio() 361 flen = i_size - fpos; in netfs_write_folio() 363 folio_zero_segment(folio, flen, fsize); in netfs_write_folio() 365 } else if (flen == i_size - fpos) { in netfs_write_folio() 368 flen -= foff; in netfs_write_folio() 370 _debug("folio %zx %zx %zx", foff, flen, fsize); in netfs_write_folio() 444 stream->submit_len = flen; in netfs_write_folio() [all …]
|
H A D | buffered_write.c | 147 size_t flen; in netfs_perform_write() local 176 flen = folio_size(folio); in netfs_perform_write() 179 part = min_t(size_t, flen - offset, part); in netfs_perform_write() 230 zero_user_segment(&folio->page, offset + copied, flen); in netfs_perform_write() 238 if (!maybe_trouble && offset == 0 && part >= flen) { in netfs_perform_write() 289 if (offset == 0 && copied == flen) { in netfs_perform_write() 320 if (finfo->dirty_offset == 0 && finfo->dirty_len == flen) { in netfs_perform_write() 339 ret = filemap_write_and_wait_range(mapping, fpos, fpos + flen - 1); in netfs_perform_write() 359 offset + copied == flen, in netfs_perform_write()
|
H A D | buffered_read.c | 470 size_t flen = folio_size(folio); in netfs_read_gaps() local 471 size_t nr_bvec = flen / PAGE_SIZE + 2; in netfs_read_gaps() 477 rreq = netfs_alloc_request(mapping, file, folio_pos(folio), flen, NETFS_READ_GAPS); in netfs_read_gaps() 517 if (to < flen) in netfs_read_gaps() 518 bvec_set_folio(&bvec[i++], folio, flen - to, to); in netfs_read_gaps() 520 rreq->submitted = rreq->start + flen; in netfs_read_gaps() 785 size_t flen = folio_size(folio); in netfs_prefetch_for_write() local 788 _enter("%zx @%llx", flen, start); in netfs_prefetch_for_write() 792 rreq = netfs_alloc_request(mapping, file, start, flen, in netfs_prefetch_for_write() 806 trace_netfs_read(rreq, start, flen, netfs_read_trace_prefetch_for_write); in netfs_prefetch_for_write()
|
H A D | misc.c | 227 size_t flen = folio_size(folio); in netfs_invalidate_folio() local 231 if (offset == 0 && length == flen) { in netfs_invalidate_folio() 235 end = umin(fpos + flen, i_size); in netfs_invalidate_folio() 247 if (offset == 0 && length >= flen) in netfs_invalidate_folio()
|
/linux/crypto/ |
H A D | michael_mic.c | 65 int flen = 4 - mctx->pending_len; in michael_update() local 66 if (flen > len) in michael_update() 67 flen = len; in michael_update() 68 memcpy((u8 *)&mctx->pending + mctx->pending_len, data, flen); in michael_update() 69 mctx->pending_len += flen; in michael_update() 70 data += flen; in michael_update() 71 len -= flen; in michael_update()
|
/linux/fs/udf/ |
H A D | dir.c | 39 int flen; in udf_readdir() local 106 flen = udf_get_filename(sb, iter.name, in udf_readdir() 108 if (flen < 0) in udf_readdir() 113 if (!dir_emit(ctx, fname, flen, iblock, DT_UNKNOWN)) in udf_readdir()
|
/linux/tools/testing/selftests/net/ |
H A D | srv6_end_next_csid_l3vpn_test.sh | 1000 local flen="$4" 1007 if [ "${flen}" != "d" ]; then 1008 layout="${layout} nflen ${flen}" 1024 local flen="$3" 1030 __nextcsid_end_behavior_test "${nsname}" "add" "${blen}" "${flen}" 1032 __nextcsid_end_behavior_test "${nsname}" "del" "${blen}" "${flen}" 1050 local flen 1058 flen="$(__parse_csid_container_cfg "${cfg}" 2)" 1064 "${flen}" 1069 "Accept valid C-SID container cfg (lblen=${blen}, nflen=${flen})" [all …]
|
H A D | srv6_end_x_next_csid_l3vpn_test.sh | 1067 local flen="$4" 1074 if [ "${flen}" != "d" ]; then 1075 layout="${layout} nflen ${flen}" 1092 local flen="$3" 1098 __nextcsid_end_x_behavior_test "${nsname}" "add" "${blen}" "${flen}" 1100 __nextcsid_end_x_behavior_test "${nsname}" "del" "${blen}" "${flen}" 1118 local flen 1126 flen="$(__parse_csid_container_cfg "${cfg}" 2)" 1132 "${flen}" 1137 "Accept valid C-SID container cfg (lblen=${blen}, nflen=${flen})" [all …]
|
/linux/net/phonet/ |
H A D | pep-gprs.c | 90 int flen = 0; in gprs_recv() local 108 flen += fs->len; in gprs_recv() 111 skb->len -= flen; in gprs_recv() 112 skb->data_len -= flen; in gprs_recv() 113 skb->truesize -= flen; in gprs_recv()
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_alloc.c | 661 nflen1 = flen - rlen; in xfs_alloc_fixup_trees() 665 nflen1 = flen - rlen; in xfs_alloc_fixup_trees() 1297 flen = 0; in xfs_alloc_ag_vextent_small() 1300 *flenp = flen; in xfs_alloc_ag_vextent_small() 1367 tlen = flen; in xfs_alloc_ag_vextent_exact() 1897 (rlen > flen || in xfs_alloc_ag_vextent_size() 1911 bestflen = flen; in xfs_alloc_ag_vextent_size() 1933 (rlen > flen || in xfs_alloc_ag_vextent_size() 1942 bestflen = flen; in xfs_alloc_ag_vextent_size() 1958 flen = bestflen; in xfs_alloc_ag_vextent_size() [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | skyworks,aat1290.yaml | 28 flen-gpios: 67 - flen-gpios 80 flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>;
|
/linux/fs/xfs/scrub/ |
H A D | alloc.c | 64 xfs_extlen_t flen; in xchk_allocbt_xref_other() local 83 error = xfs_alloc_get_rec(*pcur, &fbno, &flen, &has_otherrec); in xchk_allocbt_xref_other() 91 if (fbno != agbno || flen != len) in xchk_allocbt_xref_other()
|
/linux/include/linux/ |
H A D | iov_iter.h | 213 size_t remain, consumed, offset, part, flen; in iterate_xarray() local 223 flen = min(folio_size(folio) - offset, len); in iterate_xarray() 225 while (flen) { in iterate_xarray() 228 part = min_t(size_t, flen, in iterate_xarray() 239 flen -= consumed; in iterate_xarray()
|
/linux/net/core/ |
H A D | sock_diag.c | 82 unsigned int flen; in sock_diag_put_filterinfo() local 99 flen = bpf_classic_proglen(fprog); in sock_diag_put_filterinfo() 101 attr = nla_reserve(skb, attrtype, flen); in sock_diag_put_filterinfo() 107 memcpy(nla_data(attr), fprog->filter, flen); in sock_diag_put_filterinfo()
|
/linux/tools/testing/selftests/arm64/signal/ |
H A D | test_signals_utils.c | 40 size_t flen = MAX_FEATS_SZ - 1; in feats_to_string() local 48 assert(flen > tlen); in feats_to_string() 49 flen -= tlen; in feats_to_string() 50 strncat(feats_string, feats_names[i], flen); in feats_to_string()
|
/linux/arch/powerpc/net/ |
H A D | bpf_jit_comp.c | 72 int flen; in bpf_int_jit_compile() local 106 flen = fp->len; in bpf_int_jit_compile() 126 addrs = kcalloc(flen + 1, sizeof(*addrs), GFP_KERNEL); in bpf_int_jit_compile() 215 bpf_jit_dump(flen, proglen, pass, code_base); in bpf_int_jit_compile()
|
/linux/drivers/media/usb/pwc/ |
H A D | pwc-if.c | 289 int i, fst, flen; in pwc_isoc_handler() local 347 flen = urb->iso_frame_desc[i].actual_length; in pwc_isoc_handler() 353 if (flen > 0 && pdev->vsync) { in pwc_isoc_handler() 361 if (flen + fbuf->filled > pdev->frame_total_size) { in pwc_isoc_handler() 363 flen + fbuf->filled, in pwc_isoc_handler() 368 flen); in pwc_isoc_handler() 369 fbuf->filled += flen; in pwc_isoc_handler() 372 if (flen < pdev->vlast_packet_size) { in pwc_isoc_handler() 383 pdev->vlast_packet_size = flen; in pwc_isoc_handler()
|
/linux/tools/bpf/ |
H A D | bpf_jit_disasm.c | 179 int ret, flen, pass, ulen = 0; in get_last_jit_image() local 207 &flen, &proglen, &pass, &base); in get_last_jit_image() 247 proglen, pass, flen); in get_last_jit_image()
|
/linux/tools/testing/selftests/alsa/ |
H A D | conf.c | 254 size_t flen; in filename_filter() local 260 flen = strlen(dirent->d_name); in filename_filter() 261 if (flen <= 5) in filename_filter() 263 if (strncmp(&dirent->d_name[flen-5], ".conf", 5) == 0) in filename_filter()
|
/linux/tools/perf/jvmti/ |
H A D | jvmti_agent.c | 422 size_t sret, len, size, flen = 0; in jvmti_write_debug_info() local 439 flen += strlen(file_names[i]) + 1; in jvmti_write_debug_info() 456 size += flen; in jvmti_write_debug_info()
|
/linux/fs/nfsd/ |
H A D | xdr.h | 49 unsigned int flen; member 65 unsigned int flen; member
|