/fs/isofs/ |
D | rock.c | 450 int slen; in parse_rock_ridge_inode_internal() local 453 slen = rr->len - 5; in parse_rock_ridge_inode_internal() 456 while (slen > 1) { in parse_rock_ridge_inode_internal() 477 slen -= slp->len + 2; in parse_rock_ridge_inode_internal() 482 if (slen < 2) { in parse_rock_ridge_inode_internal() 605 int slen; in get_symlink_chunk() local 609 slen = rr->len - 5; in get_symlink_chunk() 611 while (slen > 1) { in get_symlink_chunk() 641 slen -= slp->len + 2; in get_symlink_chunk() 645 if (slen < 2) { in get_symlink_chunk()
|
/fs/udf/ |
D | unicode.c | 370 int udf_get_filename(struct super_block *sb, const uint8_t *sname, int slen, in udf_get_filename() argument 376 if (!slen) in udf_get_filename() 389 ret = udf_name_from_CS0(dname, dlen, sname, slen, conv_f, 1); in udf_get_filename() 396 int udf_put_filename(struct super_block *sb, const uint8_t *sname, int slen, in udf_put_filename() argument 408 return udf_name_to_CS0(dname, dlen, sname, slen, conv_f); in udf_put_filename()
|
/fs/kernfs/ |
D | symlink.c | 91 int slen = strlen(kn->name); in kernfs_get_target_path() local 93 len -= slen; in kernfs_get_target_path() 94 memcpy(s + len, kn->name, slen); in kernfs_get_target_path()
|
/fs/overlayfs/ |
D | inode.c | 303 size_t slen = strnlen(s, len) + 1; in ovl_listxattr() local 306 if (WARN_ON(slen > len)) in ovl_listxattr() 309 len -= slen; in ovl_listxattr() 311 res -= slen; in ovl_listxattr() 312 memmove(s, s + slen, len); in ovl_listxattr() 314 s += slen; in ovl_listxattr()
|
D | copy_up.c | 63 size_t slen; in ovl_copy_xattr() local 86 for (name = buf; list_size; name += slen) { in ovl_copy_xattr() 87 slen = strnlen(name, list_size) + 1; in ovl_copy_xattr() 90 if (WARN_ON(slen > list_size)) { in ovl_copy_xattr() 94 list_size -= slen; in ovl_copy_xattr()
|
/fs/nfs/ |
D | unlink.c | 471 int slen; in nfs_sillyrename() local 474 slen = scnprintf(silly, sizeof(silly), in nfs_sillyrename() 482 sdentry = lookup_one_len(silly, dentry->d_parent, slen); in nfs_sillyrename()
|
/fs/cifs/ |
D | netmisc.c | 167 int rc, alen, slen; in cifs_convert_address() local 190 slen = len - (alen + 1); in cifs_convert_address() 191 if (slen <= 0 || slen > 12) in cifs_convert_address() 193 memcpy(scope_id, pct + 1, slen); in cifs_convert_address() 194 scope_id[slen] = '\0'; in cifs_convert_address()
|
D | connect.c | 3294 int slen, sfamily; in generic_ip_connect() local 3302 slen = sizeof(struct sockaddr_in6); in generic_ip_connect() 3306 slen = sizeof(struct sockaddr_in); in generic_ip_connect() 3362 rc = socket->ops->connect(socket, saddr, slen, 0); in generic_ip_connect()
|
/fs/nfsd/ |
D | nfsxdr.c | 522 int buflen, slen; in nfssvc_encode_entry() local 538 slen = XDR_QUADLEN(namlen); in nfssvc_encode_entry() 540 if ((buflen = cd->buflen - slen - 4) < 0) { in nfssvc_encode_entry()
|
D | nfs3xdr.c | 910 int slen; /* string (name) length */ in encode_entry() local 936 slen = XDR_QUADLEN(namlen); in encode_entry() 937 elen = slen + NFS3_ENTRY_BAGGAGE in encode_entry()
|
/fs/xfs/ |
D | xfs_rtalloc.c | 1142 long slen = (long)*len; in xfs_rtallocate_extent() local 1146 xfs_trans_mod_sb(tp, XFS_TRANS_SB_RES_FREXTENTS, -slen); in xfs_rtallocate_extent() 1148 xfs_trans_mod_sb(tp, XFS_TRANS_SB_FREXTENTS, -slen); in xfs_rtallocate_extent()
|
/fs/f2fs/ |
D | namei.c | 148 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/ |
D | tcp.c | 1822 int ret, slen; in o2net_accept_one() local 1867 slen = sizeof(sin); in o2net_accept_one() 1869 &slen, 1); in o2net_accept_one()
|
/fs/xfs/libxfs/ |
D | xfs_alloc.c | 871 xfs_extlen_t *slen, /* extent length */ in xfs_alloc_find_best_extent() argument 890 error = xfs_alloc_get_rec(*scur, sbno, slen, &i); in xfs_alloc_find_best_extent() 894 xfs_alloc_compute_aligned(args, *sbno, *slen, in xfs_alloc_find_best_extent()
|