/linux-2.4.37.9/fs/jffs2/ |
D | nodelist.c | 149 fd = jffs2_alloc_full_dirent(node.d.nsize+1); in jffs2_get_inode_nodes() 154 memset(fd,0,sizeof(struct jffs2_full_dirent) + node.d.nsize+1); in jffs2_get_inode_nodes() 170 …memcpy(&fd->name[0], &node.d.name[0], min((__u32)node.d.nsize, (retlen-sizeof(struct jffs2_raw_dir… in jffs2_get_inode_nodes() 175 if (node.d.nsize + sizeof(struct jffs2_raw_dirent) > retlen) { in jffs2_get_inode_nodes() 179 node.d.nsize - already, &retlen, &fd->name[already]); in jffs2_get_inode_nodes() 180 if (!err && retlen != node.d.nsize - already) in jffs2_get_inode_nodes() 189 fd->nhash = full_name_hash(fd->name, node.d.nsize); in jffs2_get_inode_nodes()
|
D | scan.c | 642 fd = jffs2_alloc_full_dirent(rd.nsize+1); in jffs2_scan_dirent_node() 646 ret = c->mtd->read(c->mtd, *ofs + sizeof(rd), rd.nsize, &retlen, &fd->name[0]); in jffs2_scan_dirent_node() 653 if (retlen != rd.nsize) { in jffs2_scan_dirent_node() 656 retlen, *ofs + sizeof(rd), rd.nsize); in jffs2_scan_dirent_node() 659 crc = crc32(0, fd->name, rd.nsize); in jffs2_scan_dirent_node() 663 fd->name[rd.nsize]=0; in jffs2_scan_dirent_node() 700 fd->name[rd.nsize]=0; in jffs2_scan_dirent_node() 701 fd->nhash = full_name_hash(fd->name, rd.nsize); in jffs2_scan_dirent_node()
|
D | gc.c | 383 rd.nsize = strlen(fd->name); in jffs2_garbage_collect_dirent() 384 rd.totlen = sizeof(rd) + rd.nsize; in jffs2_garbage_collect_dirent() 393 rd.name_crc = crc32(0, fd->name, rd.nsize); in jffs2_garbage_collect_dirent() 395 ret = jffs2_reserve_space_gc(c, sizeof(rd)+rd.nsize, &phys_ofs, &alloclen); in jffs2_garbage_collect_dirent() 398 sizeof(rd)+rd.nsize, ret); in jffs2_garbage_collect_dirent() 401 new_fd = jffs2_write_dirent(inode, &rd, fd->name, rd.nsize, phys_ofs, NULL); in jffs2_garbage_collect_dirent()
|
D | dir.c | 299 rd->nsize = namelen; in jffs2_create() 369 rd->nsize = dentry->d_name.len; in jffs2_do_unlink() 457 rd->nsize = dentry->d_name.len; in jffs2_do_link() 620 rd->nsize = namelen; in jffs2_symlink() 754 rd->nsize = namelen; in jffs2_mkdir() 908 rd->nsize = namelen; in jffs2_mknod()
|
/linux-2.4.37.9/fs/jffs/ |
D | intrep.c | 1080 if (raw_inode.nsize > JFFS_MAX_NAME_LEN) { in jffs_scan_flash() 1114 if (raw_inode.nsize) { in jffs_scan_flash() 1115 flash_safe_read(fmc->mtd, pos, name, raw_inode.nsize); in jffs_scan_flash() 1116 name[raw_inode.nsize] = '\0'; in jffs_scan_flash() 1117 pos += raw_inode.nsize in jffs_scan_flash() 1118 + JFFS_GET_PAD_BYTES(raw_inode.nsize); in jffs_scan_flash() 1120 checksum = jffs_checksum(name, raw_inode.nsize); in jffs_scan_flash() 1182 + raw_inode.nsize in jffs_scan_flash() 1183 + JFFS_GET_PAD_BYTES(raw_inode.nsize); in jffs_scan_flash() 1308 node->fm_offset = sizeof(struct jffs_raw_inode) + raw_inode->nsize in jffs_insert_node() [all …]
|
D | inode-v23.c | 258 raw_inode.nsize = f->nsize; in jffs_setattr() 483 raw_inode.nsize = new_dentry->d_name.len; in jffs_rename() 604 if (filldir(dirent, f->name, f->nsize, in jffs_readdir() 851 raw_inode.nsize = dentry->d_name.len; in jffs_mkdir() 1009 raw_inode.nsize = 0; in jffs_remove() 1085 raw_inode.nsize = dentry->d_name.len; in jffs_mknod() 1191 raw_inode.nsize = dentry->d_name.len; in jffs_symlink() 1289 raw_inode.nsize = dentry->d_name.len; in jffs_create() 1421 raw_inode.nsize = f->nsize; in jffs_file_write()
|
/linux-2.4.37.9/fs/ntfs/ |
D | dir.c | 980 int nsize, esize; in ntfs_dir_add() local 987 nsize = name->size; in ntfs_dir_add() 991 walk.new_entry_size = esize = (nsize + 0x10 + 7) & ~7; in ntfs_dir_add() 997 NTFS_PUTU16(entry + 0xA, nsize); /* Size of original name attribute. */ in ntfs_dir_add() 1000 ntfs_memcpy(entry + 0x10, ndata, nsize); in ntfs_dir_add() 1001 ntfs_bzero(entry + 0x10 + nsize, esize - 0x10 - nsize); in ntfs_dir_add() 1014 int nsize; 1027 walk.new_entry_size = nsize = ((0x52 + 2 * walk.namelen + 7) / 8) * 8; 1028 walk.new_entry = entry = ntfs_malloc(nsize); 1031 ntfs_bzero(entry, nsize); [all …]
|
/linux-2.4.37.9/include/linux/ |
D | jffs.h | 89 __u8 nsize; /* Name length. */ member 147 __u8 nsize; /* Name length. */ member
|
D | jffs2.h | 118 __u8 nsize; member
|
/linux-2.4.37.9/net/ipv4/ |
D | tcp_output.c | 444 int nsize = skb->len - len; in tcp_fragment() local 453 buff = tcp_alloc_skb(sk, nsize, GFP_ATOMIC); in tcp_fragment() 476 buff->csum = csum_partial_copy_nocheck(skb->data + len, skb_put(buff, nsize), in tcp_fragment() 477 nsize, 0); in tcp_fragment()
|
/linux-2.4.37.9/drivers/media/video/ |
D | planb.c | 1029 unsigned int nsize = mp->width * mp->height * bpp; in vgrab() local 1034 osize, nsize); in vgrab() 1040 nsize = 0; in vgrab() 1041 if (nsize < osize) { in vgrab()
|