Searched refs:alloclen (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/fs/jffs2/ |
D | dir.c | 201 __u32 alloclen, phys_ofs; in jffs2_create() local 217 ret = jffs2_reserve_space(c, sizeof(*ri), &phys_ofs, &alloclen, ALLOC_NORMAL); in jffs2_create() 218 D1(printk(KERN_DEBUG "jffs2_create(): reserved 0x%x bytes\n", alloclen)); in jffs2_create() 263 alloclen -= writtenlen; in jffs2_create() 266 if (alloclen < sizeof(*rd)+namelen) { in jffs2_create() 269 ret = jffs2_reserve_space(c, sizeof(*rd)+namelen, &phys_ofs, &alloclen, ALLOC_NORMAL); in jffs2_create() 341 __u32 alloclen, phys_ofs; in jffs2_do_unlink() local 350 ret = jffs2_reserve_space(c, sizeof(*rd)+dentry->d_name.len, &phys_ofs, &alloclen, ALLOC_DELETION); in jffs2_do_unlink() 429 __u32 alloclen, phys_ofs; in jffs2_do_link() local 438 ret = jffs2_reserve_space(c, sizeof(*rd)+dentry->d_name.len, &phys_ofs, &alloclen, ALLOC_NORMAL); in jffs2_do_link() [all …]
|
D | gc.c | 300 __u32 alloclen, phys_ofs; in jffs2_garbage_collect_metadata() local 327 ret = jffs2_reserve_space_gc(c, sizeof(ri) + mdatalen, &phys_ofs, &alloclen); in jffs2_garbage_collect_metadata() 378 __u32 alloclen, phys_ofs; in jffs2_garbage_collect_dirent() local 395 ret = jffs2_reserve_space_gc(c, sizeof(rd)+rd.nsize, &phys_ofs, &alloclen); in jffs2_garbage_collect_dirent() 449 __u32 alloclen, phys_ofs; in jffs2_garbage_collect_hole() local 516 ret = jffs2_reserve_space_gc(c, sizeof(ri), &phys_ofs, &alloclen); in jffs2_garbage_collect_hole() 580 __u32 alloclen, phys_ofs, offset, orig_end; in jffs2_garbage_collect_dnode() local 641 ret = jffs2_reserve_space_gc(c, sizeof(ri) + JFFS2_MIN_DATA_LEN, &phys_ofs, &alloclen); in jffs2_garbage_collect_dnode() 648 cdatalen = min(alloclen - sizeof(ri), end - offset); in jffs2_garbage_collect_dnode()
|
D | file.c | 93 __u32 phys_ofs, alloclen; in jffs2_setattr() local 132 ret = jffs2_reserve_space(c, sizeof(*ri) + mdatalen, &phys_ofs, &alloclen, ALLOC_NORMAL); in jffs2_setattr() 445 __u32 phys_ofs, alloclen; in jffs2_commit_write() local 450 …ret = jffs2_reserve_space(c, sizeof(*ri) + JFFS2_MIN_DATA_LEN, &phys_ofs, &alloclen, ALLOC_NORMAL); in jffs2_commit_write() 458 cdatalen = min(alloclen - sizeof(*ri), writelen); in jffs2_commit_write()
|
/linux-2.4.37.9/fs/openpromfs/ |
D | inode.c | 42 u32 alloclen; member 133 op->alloclen = 2 * i; in property_read() 387 if (op->alloclen <= i) { in property_write() 394 + strlen (op->name) + op->alloclen); in property_write() 396 + strlen (op->name) + op->alloclen, in property_write() 397 0, 2 * i - op->alloclen); in property_write() 399 op->alloclen = 2*i; in property_write() 498 if (op->alloclen <= count + pos) { in property_write() 505 + strlen (op->name) + op->alloclen); in property_write() 507 + strlen (op->name) + op->alloclen, in property_write() [all …]
|