Home
last modified time | relevance | path

Searched refs:fname_len (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/fs/ubifs/
H A Dxattr.c102 names_len = host_ui->xattr_names + host_ui->xattr_cnt + fname_len(nm) + 1; in create_xattr()
139 host_ui->xattr_size += CALC_DENT_SIZE(fname_len(nm)); in create_xattr()
141 host_ui->xattr_names += fname_len(nm); in create_xattr()
165 host_ui->xattr_size -= CALC_DENT_SIZE(fname_len(nm)); in create_xattr()
167 host_ui->xattr_names -= fname_len(nm); in create_xattr()
279 if (fname_len(&nm) > UBIFS_MAX_NLEN) in ubifs_xattr_set()
337 if (fname_len(&nm) > UBIFS_MAX_NLEN) in ubifs_xattr_get()
434 fname_len(&nm) = le16_to_cpu(xent->nlen); in ubifs_listxattr()
437 memcpy(buffer + written, fname_name(&nm), fname_len(&nm) + 1); in ubifs_listxattr()
438 written += fname_len(&nm) + 1; in ubifs_listxattr()
[all …]
H A Djournal.c556 dlen = UBIFS_DENT_NODE_SZ + fname_len(nm) + 1; in ubifs_jnl_update()
603 dent->nlen = cpu_to_le16(fname_len(nm)); in ubifs_jnl_update()
604 memcpy(dent->name, fname_name(nm), fname_len(nm)); in ubifs_jnl_update()
605 dent->name[fname_len(nm)] = '\0'; in ubifs_jnl_update()
903 fname_len(&nm) = le16_to_cpu(xent->nlen); in ubifs_jnl_write_inode()
1074 dlen1 = UBIFS_DENT_NODE_SZ + fname_len(snd_nm) + 1; in ubifs_jnl_xrename()
1075 dlen2 = UBIFS_DENT_NODE_SZ + fname_len(fst_nm) + 1; in ubifs_jnl_xrename()
1099 dent1->nlen = cpu_to_le16(fname_len(snd_nm)); in ubifs_jnl_xrename()
1100 memcpy(dent1->name, fname_name(snd_nm), fname_len(snd_nm)); in ubifs_jnl_xrename()
1101 dent1->name[fname_len(snd_nm)] = '\0'; in ubifs_jnl_xrename()
[all …]
H A Ddir.c188 if (le16_to_cpu(dent->nlen) != fname_len(nm)) in dbg_check_name()
190 if (memcmp(dent->name, fname_name(nm), fname_len(nm))) in dbg_check_name()
214 if (fname_len(&nm) > UBIFS_MAX_NLEN) { in ubifs_lookup()
312 sz_change = CALC_DENT_SIZE(fname_len(&nm)); in ubifs_create()
615 fname_len(&nm) = 0; in ubifs_readdir()
633 fname_len(&nm) = 0; in ubifs_readdir()
650 fname_len(&nm) = le16_to_cpu(dent->nlen); in ubifs_readdir()
663 fstr.len = fname_len(&nm); in ubifs_readdir()
824 sz_change = CALC_DENT_SIZE(fname_len(&nm)); in ubifs_unlink()
932 sz_change = CALC_DENT_SIZE(fname_len(&nm)); in ubifs_rmdir()
[all …]
H A Dkey.h150 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in dent_key_init()
186 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in dent_key_init_flash()
219 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in xent_key_init()
237 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in xent_key_init_flash()
H A Dtnc.c592 err = memcmp(dent->name, fname_name(nm), min_t(int, nlen, fname_len(nm))); in matches_name()
594 if (nlen == fname_len(nm)) in matches_name()
596 else if (nlen < fname_len(nm)) in matches_name()
885 err = memcmp(dent->name, fname_name(nm), min_t(int, nlen, fname_len(nm))); in fallible_matches_name()
887 if (nlen == fname_len(nm)) in fallible_matches_name()
889 else if (nlen < fname_len(nm)) in fallible_matches_name()
1909 if (fname_len(nm) == len && !memcmp(dent->name, fname_name(nm), len)) in ubifs_tnc_lookup_nm()
2936 fname_len(&nm) = le16_to_cpu(xent->nlen); in ubifs_tnc_remove_ino()
3006 if (fname_len(nm) > 0) { in ubifs_tnc_next_ent()
H A Ddebug.c286 fname_len(&nm) = le16_to_cpu(dent->nlen); in ubifs_dump_inode()
1152 fname_len(&nm) = le16_to_cpu(dent->nlen); in dbg_check_dir()
1153 size += CALC_DENT_SIZE(fname_len(&nm)); in dbg_check_dir()
H A Dorphan.c181 fname_len(&nm) = le16_to_cpu(xent->nlen); in ubifs_add_orphan()
H A Dreplay.c463 fname_len(&r->nm) = nlen; in insert_dent()
/openbmc/qemu/semihosting/
H A Dsyscalls.c131 target_ulong fname, target_ulong fname_len, in gdb_open() argument
134 int len = validate_strlen(cs, fname, fname_len); in gdb_open()
187 target_ulong fname, target_ulong fname_len, in gdb_stat() argument
190 int len = validate_strlen(cs, fname, fname_len); in gdb_stat()
201 target_ulong fname, target_ulong fname_len) in gdb_remove() argument
203 int len = validate_strlen(cs, fname, fname_len); in gdb_remove()
258 target_ulong fname, target_ulong fname_len, in host_open() argument
265 ret = validate_lock_user_string(&p, cs, fname, fname_len); in host_open()
411 target_ulong fname, target_ulong fname_len, in host_stat() argument
419 ret = validate_lock_user_string(&name, cs, fname, fname_len); in host_stat()
[all …]
/openbmc/qemu/include/semihosting/
H A Dsyscalls.h26 target_ulong fname, target_ulong fname_len,
58 target_ulong fname, target_ulong fname_len,
62 target_ulong fname, target_ulong fname_len);
/openbmc/openbmc/poky/bitbake/lib/
H A Dpyinotify.py1226 wd, mask, cookie, fname_len = struct.unpack('iIII',
1229 bname, = struct.unpack('%ds' % fname_len,
1230 r[rsum + s_size:rsum + s_size + fname_len])
1242 rsum += s_size + fname_len
/openbmc/linux/fs/zonefs/
H A Dsuper.c809 int fname_len; in zonefs_readdir_zgroup() local
832 fname_len = snprintf(fname, ZONEFS_NAME_MAX - 1, "%u", f); in zonefs_readdir_zgroup()
833 if (!dir_emit(ctx, fname, fname_len, ino, DT_REG)) in zonefs_readdir_zgroup()
/openbmc/linux/include/linux/
H A Dfscrypt.h55 #define fname_len(p) ((p)->disk_name.len) macro
/openbmc/linux/fs/ext4/
H A Dnamei.c859 fname_len(fname), hinfo); in dx_probe()
2106 unsigned short reclen = ext4_dir_rec_len(fname_len(fname), dir); in ext4_find_dest_de()
2154 de->name_len = fname_len(fname); in ext4_insert_dentry()
2155 memcpy(de->name, fname_name(fname), fname_len(fname)); in ext4_insert_dentry()
2372 fname_len(fname), &fname->hinfo); in make_indexed_dir()
H A Dext4.h2496 #define fname_len(p) ((p)->disk_name.len) macro
/openbmc/openbmc/poky/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/
H A Dautotools-update.patch1250 - Change type of fname_len parameter to int.
4084 -static size_t read_alias_file PARAMS ((const char *fname, int fname_len));
4141 -read_alias_file (fname, fname_len)
4143 - int fname_len;
4153 - full_fname = (char *) alloca (fname_len + sizeof aliasfile);
4155 - memcpy (full_fname, fname, fname_len);
4156 - memcpy (&full_fname[fname_len], aliasfile, sizeof aliasfile);