Searched refs:plen (Results 1 – 7 of 7) sorted by relevance
/fs/befs/ |
D | datastream.c | 130 u16 plen; in befs_read_lsymlink() local 143 plen = ((bytes_read + BEFS_SB(sb)->block_size) < len) ? in befs_read_lsymlink() 145 memcpy(buff + bytes_read, bh->b_data, plen); in befs_read_lsymlink() 147 bytes_read += plen; in befs_read_lsymlink()
|
/fs/ |
D | splice.c | 439 unsigned int plen; in __generic_file_splice_read() local 444 plen = ((isize - 1) & ~PAGE_CACHE_MASK) + 1; in __generic_file_splice_read() 445 if (plen <= loff) in __generic_file_splice_read() 451 this_len = min(this_len, plen - loff); in __generic_file_splice_read() 1232 const int plen = min_t(size_t, len, PAGE_SIZE - off); in get_iovec_page_array() local 1235 partial[buffers].len = plen; in get_iovec_page_array() 1238 len -= plen; in get_iovec_page_array()
|
/fs/ubifs/ |
D | journal.c | 909 int aligned_dlen1, aligned_dlen2, plen = UBIFS_INO_NODE_SZ; in ubifs_jnl_rename() local 936 len = aligned_dlen1 + aligned_dlen2 + ALIGN(ilen, 8) + ALIGN(plen, 8); in ubifs_jnl_rename() 938 len += plen; in ubifs_jnl_rename() 982 p += ALIGN(plen, 8); in ubifs_jnl_rename() 1033 err = ubifs_tnc_add(c, &key, lnum, offs, plen); in ubifs_jnl_rename() 1038 offs += ALIGN(plen, 8); in ubifs_jnl_rename() 1040 err = ubifs_tnc_add(c, &key, lnum, offs, plen); in ubifs_jnl_rename()
|
/fs/jfs/ |
D | jfs_xtree.h | 112 int *pflag, s64 * paddr, int *plen, int flag);
|
D | jfs_xtree.c | 146 s64 llen, int *pflag, s64 * paddr, s32 * plen, int no_check) in xtLookup() argument 161 *plen = llen; in xtLookup() 198 *plen = min(next - lstart, llen); in xtLookup() 215 *plen = min(xend - lstart, llen); in xtLookup() 260 s64 llen, xlen, plen; in xtLookupList() local 356 plen = min(lend - xstart, xlen); in xtLookupList() 368 plen = min(xend - lstart, llen); in xtLookupList() 403 XT_PUTENTRY(pxd, xad->flag, pstart, plen, paddr); in xtLookupList()
|
/fs/nfsd/ |
D | vfs.c | 1515 char *path, int plen, in nfsd_symlink() argument 1524 if (!flen || !plen) in nfsd_symlink() 1544 if (unlikely(path[plen] != 0)) { in nfsd_symlink() 1545 char *path_alloced = kmalloc(plen+1, GFP_KERNEL); in nfsd_symlink() 1549 strncpy(path_alloced, path, plen); in nfsd_symlink() 1550 path_alloced[plen] = 0; in nfsd_symlink()
|
/fs/cifs/ |
D | cifssmb.c | 94 int plen; in cifs_strncpy_to_host() local 97 plen = UniStrnlen((wchar_t *)src, maxlen); in cifs_strncpy_to_host() 98 *dst = kmalloc(plen + 2, GFP_KERNEL); in cifs_strncpy_to_host() 101 cifs_strfromUCS_le(*dst, (__le16 *)src, plen, nls_codepage); in cifs_strncpy_to_host() 103 plen = strnlen(src, maxlen); in cifs_strncpy_to_host() 104 *dst = kmalloc(plen + 2, GFP_KERNEL); in cifs_strncpy_to_host() 107 strncpy(*dst, src, plen); in cifs_strncpy_to_host() 109 (*dst)[plen] = 0; in cifs_strncpy_to_host() 110 (*dst)[plen+1] = 0; /* harmless for ASCII case, needed for Unicode */ in cifs_strncpy_to_host()
|