Home
last modified time | relevance | path

Searched refs:name_len (Results 1 – 8 of 8) sorted by relevance

/xen/tools/libfsimage/iso9660/
A Dfsys_iso9660.c187 unsigned int name_len = idr->name_len.l; in iso9660_dir() local
190 if (name_len == 1) in iso9660_dir()
196 if (name_len > 2 && CHECK2(name + name_len - 2, ';', '1')) in iso9660_dir()
199 if (name_len > 1 && name[name_len - 1] == '.') in iso9660_dir()
200 name_len--; /* truncate trailing dot */ in iso9660_dir()
206 rr_len = (idr->length.l - idr->name_len.l in iso9660_dir()
339 memcpy(NAME_BUF, name, name_len); in iso9660_dir()
354 if (name_len >= pathlen in iso9660_dir()
363 if (pathlen == name_len) in iso9660_dir()
390 memcpy(NAME_BUF, name, name_len); in iso9660_dir()
[all …]
A Diso9660.h106 iso_8bit_t name_len; member
/xen/xen/common/
A Dhypfs.c23 #define DIRENTRY_SIZE(name_len) \ argument
25 ROUNDUP((name_len) + 1, alignof(struct xen_hypfs_direntry)))
160 unsigned int name_len; in hypfs_get_entry_rel() local
174 name_len = end - path; in hypfs_get_entry_rel()
180 int cmp = strncmp(path, entry->name, name_len); in hypfs_get_entry_rel()
186 if ( !cmp && strlen(entry->name) == name_len ) in hypfs_get_entry_rel()
A Dlivepatch.c1188 uint32_t name_len, metadata_len; in livepatch_list() local
1196 name_len = strlen(data->name) + 1; in livepatch_list()
1197 list->name_total_size += name_len; in livepatch_list()
1203 name_offset + name_len - 1) || in livepatch_list()
1213 data->name, name_len) || in livepatch_list()
1214 __copy_to_guest_offset(list->len, idx, &name_len, 1) || in livepatch_list()
1225 name_offset += name_len; in livepatch_list()
/xen/tools/libfsimage/ext2fs/
A Dfsys_ext2fs.c223 __u8 name_len; /* Name length */ member
236 #define EXT2_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT2_DIR_ROUND) & \ argument
877 int saved_c = dp->name[dp->name_len]; in ext2fs_dir()
879 dp->name[dp->name_len] = 0; in ext2fs_dir()
892 dp->name[dp->name_len] = saved_c; in ext2fs_dir()
/xen/tools/libfsimage/zfs/
A Dfsys_zfs.c1048 int name_len, type, slen, encode_size; in nvlist_lookup_value() local
1063 name_len = BSWAP_32(*(uint32_t *)nvpair); in nvlist_lookup_value()
1067 nvpair = nvpair + ((name_len + 3) & ~3); /* align */ in nvlist_lookup_value()
1072 if ((grub_strncmp(nvp_name, name, name_len) == 0) && in nvlist_lookup_value()
/xen/xen/xsm/flask/ss/
A Dservices.c1814 size_t name_len = strlen(policydb.p_bool_val_to_name[i]); in security_get_bools() local
1818 (*names)[i] = xmalloc_array(char, name_len + 1); in security_get_bools()
1821 strlcpy((*names)[i], policydb.p_bool_val_to_name[i], name_len + 1); in security_get_bools()
1823 if ( maxstr && name_len > *maxstr ) in security_get_bools()
1824 *maxstr = name_len; in security_get_bools()
/xen/stubdom/grub.patches/
A D61btrfs.diff464 + __le16 name_len;
518 + __le16 name_len;
543 + __le16 name_len;
929 +BTRFS_SETGET_FUNCS(inode_ref_name_len, struct btrfs_inode_ref, name_len, 16);
1112 +BTRFS_SETGET_FUNCS(root_ref_name_len, struct btrfs_root_ref, name_len, 16);
1117 +BTRFS_SETGET_FUNCS(dir_name_len, struct btrfs_dir_item, name_len, 16);
3184 + int name_len;
3189 + name_len = btrfs_dir_name_len(&path->nodes[0], di);
3192 + WARN_ON(name_len > BTRFS_NAME_LEN);
3196 + end_of_name = filename + name_len;
[all …]

Completed in 22 milliseconds