Home
last modified time | relevance | path

Searched refs:flen (Results 1 – 25 of 56) sorted by relevance

123

/Linux-v5.4/fs/ntfs/
Ddebug.c34 int flen = 0; in __ntfs_warning() local
41 flen = strlen(function); in __ntfs_warning()
47 sb->s_id, flen ? function : "", &vaf); in __ntfs_warning()
49 pr_warn("%s(): %pV\n", flen ? function : "", &vaf); in __ntfs_warning()
77 int flen = 0; in __ntfs_error() local
84 flen = strlen(function); in __ntfs_error()
90 sb->s_id, flen ? function : "", &vaf); in __ntfs_error()
92 pr_err("%s(): %pV\n", flen ? function : "", &vaf); in __ntfs_error()
106 int flen = 0; in __ntfs_debug() local
111 flen = strlen(function); in __ntfs_debug()
[all …]
/Linux-v5.4/fs/xfs/
Dxfs_extent_busy.c139 xfs_extlen_t flen, in xfs_extent_busy_update_extent() argument
143 xfs_agblock_t fend = fbno + flen; in xfs_extent_busy_update_extent()
266 trace_xfs_extent_busy_reuse(mp, pag->pag_agno, fbno, flen); in xfs_extent_busy_update_extent()
272 trace_xfs_extent_busy_force(mp, pag->pag_agno, fbno, flen); in xfs_extent_busy_update_extent()
286 xfs_extlen_t flen, in xfs_extent_busy_reuse() argument
292 ASSERT(flen > 0); in xfs_extent_busy_reuse()
304 if (fbno + flen <= bbno) { in xfs_extent_busy_reuse()
312 if (!xfs_extent_busy_update_extent(mp, pag, busyp, fbno, flen, in xfs_extent_busy_reuse()
340 xfs_extlen_t flen; in xfs_extent_busy_trim() local
349 flen = *len; in xfs_extent_busy_trim()
[all …]
Dxfs_discard.c66 xfs_extlen_t flen; in xfs_trim_extents() local
70 error = xfs_alloc_get_rec(cur, &fbno, &flen, &i); in xfs_trim_extents()
74 ASSERT(flen <= be32_to_cpu(XFS_BUF_TO_AGF(agbp)->agf_longest)); in xfs_trim_extents()
82 dlen = XFS_FSB_TO_BB(mp, flen); in xfs_trim_extents()
88 trace_xfs_discard_toosmall(mp, agno, fbno, flen); in xfs_trim_extents()
98 trace_xfs_discard_exclude(mp, agno, fbno, flen); in xfs_trim_extents()
106 if (xfs_extent_busy_search(mp, agno, fbno, flen)) { in xfs_trim_extents()
107 trace_xfs_discard_busy(mp, agno, fbno, flen); in xfs_trim_extents()
111 trace_xfs_discard_extent(mp, agno, fbno, flen); in xfs_trim_extents()
115 *blocks_trimmed += flen; in xfs_trim_extents()
Dxfs_reflink.c136 xfs_extlen_t *flen, in xfs_reflink_find_shared() argument
151 error = xfs_refcount_find_shared(cur, agbno, aglen, fbno, flen, in xfs_reflink_find_shared()
180 xfs_extlen_t flen; in xfs_reflink_trim_around_shared() local
196 aglen, &fbno, &flen, true); in xfs_reflink_trim_around_shared()
211 irec->br_blockcount = flen; in xfs_reflink_trim_around_shared()
1370 loff_t flen = *len + (pos_out - XFS_ISIZE(dest)); in xfs_reflink_remap_prep() local
1371 ret = xfs_flush_unmap_range(dest, XFS_ISIZE(dest), flen); in xfs_reflink_remap_prep()
1406 xfs_off_t flen; in xfs_reflink_dirty_extents() local
1442 flen = XFS_FSB_TO_B(mp, rlen); in xfs_reflink_dirty_extents()
1443 if (fpos + flen > isize) in xfs_reflink_dirty_extents()
[all …]
/Linux-v5.4/crypto/
Dmichael_mic.c66 int flen = 4 - mctx->pending_len; in michael_update() local
67 if (flen > len) in michael_update()
68 flen = len; in michael_update()
69 memcpy(&mctx->pending[mctx->pending_len], data, flen); in michael_update()
70 mctx->pending_len += flen; in michael_update()
71 data += flen; in michael_update()
72 len -= flen; in michael_update()
/Linux-v5.4/net/phonet/
Dpep-gprs.c88 int flen = 0; in gprs_recv() local
106 flen += fs->len; in gprs_recv()
109 skb->len -= flen; in gprs_recv()
110 skb->data_len -= flen; in gprs_recv()
111 skb->truesize -= flen; in gprs_recv()
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_alloc.c414 xfs_extlen_t flen, /* length of free extent */ in xfs_alloc_fixup_trees() argument
437 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees()
440 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
452 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees()
455 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
478 if (rbno == fbno && rlen == flen) in xfs_alloc_fixup_trees()
482 nflen1 = flen - rlen; in xfs_alloc_fixup_trees()
484 } else if (rbno + rlen == fbno + flen) { in xfs_alloc_fixup_trees()
486 nflen1 = flen - rlen; in xfs_alloc_fixup_trees()
492 nflen2 = (fbno + flen) - nfbno2; in xfs_alloc_fixup_trees()
[all …]
/Linux-v5.4/fs/udf/
Ddir.c48 int flen; in udf_readdir() local
179 flen = udf_get_filename(sb, nameptr, lfi, fname, UDF_NAME_LEN); in udf_readdir()
180 if (flen < 0) in udf_readdir()
185 if (!dir_emit(ctx, fname, flen, iblock, DT_UNKNOWN)) in udf_readdir()
/Linux-v5.4/fs/xfs/scrub/
Dalloc.c43 xfs_extlen_t flen; in xchk_allocbt_xref_other() local
62 error = xfs_alloc_get_rec(*pcur, &fbno, &flen, &has_otherrec); in xchk_allocbt_xref_other()
70 if (fbno != agbno || flen != len) in xchk_allocbt_xref_other()
Drmap.c39 xfs_extlen_t flen; in xchk_rmapbt_xref_refc() local
56 irec->rm_blockcount, &fbno, &flen, false); in xchk_rmapbt_xref_refc()
59 if (flen != 0 && (non_inode || is_attr || is_bmbt || is_unwritten)) in xchk_rmapbt_xref_refc()
/Linux-v5.4/fs/nfsd/
Dvfs.c1143 char *fname, int flen, struct iattr *iap, in nfsd_create_locked() argument
1251 char *fname, int flen, struct iattr *iap, in nfsd_create() argument
1258 if (isdotent(fname, flen)) in nfsd_create()
1272 dchild = lookup_one_len(fname, dentry, flen); in nfsd_create()
1284 return nfsd_create_locked(rqstp, fhp, fname, flen, iap, type, in nfsd_create()
1295 char *fname, int flen, struct iattr *iap, in do_nfsd_create() argument
1306 if (!flen) in do_nfsd_create()
1309 if (isdotent(fname, flen)) in do_nfsd_create()
1329 dchild = lookup_one_len(fname, dentry, flen); in do_nfsd_create()
1497 char *fname, int flen, in nfsd_symlink() argument
[all …]
Dxdr.h50 unsigned int flen; member
71 unsigned int flen; member
/Linux-v5.4/arch/powerpc/net/
Dbpf_jit_comp.c115 int flen = fp->len; in bpf_jit_build_body() local
121 unsigned int exit_addr = addrs[flen]; in bpf_jit_build_body()
123 for (i = 0; i < flen; i++) { in bpf_jit_build_body()
269 if (i != flen - 1) { in bpf_jit_build_body()
285 if (i != flen - 1) { in bpf_jit_build_body()
560 int flen = fp->len; in bpf_jit_compile() local
565 addrs = kcalloc(flen + 1, sizeof(*addrs), GFP_KERNEL); in bpf_jit_compile()
660 bpf_jit_dump(flen, proglen, pass, code_base); in bpf_jit_compile()
Dbpf_jit_comp64.c297 int flen = fp->len; in bpf_jit_build_body() local
301 u32 exit_addr = addrs[flen]; in bpf_jit_build_body()
303 for (i = 0; i < flen; i++) { in bpf_jit_build_body()
757 if (i != flen - 1) in bpf_jit_build_body()
1085 int flen; in bpf_int_jit_compile() local
1114 flen = fp->len; in bpf_int_jit_compile()
1126 addrs = kcalloc(flen + 1, sizeof(*addrs), GFP_KERNEL); in bpf_int_jit_compile()
1213 bpf_jit_dump(flen, proglen, pass, code_base); in bpf_int_jit_compile()
/Linux-v5.4/net/core/
Dsock_diag.c76 unsigned int flen; in sock_diag_put_filterinfo() local
93 flen = bpf_classic_proglen(fprog); in sock_diag_put_filterinfo()
95 attr = nla_reserve(skb, attrtype, flen); in sock_diag_put_filterinfo()
101 memcpy(nla_data(attr), fprog->filter, flen); in sock_diag_put_filterinfo()
/Linux-v5.4/drivers/media/usb/pwc/
Dpwc-if.c277 int i, fst, flen; in pwc_isoc_handler() local
335 flen = urb->iso_frame_desc[i].actual_length; in pwc_isoc_handler()
341 if (flen > 0 && pdev->vsync) { in pwc_isoc_handler()
349 if (flen + fbuf->filled > pdev->frame_total_size) { in pwc_isoc_handler()
351 flen + fbuf->filled, in pwc_isoc_handler()
356 flen); in pwc_isoc_handler()
357 fbuf->filled += flen; in pwc_isoc_handler()
360 if (flen < pdev->vlast_packet_size) { in pwc_isoc_handler()
371 pdev->vlast_packet_size = flen; in pwc_isoc_handler()
/Linux-v5.4/tools/bpf/
Dbpf_jit_disasm.c176 int ret, flen, pass, ulen = 0; in get_last_jit_image() local
204 &flen, &proglen, &pass, &base); in get_last_jit_image()
244 proglen, pass, flen); in get_last_jit_image()
/Linux-v5.4/tools/perf/jvmti/
Djvmti_agent.c422 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-v5.4/net/decnet/
Ddn_nsp_in.c177 unsigned char flen = *ptr++; in dn_check_idf() local
180 if (flen > max) in dn_check_idf()
182 if ((flen + follow_on) > *len) in dn_check_idf()
185 *len -= flen; in dn_check_idf()
186 *pptr = ptr + flen; in dn_check_idf()
/Linux-v5.4/drivers/net/ppp/
Dppp_generic.c1680 int flen; in ppp_mp_explode() local
1805 flen = len; in ppp_mp_explode()
1808 flen = len/nfree; in ppp_mp_explode()
1810 flen++; in ppp_mp_explode()
1814 flen = (((totfree - nzero)*(totlen + hdrlen*totfree)) / in ppp_mp_explode()
1817 flen += ((totfree - nzero)*pch->speed)/totspeed; in ppp_mp_explode()
1830 if ((nfree <= 0) || (flen > len)) in ppp_mp_explode()
1831 flen = len; in ppp_mp_explode()
1838 if (flen <= 0) { in ppp_mp_explode()
1852 if (flen > mtu) in ppp_mp_explode()
[all …]
/Linux-v5.4/drivers/net/wireless/intersil/hostap/
Dhostap_80211_rx.c920 int flen; in hostap_80211_rx() local
931 flen = skb->len; in hostap_80211_rx()
933 flen -= hdrlen; in hostap_80211_rx()
935 if (frag_skb->tail + flen > frag_skb->end) { in hostap_80211_rx()
946 skb_copy_from_linear_data(skb, skb_put(frag_skb, flen), in hostap_80211_rx()
947 flen); in hostap_80211_rx()
953 flen), flen); in hostap_80211_rx()
/Linux-v5.4/arch/sparc/net/
Dbpf_jit_comp_32.c331 int i, flen = fp->len, pc_ret0 = -1; in bpf_jit_compile() local
338 addrs = kmalloc_array(flen, sizeof(*addrs), GFP_KERNEL); in bpf_jit_compile()
345 for (proglen = 0, i = 0; i < flen; i++) { in bpf_jit_compile()
390 for (i = 0; i < flen; i++) { in bpf_jit_compile()
497 if (i != flen - 1) { in bpf_jit_compile()
747 bpf_jit_dump(flen, proglen, pass + 1, image); in bpf_jit_compile()
/Linux-v5.4/tools/testing/selftests/net/
Dpsock_tpacket.c72 int type, rd_num, flen, version; member
643 ring->flen = ring->req.tp_frame_size; in __v1_v2_fill()
664 ring->flen = ring->req3.tp_block_size; in __v3_fill()
721 ring->rd[i].iov_base = ring->mm_space + (i * ring->flen); in mmap_ring()
722 ring->rd[i].iov_len = ring->flen; in mmap_ring()
/Linux-v5.4/Documentation/devicetree/bindings/leds/
Dleds-aat1290.txt12 - flen-gpios : Must be device tree identifier of the flash device FL_EN pin.
48 flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>;
/Linux-v5.4/scripts/mod/
Dsumversion.c309 unsigned long flen, pos = 0; in parse_source_files() local
327 file = grab_file(cmd, &flen); in parse_source_files()
334 while ((line = get_next_line(&pos, file, flen)) != NULL) { in parse_source_files()
385 release_file(file, flen); in parse_source_files()

123