Home
last modified time | relevance | path

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

/fs/isofs/
Drock.c429 int slen; in parse_rock_ridge_inode_internal() local
432 slen = rr->len - 5; in parse_rock_ridge_inode_internal()
435 while (slen > 1) { in parse_rock_ridge_inode_internal()
456 slen -= slp->len + 2; in parse_rock_ridge_inode_internal()
461 if (slen < 2) { in parse_rock_ridge_inode_internal()
574 int slen; in get_symlink_chunk() local
578 slen = rr->len - 5; in get_symlink_chunk()
580 while (slen > 1) { in get_symlink_chunk()
610 slen -= slp->len + 2; in get_symlink_chunk()
614 if (slen < 2) { in get_symlink_chunk()
/fs/sysfs/
Dsymlink.c266 int slen = strlen(sd->s_name); in sysfs_get_target_path() local
268 len -= slen; in sysfs_get_target_path()
269 strncpy(s + len, sd->s_name, slen); in sysfs_get_target_path()
/fs/nfs/
Dunlink.c474 const int slen = sizeof(".nfs")+fileidsize+countersize-1; in nfs_sillyrename() local
475 char silly[slen+1]; in nfs_sillyrename()
501 char *suffix = silly + slen - countersize; in nfs_sillyrename()
510 sdentry = lookup_one_len(silly, dentry->d_parent, slen); in nfs_sillyrename()
/fs/f2fs/
Dnamei.c84 size_t slen = strlen(s); in is_multimedia_file() local
88 if (sublen > slen) in is_multimedia_file()
91 ret = memcmp(s + slen - sublen, sub, sublen); in is_multimedia_file()
97 return !memcmp(s + slen - sublen, upper_sub, sublen); in is_multimedia_file()
/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.c2945 int slen, sfamily; in generic_ip_connect() local
2953 slen = sizeof(struct sockaddr_in6); in generic_ip_connect()
2957 slen = sizeof(struct sockaddr_in); in generic_ip_connect()
3013 rc = socket->ops->connect(socket, saddr, slen, 0); in generic_ip_connect()
/fs/nfsd/
Dnfsxdr.c501 int buflen, slen; in nfssvc_encode_entry() local
517 slen = XDR_QUADLEN(namlen); in nfssvc_encode_entry()
518 if ((buflen = cd->buflen - slen - 4) < 0) { in nfssvc_encode_entry()
Dnfs3xdr.c884 int slen; /* string (name) length */ in encode_entry() local
910 slen = XDR_QUADLEN(namlen); in encode_entry()
911 elen = slen + NFS3_ENTRY_BAGGAGE in encode_entry()
/fs/udf/
Dunicode.c337 int udf_get_filename(struct super_block *sb, uint8_t *sname, int slen, in udf_get_filename() argument
351 if (udf_build_ustr_exact(unifilename, sname, slen)) in udf_get_filename()
/fs/xfs/
Dxfs_rtalloc.c2119 long slen = (long)*len; in xfs_rtallocate_extent() local
2123 xfs_trans_mod_sb(tp, XFS_TRANS_SB_RES_FREXTENTS, -slen); in xfs_rtallocate_extent()
2125 xfs_trans_mod_sb(tp, XFS_TRANS_SB_FREXTENTS, -slen); in xfs_rtallocate_extent()
Dxfs_alloc.c765 xfs_extlen_t *slen, /* extent length */ in xfs_alloc_find_best_extent() argument
783 error = xfs_alloc_get_rec(*scur, sbno, slen, &i); in xfs_alloc_find_best_extent()
787 xfs_alloc_compute_aligned(args, *sbno, *slen, sbnoa, slena); in xfs_alloc_find_best_extent()
/fs/ocfs2/cluster/
Dtcp.c1828 int ret, slen; in o2net_accept_one() local
1856 slen = sizeof(sin); in o2net_accept_one()
1858 &slen, 1); in o2net_accept_one()