Home
last modified time | relevance | path

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

123

/Linux-v6.6/drivers/block/rnbd/
Drnbd-srv.h24 char sessname[NAME_MAX];
38 char name[NAME_MAX];
58 char pathname[NAME_MAX];
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()
Drnbd-clt.h94 char sessname[NAME_MAX];
Drnbd-proto.h106 s8 dev_name[NAME_MAX];
/Linux-v6.6/include/uapi/linux/
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];
Dlimits.h12 #define NAME_MAX 255 /* # chars in a file name */ macro
Dnfs3.h11 #define NFS3_MAXNAMLEN NAME_MAX
Dnfs4.h26 #define NFS4_MAXNAMLEN NAME_MAX
/Linux-v6.6/tools/testing/selftests/exec/
Dbinfmt_script.py16 NAME_MAX=int(subprocess.check_output(["getconf", "NAME_MAX", "."])) variable
45 global test_num, tests, NAME_MAX
54 while remaining >= NAME_MAX:
55 middle += fill * (NAME_MAX - 1)
57 remaining -= NAME_MAX
/Linux-v6.6/fs/ceph/
Dcrypto.c297 if (!fscrypt_fname_encrypted_size(dir, iname.len, NAME_MAX, &len)) { in ceph_encode_encrypted_dname()
303 cryptbuf = kmalloc(len > CEPH_NOHASH_NAME_MAX ? NAME_MAX : len, in ceph_encode_encrypted_dname()
337 char tmp_buf[NAME_MAX]; in ceph_encode_encrypted_dname()
389 if (fname->name_len > NAME_MAX || fname->ctext_len > NAME_MAX) in ceph_fname_to_usr()
432 ret = fscrypt_fname_alloc_buffer(NAME_MAX, &_tname); in ceph_fname_to_usr()
452 char tmp_buf[CEPH_BASE64_CHARS(NAME_MAX)]; in ceph_fname_to_usr()
/Linux-v6.6/include/uapi/linux/netfilter/
Dxt_hashlimit.h108 char name[NAME_MAX];
116 char name[NAME_MAX];
/Linux-v6.6/drivers/infiniband/ulp/rtrs/
Drtrs-clt-trace.h47 __array(char, sessname, NAME_MAX)
58 memcpy(__entry->sessname, kobject_name(&clt_path->kobj), NAME_MAX);
Drtrs-srv-trace.h48 __array(char, sessname, NAME_MAX)
64 memcpy(__entry->sessname, kobject_name(&srv_path->kobj), NAME_MAX);
Drtrs-pri.h104 char sessname[NAME_MAX];
233 u8 pathname[NAME_MAX];
/Linux-v6.6/drivers/opp/
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()
187 char name[NAME_MAX]; in opp_list_debug_create_link()
Dopp.h239 char dentry_name[NAME_MAX];
/Linux-v6.6/fs/notify/fanotify/
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-v6.6/kernel/cgroup/
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-v6.6/fs/cachefiles/
Dkey.c47 BUG_ON(keylen > NAME_MAX - 3); in cachefiles_cook_key()
/Linux-v6.6/include/linux/
Drelay.h74 char base_filename[NAME_MAX]; /* saved base filename */
/Linux-v6.6/fs/crypto/
Dfname.c399 BUILD_BUG_ON(FSCRYPT_NOKEY_NAME_MAX_ENCODED > NAME_MAX); in fscrypt_fname_disk_to_usr()
463 if (!fscrypt_fname_encrypted_size(dir, iname->len, NAME_MAX, in fscrypt_setup_filename()
/Linux-v6.6/fs/exportfs/
Dexpfs.c258 if (buf->ino == ino && len <= NAME_MAX) { in filldir_one()
453 char nbuf[NAME_MAX+1]; in exportfs_decode_fh_raw()
/Linux-v6.6/kernel/
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-v6.6/fs/vboxsf/
Ddir.c147 char d_name[NAME_MAX]; in vboxsf_dir_emit()
149 err = vboxsf_nlscpy(sbi, d_name, NAME_MAX, in vboxsf_dir_emit()
/Linux-v6.6/fs/autofs/
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()

123