• Home
  • Raw
  • Download

Lines Matching refs:namelen

288 	int namelen;  in jffs2_symlink()  local
307 namelen = dentry->d_name.len; in jffs2_symlink()
379 ret = jffs2_reserve_space(c, sizeof(*rd)+namelen, &alloclen, in jffs2_symlink()
380 ALLOC_NORMAL, JFFS2_SUMMARY_DIRENT_SIZE(namelen)); in jffs2_symlink()
397 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_symlink()
404 rd->nsize = namelen; in jffs2_symlink()
407 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_symlink()
409 fd = jffs2_write_dirent(c, dir_f, rd, dentry->d_name.name, namelen, ALLOC_NORMAL); in jffs2_symlink()
450 int namelen; in jffs2_mkdir() local
465 namelen = dentry->d_name.len; in jffs2_mkdir()
522 ret = jffs2_reserve_space(c, sizeof(*rd)+namelen, &alloclen, in jffs2_mkdir()
523 ALLOC_NORMAL, JFFS2_SUMMARY_DIRENT_SIZE(namelen)); in jffs2_mkdir()
540 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mkdir()
547 rd->nsize = namelen; in jffs2_mkdir()
550 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_mkdir()
552 fd = jffs2_write_dirent(c, dir_f, rd, dentry->d_name.name, namelen, ALLOC_NORMAL); in jffs2_mkdir()
617 int namelen; in jffs2_mknod() local
635 namelen = dentry->d_name.len; in jffs2_mknod()
691 ret = jffs2_reserve_space(c, sizeof(*rd)+namelen, &alloclen, in jffs2_mknod()
692 ALLOC_NORMAL, JFFS2_SUMMARY_DIRENT_SIZE(namelen)); in jffs2_mknod()
709 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mknod()
716 rd->nsize = namelen; in jffs2_mknod()
722 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_mknod()
724 fd = jffs2_write_dirent(c, dir_f, rd, dentry->d_name.name, namelen, ALLOC_NORMAL); in jffs2_mknod()