/drivers/xen/xenfs/ |
D | xensyms.c | 19 uint32_t namelen; member 29 memset(xs->name, 0, xs->namelen); in xensyms_next_sym() 30 symdata->namelen = xs->namelen; in xensyms_next_sym() 42 if (unlikely(symdata->namelen > xs->namelen)) { in xensyms_next_sym() 45 xs->namelen = symdata->namelen; in xensyms_next_sym() 46 xs->name = kzalloc(xs->namelen, GFP_KERNEL); in xensyms_next_sym() 125 xs->namelen = XEN_KSYM_NAME_LEN + 1; in xensyms_open() 126 xs->name = kzalloc(xs->namelen, GFP_KERNEL); in xensyms_open() 133 xs->op.u.symdata.namelen = xs->namelen; in xensyms_open()
|
/drivers/char/xillybus/ |
D | xillybus_class.c | 57 size_t namelen; in xillybus_init_chrdev() local 112 namelen = strnlen(idt, len); in xillybus_init_chrdev() 114 if (namelen == len) { in xillybus_init_chrdev() 123 len -= namelen + 1; in xillybus_init_chrdev() 124 idt += namelen + 1; in xillybus_init_chrdev()
|
/drivers/gpu/drm/ |
D | drm_print.c | 356 int namelen = 0; in drm_print_regset32() local 360 namelen = max(namelen, (int)strlen(regset->regs[i].name)); in drm_print_regset32() 364 namelen, regset->regs[i].name, in drm_print_regset32()
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fwil.c | 302 u32 namelen; in brcmf_create_bsscfg() local 310 namelen = strlen(name) + 1; /* length of iovar name + null */ in brcmf_create_bsscfg() 311 iolen = prefixlen + namelen + sizeof(bsscfgidx_le) + datalen; in brcmf_create_bsscfg() 325 memcpy(p, name, namelen); in brcmf_create_bsscfg() 326 p += namelen; in brcmf_create_bsscfg()
|
/drivers/mtd/parsers/ |
D | redboot.c | 84 int namelen = 0; in parse_redboot_partitions() local 207 namelen += strlen(buf[i].name) + 1; in parse_redboot_partitions() 242 parts = kzalloc(sizeof(*parts) * nrparts + nulllen + namelen, GFP_KERNEL); in parse_redboot_partitions()
|
/drivers/gpu/drm/nouveau/include/nvif/ |
D | if0021.h | 8 __u8 namelen; member
|
D | if0020.h | 8 __u8 namelen; member
|
/drivers/video/fbdev/core/ |
D | modedb.c | 650 unsigned int namelen = strlen(name); in fb_find_mode() local 658 for (i = namelen-1; i >= 0; i--) { in fb_find_mode() 661 namelen = i; in fb_find_mode() 673 namelen = i; in fb_find_mode() 782 if ((name_matches(db[i], name, namelen) || in fb_find_mode()
|
/drivers/misc/ |
D | fastrpc.c | 1244 u32 namelen; in fastrpc_init_create_static_process() member 1258 if (init.namelen > INIT_FILE_NAMELEN_MAX) { in fastrpc_init_create_static_process() 1263 name = kzalloc(init.namelen, GFP_KERNEL); in fastrpc_init_create_static_process() 1269 if (copy_from_user(name, (void __user *)(uintptr_t)init.name, init.namelen)) { in fastrpc_init_create_static_process() 1298 inbuf.namelen = init.namelen; in fastrpc_init_create_static_process() 1307 args[1].length = inbuf.namelen; in fastrpc_init_create_static_process() 1368 u32 namelen; in fastrpc_init_create_process() member 1400 inbuf.namelen = strlen(current->comm) + 1; in fastrpc_init_create_process() 1426 args[1].length = inbuf.namelen; in fastrpc_init_create_process()
|
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | ucgrp.c | 94 if (args->v0.namelen != argc) in nvkm_ucgrp_new()
|
D | uchan.c | 337 if (args->v0.namelen != argc) in nvkm_uchan_new()
|
/drivers/md/ |
D | md-cluster.c | 187 int ret, namelen; in lockres_init() local 198 namelen = strlen(name); in lockres_init() 199 res->name = kzalloc(namelen + 1, GFP_KERNEL); in lockres_init() 204 strscpy(res->name, name, namelen + 1); in lockres_init()
|
D | md.c | 4751 size_t namelen = len-9; in metadata_store() local 4752 if (namelen >= sizeof(mddev->metadata_type)) in metadata_store() 4753 namelen = sizeof(mddev->metadata_type)-1; in metadata_store() 4754 strncpy(mddev->metadata_type, buf+9, namelen); in metadata_store() 4755 mddev->metadata_type[namelen] = 0; in metadata_store() 4756 if (namelen && mddev->metadata_type[namelen-1] == '\n') in metadata_store() 4757 mddev->metadata_type[--namelen] = 0; in metadata_store()
|
D | raid5.c | 2429 size_t namelen = sizeof(conf->cache_name[0]); in grow_stripes() local 2433 snprintf(conf->cache_name[0], namelen, in grow_stripes() 2436 snprintf(conf->cache_name[0], namelen, in grow_stripes() 2438 snprintf(conf->cache_name[1], namelen, "%.27s-alt", conf->cache_name[0]); in grow_stripes()
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 351 int namelen = sizeof(adapter->msix_info[0].desc) - 1; in name_msix_vecs() local 357 snprintf(adapter->msix_info[MSIX_FW].desc, namelen, in name_msix_vecs() 359 adapter->msix_info[MSIX_FW].desc[namelen] = 0; in name_msix_vecs() 370 snprintf(adapter->msix_info[msi].desc, namelen, in name_msix_vecs() 372 adapter->msix_info[msi].desc[namelen] = 0; in name_msix_vecs()
|
/drivers/video/fbdev/ |
D | pxafb.c | 1856 unsigned int namelen = strlen(name); in parse_opt_mode() local 1861 for (i = namelen-1; i >= 0; i--) { in parse_opt_mode() 1864 namelen = i; in parse_opt_mode()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_chan.c | 308 args.chan.namelen = sizeof(args.name); in nouveau_channel_ctor()
|
/drivers/gpu/drm/display/ |
D | drm_dp_mst_topology.c | 4803 int namelen) in fetch_monitor_name() argument 4808 drm_edid_get_monitor_name(mst_edid, name, namelen); in fetch_monitor_name()
|