Home
last modified time | relevance | path

Searched refs:iname (Results 1 – 4 of 4) sorted by relevance

/fs/ext4/
Dcrypto_fname.c65 const struct qstr *iname, in ext4_fname_encrypt() argument
80 if (iname->len <= 0 || iname->len > lim) in ext4_fname_encrypt()
83 ciphertext_len = (iname->len < EXT4_CRYPTO_BLOCK_SIZE) ? in ext4_fname_encrypt()
84 EXT4_CRYPTO_BLOCK_SIZE : iname->len; in ext4_fname_encrypt()
111 memcpy(workbuf, iname->name, iname->len); in ext4_fname_encrypt()
112 if (iname->len < ciphertext_len) in ext4_fname_encrypt()
113 memset(workbuf + iname->len, 0, ciphertext_len - iname->len); in ext4_fname_encrypt()
146 const struct ext4_str *iname, in ext4_fname_decrypt() argument
159 if (iname->len <= 0 || iname->len > lim) in ext4_fname_decrypt()
162 tmp_in[0].name = iname->name; in ext4_fname_decrypt()
[all …]
Dext4.h2096 const struct ext4_str *iname,
2103 const struct qstr *iname,
2107 int ext4_fname_setup_filename(struct inode *dir, const struct qstr *iname,
2118 const struct qstr *iname, in ext4_fname_setup_filename() argument
2121 fname->usr_fname = iname; in ext4_fname_setup_filename()
2122 fname->disk_name.name = (unsigned char *) iname->name; in ext4_fname_setup_filename()
2123 fname->disk_name.len = iname->len; in ext4_fname_setup_filename()
/fs/ncpfs/
Dncplib_kernel.c1109 const unsigned char *iname, unsigned int ilen, int cc) in ncp__io2vol() argument
1117 iname_end = iname + ilen; in ncp__io2vol()
1121 while (iname < iname_end) { in ncp__io2vol()
1129 k = utf8_to_utf32(iname, iname_end - iname, &u); in ncp__io2vol()
1132 iname += k; in ncp__io2vol()
1135 if (*iname == NCP_ESC) { in ncp__io2vol()
1138 if (iname_end - iname < 5) in ncp__io2vol()
1145 nc = iname[k] - '0'; in ncp__io2vol()
1154 iname += 5; in ncp__io2vol()
1157 if ( (chl = in->char2uni(iname, iname_end - iname, &ec)) < 0) in ncp__io2vol()
[all …]
/fs/
Dbinfmt_misc.c112 char iname[BINPRM_BUF_SIZE]; in load_misc_binary() local
113 const char *iname_addr = iname; in load_misc_binary()
125 strlcpy(iname, fmt->interpreter, BINPRM_BUF_SIZE); in load_misc_binary()
177 retval = bprm_change_interp(iname, bprm); in load_misc_binary()
181 interp_file = open_exec (iname); in load_misc_binary()