Home
last modified time | relevance | path

Searched refs:alloclen (Results 1 – 5 of 5) sorted by relevance

/fs/jffs2/
Dwrite.c354 uint32_t alloclen; in jffs2_write_inode_range() local
363 &alloclen, ALLOC_NORMAL, JFFS2_SUMMARY_INODE_SIZE); in jffs2_write_inode_range()
371 cdatalen = min_t(uint32_t, alloclen - sizeof(*ri), datalen); in jffs2_write_inode_range()
448 uint32_t alloclen; in jffs2_do_create() local
454 ret = jffs2_reserve_space(c, sizeof(*ri), &alloclen, ALLOC_NORMAL, in jffs2_do_create()
456 jffs2_dbg(1, "%s(): reserved 0x%x bytes\n", __func__, alloclen); in jffs2_do_create()
492 ret = jffs2_reserve_space(c, sizeof(*rd)+qstr->len, &alloclen, in jffs2_do_create()
553 uint32_t alloclen; in jffs2_do_unlink() local
563 ret = jffs2_reserve_space(c, sizeof(*rd)+namelen, &alloclen, in jffs2_do_unlink()
673 uint32_t alloclen; in jffs2_do_link() local
[all …]
Dgc.c598 uint32_t phys_ofs, alloclen; in jffs2_garbage_collect_pristine() local
605 alloclen = rawlen = ref_totlen(c, c->gcblock, raw); in jffs2_garbage_collect_pristine()
610 if (ic && alloclen > sizeof(struct jffs2_raw_inode) + JFFS2_MIN_DATA_LEN) in jffs2_garbage_collect_pristine()
611 alloclen = sizeof(struct jffs2_raw_inode) + JFFS2_MIN_DATA_LEN; in jffs2_garbage_collect_pristine()
613 ret = jffs2_reserve_space_gc(c, alloclen, &alloclen, rawlen); in jffs2_garbage_collect_pristine()
619 if (alloclen < rawlen) { in jffs2_garbage_collect_pristine()
767 uint32_t alloclen, ilen; in jffs2_garbage_collect_metadata() local
796 ret = jffs2_reserve_space_gc(c, sizeof(ri) + mdatalen, &alloclen, in jffs2_garbage_collect_metadata()
855 uint32_t alloclen; in jffs2_garbage_collect_dirent() local
877 ret = jffs2_reserve_space_gc(c, sizeof(rd)+rd.nsize, &alloclen, in jffs2_garbage_collect_dirent()
[all …]
Ddir.c294 uint32_t alloclen; in jffs2_symlink() local
313 ret = jffs2_reserve_space(c, sizeof(*ri) + targetlen, &alloclen, in jffs2_symlink()
384 ret = jffs2_reserve_space(c, sizeof(*rd)+namelen, &alloclen, in jffs2_symlink()
458 uint32_t alloclen; in jffs2_mkdir() local
473 ret = jffs2_reserve_space(c, sizeof(*ri), &alloclen, ALLOC_NORMAL, in jffs2_mkdir()
529 ret = jffs2_reserve_space(c, sizeof(*rd)+namelen, &alloclen, in jffs2_mkdir()
633 uint32_t alloclen; in jffs2_mknod() local
649 ret = jffs2_reserve_space(c, sizeof(*ri) + devlen, &alloclen, in jffs2_mknod()
704 ret = jffs2_reserve_space(c, sizeof(*rd)+namelen, &alloclen, in jffs2_mknod()
Dfs.c42 uint32_t alloclen; in jffs2_do_setattr() local
85 ret = jffs2_reserve_space(c, sizeof(*ri) + mdatalen, &alloclen, in jffs2_do_setattr()
/fs/nfs/
Dnfs42xattr.c181 size_t alloclen, slen; in nfs4_xattr_alloc_entry() local
188 alloclen = sizeof(struct nfs4_xattr_entry); in nfs4_xattr_alloc_entry()
191 alloclen += slen; in nfs4_xattr_alloc_entry()
195 if (alloclen + len <= PAGE_SIZE) { in nfs4_xattr_alloc_entry()
196 alloclen += len; in nfs4_xattr_alloc_entry()
202 buf = kmalloc(alloclen, GFP_KERNEL); in nfs4_xattr_alloc_entry()