Home
last modified time | relevance | path

Searched refs:NAME_MAX (Results 1 – 25 of 60) sorted by relevance

123

/linux/include/uapi/linux/
H A Dauto_fs.h54 char name[NAME_MAX+1];
61 char name[NAME_MAX+1];
180 char name[NAME_MAX+1];
201 char name[NAME_MAX+1];
H A Dlimits.h12 #define NAME_MAX 255 /* # chars in a file name */ macro
H A Dnfs3.h11 #define NFS3_MAXNAMLEN NAME_MAX
H A Dnfs4.h26 #define NFS4_MAXNAMLEN NAME_MAX
/linux/tools/testing/selftests/exec/
H A Dbinfmt_script.py16 NAME_MAX=int(subprocess.check_output(["getconf", "NAME_MAX", "."])) variable
47 global test_num, pass_num, fail_num, tests, NAME_MAX
56 while remaining >= NAME_MAX:
57 middle += fill * (NAME_MAX - 1)
59 remaining -= NAME_MAX
/linux/drivers/block/rnbd/
H A Drnbd-srv.h24 char sessname[NAME_MAX];
38 char name[NAME_MAX];
58 char pathname[NAME_MAX];
H A Drnbd-clt-sysfs.c100 if (strlen(p) > NAME_MAX) { in rnbd_clt_parse_map_options()
106 strscpy(opt->sessname, p, NAME_MAX); in rnbd_clt_parse_map_options()
143 if (strlen(p) > NAME_MAX) { in rnbd_clt_parse_map_options()
149 strscpy(opt->pathname, p, NAME_MAX); in rnbd_clt_parse_map_options()
513 char pathname[NAME_MAX], *s; in rnbd_clt_get_path_name()
569 char pathname[NAME_MAX]; in rnbd_clt_map_device_store()
570 char sessname[NAME_MAX]; in rnbd_clt_map_device_store()
H A Drnbd-clt.h94 char sessname[NAME_MAX];
H A Drnbd-proto.h106 s8 dev_name[NAME_MAX];
/linux/fs/ceph/
H A Dcrypto.c300 if (!fscrypt_fname_encrypted_size(dir, iname.len, NAME_MAX, &len)) { in ceph_encode_encrypted_dname()
306 cryptbuf = kmalloc(len > CEPH_NOHASH_NAME_MAX ? NAME_MAX : len, in ceph_encode_encrypted_dname()
340 char tmp_buf[NAME_MAX]; in ceph_encode_encrypted_dname()
392 if (fname->name_len > NAME_MAX || fname->ctext_len > NAME_MAX) in ceph_fname_to_usr()
435 ret = fscrypt_fname_alloc_buffer(NAME_MAX, &_tname); in ceph_fname_to_usr()
455 char tmp_buf[CEPH_BASE64_CHARS(NAME_MAX)]; in ceph_fname_to_usr()
/linux/include/uapi/linux/netfilter/
H A Dxt_hashlimit.h108 char name[NAME_MAX];
116 char name[NAME_MAX];
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-trace.h47 __array(char, sessname, NAME_MAX)
58 memcpy(__entry->sessname, kobject_name(&clt_path->kobj), NAME_MAX);
H A Drtrs-srv-trace.h48 __array(char, sessname, NAME_MAX)
64 memcpy(__entry->sessname, kobject_name(&srv_path->kobj), NAME_MAX);
H A Drtrs-pri.h106 char sessname[NAME_MAX];
235 u8 pathname[NAME_MAX];
H A Drtrs-clt-sysfs.c135 len = strnlen(buf, NAME_MAX); in mpath_policy_store()
430 char str[NAME_MAX]; in rtrs_clt_create_path_files()
/linux/drivers/opp/
H A Ddebugfs.c25 snprintf(name, NAME_MAX, "%s-%s", dev_name(dev->parent), in opp_set_dev_name()
28 snprintf(name, NAME_MAX, "%s", dev_name(dev)); in opp_set_dev_name()
189 char name[NAME_MAX]; in opp_list_debug_create_link()
/linux/fs/notify/fanotify/
H A Dfanotify.h170 BUILD_BUG_ON(NAME_MAX > U8_MAX); in fanotify_info_init()
216 if (WARN_ON_ONCE(name->len > NAME_MAX) || in fanotify_info_copy_name()
227 if (WARN_ON_ONCE(name->len > NAME_MAX)) in fanotify_info_copy_name2()
/linux/kernel/cgroup/
H A Ddebug.c93 name_buf = kmalloc(NAME_MAX + 1, GFP_KERNEL); in current_css_set_cg_links_read()
103 cgroup_name(c, name_buf, NAME_MAX + 1); in current_css_set_cg_links_read()
/linux/mm/
H A Dmemfd.c303 #define MFD_NAME_MAX_LEN (NAME_MAX - MFD_NAME_PREFIX_LEN)
399 name = kmalloc(NAME_MAX + 1, GFP_KERNEL); in alloc_name()
/linux/kernel/
H A Drelay.c354 tmpname = kzalloc(NAME_MAX + 1, GFP_KERNEL); in relay_create_buf_file()
357 snprintf(tmpname, NAME_MAX, "%s%d", chan->base_filename, cpu); in relay_create_buf_file()
510 strscpy(chan->base_filename, base_filename, NAME_MAX); in relay_open()
581 strscpy(chan->base_filename, base_filename, NAME_MAX); in relay_late_setup_files()
/linux/fs/crypto/
H A Dfname.c393 BUILD_BUG_ON(FSCRYPT_NOKEY_NAME_MAX_ENCODED > NAME_MAX); in fscrypt_fname_disk_to_usr()
457 if (!fscrypt_fname_encrypted_size(dir, iname->len, NAME_MAX, in fscrypt_setup_filename()
/linux/fs/cachefiles/
H A Dkey.c47 BUG_ON(keylen > NAME_MAX - 3); in cachefiles_cook_key()
/linux/include/linux/
H A Drelay.h74 char base_filename[NAME_MAX]; /* saved base filename */
/linux/fs/autofs/
H A Dwaitq.c344 name = kmalloc(NAME_MAX + 1, GFP_KERNEL); in autofs_wait()
353 char *p = dentry_path_raw(dentry, name, NAME_MAX); in autofs_wait()
/linux/fs/vboxsf/
H A Ddir.c147 char d_name[NAME_MAX]; in vboxsf_dir_emit()
149 err = vboxsf_nlscpy(sbi, d_name, NAME_MAX, in vboxsf_dir_emit()

123