Home
last modified time | relevance | path

Searched refs:tmp_buf (Results 1 – 6 of 6) sorted by relevance

/fs/ceph/
Dacl.c167 void *tmp_buf = NULL; in ceph_pre_init_acls() local
193 tmp_buf = kmalloc(max(val_size1, val_size2), GFP_KERNEL); in ceph_pre_init_acls()
194 if (!tmp_buf) in ceph_pre_init_acls()
214 tmp_buf, val_size1); in ceph_pre_init_acls()
218 ceph_pagelist_append(pagelist, tmp_buf, val_size1); in ceph_pre_init_acls()
228 tmp_buf, val_size2); in ceph_pre_init_acls()
232 ceph_pagelist_append(pagelist, tmp_buf, val_size2); in ceph_pre_init_acls()
235 kfree(tmp_buf); in ceph_pre_init_acls()
245 kfree(tmp_buf); in ceph_pre_init_acls()
/fs/jffs2/
Dcompr.c155 unsigned char *output_buf = NULL, *tmp_buf; in jffs2_compress() local
190 tmp_buf = kmalloc(orig_slen, GFP_KERNEL); in jffs2_compress()
192 if (!tmp_buf) { in jffs2_compress()
198 this->compr_buf = tmp_buf; in jffs2_compress()
/fs/cifs/
Dreaddir.c797 char *tmp_buf = NULL; in cifs_readdir() local
853 tmp_buf = kmalloc(UNICODE_NAME_MAX, GFP_KERNEL); in cifs_readdir()
854 if (tmp_buf == NULL) { in cifs_readdir()
870 *tmp_buf = 0; in cifs_readdir()
872 tmp_buf, max_len); in cifs_readdir()
883 ctx->pos, tmp_buf); in cifs_readdir()
891 kfree(tmp_buf); in cifs_readdir()
/fs/btrfs/
Dsend.c389 char *tmp_buf; in fs_path_ensure_buf() local
410 tmp_buf = kmalloc(len, GFP_KERNEL); in fs_path_ensure_buf()
411 if (tmp_buf) in fs_path_ensure_buf()
412 memcpy(tmp_buf, p->buf, old_buf_len); in fs_path_ensure_buf()
414 tmp_buf = krealloc(p->buf, len, GFP_KERNEL); in fs_path_ensure_buf()
416 if (!tmp_buf) in fs_path_ensure_buf()
418 p->buf = tmp_buf; in fs_path_ensure_buf()
426 tmp_buf = p->buf + old_buf_len - path_len - 1; in fs_path_ensure_buf()
429 memmove(p->start, tmp_buf, path_len + 1); in fs_path_ensure_buf()
6625 char *tmp_buf) in tree_compare_item() argument
[all …]
Dvolumes.c3884 char tmp_buf[128] = {'\0'}; in describe_balance_args() local
3924 btrfs_describe_block_groups(bargs->profiles, tmp_buf, in describe_balance_args()
3925 sizeof(tmp_buf)); in describe_balance_args()
3926 CHECK_APPEND_1ARG("profiles=%s,", tmp_buf); in describe_balance_args()
3973 char tmp_buf[192] = {'\0'}; in describe_balance_start_or_resume() local
3999 describe_balance_args(&bctl->data, tmp_buf, sizeof(tmp_buf)); in describe_balance_start_or_resume()
4000 CHECK_APPEND_1ARG("-d%s ", tmp_buf); in describe_balance_start_or_resume()
4004 describe_balance_args(&bctl->meta, tmp_buf, sizeof(tmp_buf)); in describe_balance_start_or_resume()
4005 CHECK_APPEND_1ARG("-m%s ", tmp_buf); in describe_balance_start_or_resume()
4009 describe_balance_args(&bctl->sys, tmp_buf, sizeof(tmp_buf)); in describe_balance_start_or_resume()
[all …]
/fs/nfs/flexfilelayout/
Dflexfilelayout.c2111 struct xdr_buf tmp_buf = { in ff_layout_encode_layoutreturn() local
2124 xdr_init_encode(&tmp_xdr, &tmp_buf, NULL, NULL); in ff_layout_encode_layoutreturn()
2130 *start = cpu_to_be32(tmp_buf.len); in ff_layout_encode_layoutreturn()
2131 xdr_write_pages(xdr, ff_args->pages, 0, tmp_buf.len); in ff_layout_encode_layoutreturn()