Home
last modified time | relevance | path

Searched refs:slen (Results 1 – 14 of 14) 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.c256 size_t slen = strnlen(s, len) + 1; in ovl_listxattr() local
259 if (WARN_ON(slen > len)) in ovl_listxattr()
262 len -= slen; in ovl_listxattr()
264 res -= slen; in ovl_listxattr()
265 memmove(s, s + slen, len); in ovl_listxattr()
267 s += slen; in ovl_listxattr()
Dcopy_up.c60 size_t slen; in ovl_copy_xattr() local
83 for (name = buf; list_size; name += slen) { in ovl_copy_xattr()
84 slen = strnlen(name, list_size) + 1; in ovl_copy_xattr()
87 if (WARN_ON(slen > list_size)) { in ovl_copy_xattr()
91 list_size -= slen; in ovl_copy_xattr()
/fs/udf/
Dunicode.c362 int udf_get_filename(struct super_block *sb, const uint8_t *sname, int slen, in udf_get_filename() argument
368 if (!slen) in udf_get_filename()
381 ret = udf_name_from_CS0(dname, dlen, sname, slen, conv_f, 1); in udf_get_filename()
388 int udf_put_filename(struct super_block *sb, const uint8_t *sname, int slen, in udf_put_filename() argument
400 return udf_name_to_CS0(dname, dlen, sname, slen, conv_f); in udf_put_filename()
/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/nfs/
Dunlink.c457 int slen; in nfs_sillyrename() local
460 slen = scnprintf(silly, sizeof(silly), in nfs_sillyrename()
468 sdentry = lookup_one_len(silly, dentry->d_parent, slen); in nfs_sillyrename()
/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.c3091 int slen, sfamily; in generic_ip_connect() local
3099 slen = sizeof(struct sockaddr_in6); in generic_ip_connect()
3103 slen = sizeof(struct sockaddr_in); in generic_ip_connect()
3159 rc = socket->ops->connect(socket, saddr, slen, 0); in generic_ip_connect()
/fs/nfsd/
Dnfsxdr.c505 int buflen, slen; in nfssvc_encode_entry() local
521 slen = XDR_QUADLEN(namlen); in nfssvc_encode_entry()
523 if ((buflen = cd->buflen - slen - 4) < 0) { in nfssvc_encode_entry()
Dnfs3xdr.c887 int slen; /* string (name) length */ in encode_entry() local
912 slen = XDR_QUADLEN(namlen); in encode_entry()
913 elen = slen + NFS3_ENTRY_BAGGAGE in encode_entry()
/fs/xfs/
Dxfs_rtalloc.c1154 long slen = (long)*len; in xfs_rtallocate_extent() local
1158 xfs_trans_mod_sb(tp, XFS_TRANS_SB_RES_FREXTENTS, -slen); in xfs_rtallocate_extent()
1160 xfs_trans_mod_sb(tp, XFS_TRANS_SB_FREXTENTS, -slen); in xfs_rtallocate_extent()
/fs/f2fs/
Dnamei.c148 size_t slen = strlen(s); in is_extension_exist() local
156 if (slen < sublen + 2) in is_extension_exist()
159 for (i = 1; i < slen - sublen; i++) { in is_extension_exist()
/fs/ocfs2/cluster/
Dtcp.c1839 int ret, slen; in o2net_accept_one() local
1884 slen = sizeof(sin); in o2net_accept_one()
1886 &slen, 1); in o2net_accept_one()
/fs/xfs/libxfs/
Dxfs_alloc.c847 xfs_extlen_t *slen, /* extent length */ in xfs_alloc_find_best_extent() argument
865 error = xfs_alloc_get_rec(*scur, sbno, slen, &i); in xfs_alloc_find_best_extent()
869 xfs_alloc_compute_aligned(args, *sbno, *slen, sbnoa, slena); in xfs_alloc_find_best_extent()