Home
last modified time | relevance | path

Searched refs:slen (Results 1 – 13 of 13) sorted by relevance

/fs/isofs/
Drock.c449 int slen; in parse_rock_ridge_inode_internal() local
452 slen = rr->len - 5; in parse_rock_ridge_inode_internal()
455 while (slen > 1) { in parse_rock_ridge_inode_internal()
476 slen -= slp->len + 2; in parse_rock_ridge_inode_internal()
481 if (slen < 2) { in parse_rock_ridge_inode_internal()
604 int slen; in get_symlink_chunk() local
608 slen = rr->len - 5; in get_symlink_chunk()
610 while (slen > 1) { in get_symlink_chunk()
640 slen -= slp->len + 2; in get_symlink_chunk()
644 if (slen < 2) { in get_symlink_chunk()
/fs/overlayfs/
Dinode.c278 size_t slen = strnlen(s, len) + 1; in ovl_listxattr() local
281 if (WARN_ON(slen > len)) in ovl_listxattr()
284 len -= slen; in ovl_listxattr()
286 res -= slen; in ovl_listxattr()
287 memmove(s, s + slen, len); in ovl_listxattr()
289 s += slen; in ovl_listxattr()
/fs/kernfs/
Dsymlink.c88 int slen = strlen(kn->name); in kernfs_get_target_path() local
90 len -= slen; in kernfs_get_target_path()
91 strncpy(s + len, kn->name, slen); in kernfs_get_target_path()
/fs/cifs/
Dnetmisc.c171 int rc, alen, slen; in cifs_convert_address() local
194 slen = len - (alen + 1); in cifs_convert_address()
195 if (slen <= 0 || slen > 12) in cifs_convert_address()
197 memcpy(scope_id, pct + 1, slen); in cifs_convert_address()
198 scope_id[slen] = '\0'; in cifs_convert_address()
Dconnect.c3011 int slen, sfamily; in generic_ip_connect() local
3019 slen = sizeof(struct sockaddr_in6); in generic_ip_connect()
3023 slen = sizeof(struct sockaddr_in); in generic_ip_connect()
3079 rc = socket->ops->connect(socket, saddr, slen, 0); in generic_ip_connect()
/fs/nfs/
Dunlink.c539 int slen; in nfs_sillyrename() local
542 slen = scnprintf(silly, sizeof(silly), in nfs_sillyrename()
550 sdentry = lookup_one_len(silly, dentry->d_parent, slen); in nfs_sillyrename()
/fs/nfsd/
Dnfsxdr.c503 int buflen, slen; in nfssvc_encode_entry() local
519 slen = XDR_QUADLEN(namlen); in nfssvc_encode_entry()
521 if ((buflen = cd->buflen - slen - 4) < 0) { in nfssvc_encode_entry()
Dnfs3xdr.c880 int slen; /* string (name) length */ in encode_entry() local
905 slen = XDR_QUADLEN(namlen); in encode_entry()
906 elen = slen + NFS3_ENTRY_BAGGAGE in encode_entry()
/fs/udf/
Dunicode.c352 int udf_get_filename(struct super_block *sb, uint8_t *sname, int slen, in udf_get_filename() argument
366 if (udf_build_ustr_exact(unifilename, sname, slen)) in udf_get_filename()
/fs/xfs/
Dxfs_rtalloc.c1165 long slen = (long)*len; in xfs_rtallocate_extent() local
1169 xfs_trans_mod_sb(tp, XFS_TRANS_SB_RES_FREXTENTS, -slen); in xfs_rtallocate_extent()
1171 xfs_trans_mod_sb(tp, XFS_TRANS_SB_FREXTENTS, -slen); in xfs_rtallocate_extent()
/fs/f2fs/
Dnamei.c144 size_t slen = strlen(s); in is_multimedia_file() local
152 if (slen < sublen + 2) in is_multimedia_file()
155 for (i = 1; i < slen - sublen; i++) { in is_multimedia_file()
/fs/ocfs2/cluster/
Dtcp.c1841 int ret, slen; in o2net_accept_one() local
1886 slen = sizeof(sin); in o2net_accept_one()
1888 &slen, 1); in o2net_accept_one()
/fs/xfs/libxfs/
Dxfs_alloc.c767 xfs_extlen_t *slen, /* extent length */ in xfs_alloc_find_best_extent() argument
785 error = xfs_alloc_get_rec(*scur, sbno, slen, &i); in xfs_alloc_find_best_extent()
789 xfs_alloc_compute_aligned(args, *sbno, *slen, sbnoa, slena); in xfs_alloc_find_best_extent()