Home
last modified time | relevance | path

Searched refs:context (Results 1 – 21 of 21) sorted by relevance

/fs/xfs/linux-2.6/
Dxfs_xattr.c227 xfs_xattr_put_listent(struct xfs_attr_list_context *context, int flags, in xfs_xattr_put_listent() argument
234 ASSERT(context->count >= 0); in xfs_xattr_put_listent()
243 arraytop = context->count + prefix_len + namelen + 1; in xfs_xattr_put_listent()
244 if (arraytop > context->firstu) { in xfs_xattr_put_listent()
245 context->count = -1; /* insufficient space */ in xfs_xattr_put_listent()
248 offset = (char *)context->alist + context->count; in xfs_xattr_put_listent()
254 context->count += prefix_len + namelen + 1; in xfs_xattr_put_listent()
259 xfs_xattr_put_listent_sizes(struct xfs_attr_list_context *context, int flags, in xfs_xattr_put_listent_sizes() argument
262 context->count += xfs_xattr_prefix_len(flags) + namelen + 1; in xfs_xattr_put_listent_sizes()
285 struct xfs_attr_list_context context; in xfs_vn_listxattr() local
[all …]
Dxfs_ioctl.c175 void *context, in xfs_handle_acceptable() argument
/fs/xfs/
Dxfs_attr.c73 STATIC int xfs_attr_leaf_list(xfs_attr_list_context_t *context);
81 STATIC int xfs_attr_node_list(xfs_attr_list_context_t *context);
627 xfs_attr_list_int(xfs_attr_list_context_t *context) in xfs_attr_list_int() argument
630 xfs_inode_t *dp = context->dp; in xfs_attr_list_int()
638 xfs_attr_trace_l_c("syscall start", context); in xfs_attr_list_int()
646 error = xfs_attr_shortform_list(context); in xfs_attr_list_int()
648 error = xfs_attr_leaf_list(context); in xfs_attr_list_int()
650 error = xfs_attr_node_list(context); in xfs_attr_list_int()
654 xfs_attr_trace_l_c("syscall end", context); in xfs_attr_list_int()
672 xfs_attr_put_listent(xfs_attr_list_context_t *context, int flags, in xfs_attr_put_listent() argument
[all …]
Dxfs_attr_sf.h92 void xfs_attr_trace_l_c(char *where, struct xfs_attr_list_context *context);
93 void xfs_attr_trace_l_cn(char *where, struct xfs_attr_list_context *context,
95 void xfs_attr_trace_l_cb(char *where, struct xfs_attr_list_context *context,
97 void xfs_attr_trace_l_cl(char *where, struct xfs_attr_list_context *context,
100 struct xfs_attr_list_context *context,
Dxfs_attr_leaf.c567 xfs_attr_shortform_list(xfs_attr_list_context_t *context) in xfs_attr_shortform_list() argument
577 ASSERT(context != NULL); in xfs_attr_shortform_list()
578 dp = context->dp; in xfs_attr_shortform_list()
585 cursor = context->cursor; in xfs_attr_shortform_list()
588 xfs_attr_trace_l_c("sf start", context); in xfs_attr_shortform_list()
599 if (context->bufsize == 0 || in xfs_attr_shortform_list()
601 (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) { in xfs_attr_shortform_list()
603 error = context->put_listent(context, in xfs_attr_shortform_list()
614 if (context->seen_enough) in xfs_attr_shortform_list()
621 xfs_attr_trace_l_c("sf big-gulp", context); in xfs_attr_shortform_list()
[all …]
Dxfs_attr_leaf.h217 int xfs_attr_shortform_list(struct xfs_attr_list_context *context);
246 struct xfs_attr_list_context *context);
/fs/cifs/
Dcifsencrypt.c46 struct MD5Context context; in cifs_calculate_signature() local
51 cifs_MD5_init(&context); in cifs_calculate_signature()
52 cifs_MD5_update(&context, (char *)&key->data, key->len); in cifs_calculate_signature()
53 cifs_MD5_update(&context, cifs_pdu->Protocol, cifs_pdu->smb_buf_length); in cifs_calculate_signature()
55 cifs_MD5_final(signature, &context); in cifs_calculate_signature()
93 struct MD5Context context; in cifs_calc_signature2() local
99 cifs_MD5_init(&context); in cifs_calc_signature2()
100 cifs_MD5_update(&context, (char *)&key->data, key->len); in cifs_calc_signature2()
113 cifs_MD5_update(&context, iov[0].iov_base+4, in cifs_calc_signature2()
116 cifs_MD5_update(&context, iov[i].iov_base, iov[i].iov_len); in cifs_calc_signature2()
[all …]
Dmd5.h23 void cifs_MD5_init(struct MD5Context *context);
24 void cifs_MD5_update(struct MD5Context *context, unsigned char const *buf,
26 void cifs_MD5_final(unsigned char digest[16], struct MD5Context *context);
/fs/exportfs/
Dexpfs.c42 int (*acceptable)(void *context, struct dentry *dentry), in find_acceptable_alias() argument
43 void *context) in find_acceptable_alias()
47 if (acceptable(context, result)) in find_acceptable_alias()
56 if (dentry != result && acceptable(context, dentry)) { in find_acceptable_alias()
361 int (*acceptable)(void *, struct dentry *), void *context) in exportfs_decode_fh() argument
392 if (!acceptable(context, result)) { in exportfs_decode_fh()
413 alias = find_acceptable_alias(result, acceptable, context); in exportfs_decode_fh()
474 alias = find_acceptable_alias(result, acceptable, context); in exportfs_decode_fh()
/fs/
Dbinfmt_elf_fdpic.c323 current->mm->context.exec_fdpic_loadmap = 0; in load_elf_fdpic_binary()
324 current->mm->context.interp_fdpic_loadmap = 0; in load_elf_fdpic_binary()
393 current->mm->context.end_brk = current->mm->start_brk; in load_elf_fdpic_binary()
394 current->mm->context.end_brk += in load_elf_fdpic_binary()
540 current->mm->context.exec_fdpic_loadmap = (unsigned long) sp; in create_elf_fdpic_tables()
553 current->mm->context.interp_fdpic_loadmap = (unsigned long) sp; in create_elf_fdpic_tables()
1402 prstatus->pr_exec_fdpic_loadmap = p->mm->context.exec_fdpic_loadmap; in fill_prstatus()
1403 prstatus->pr_interp_fdpic_loadmap = p->mm->context.interp_fdpic_loadmap; in fill_prstatus()
Dbinfmt_flat.c674 current->mm->context.end_brk = memp + memp_size - stack_len; in load_flat_file()
876 p = ((current->mm->context.end_brk + stack_len + 3) & ~3) - 4; in load_flat_binary()
Dcompat_ioctl.c1641 compat_caddr_t context; member
1657 __get_user(uctx, &udis->context)) in do_usbdevfs_discsignal()
1660 kdis.context = compat_ptr(uctx); in do_usbdevfs_discsignal()
/fs/nfs/
Ddirect.c334 data->args.context = get_nfs_open_context(ctx); in nfs_direct_read_schedule_segment()
567 data->args.context = get_nfs_open_context(dreq->ctx); in nfs_direct_commit_schedule()
750 data->args.context = get_nfs_open_context(ctx); in nfs_direct_write_schedule_segment()
Dread.c72 put_nfs_open_context(rdata->args.context); in nfs_readdata_release()
187 data->args.context = get_nfs_open_context(req->wb_context); in nfs_read_rpcsetup()
Dwrite.c98 put_nfs_open_context(wdata->args.context); in nfs_writedata_release()
819 data->args.context = get_nfs_open_context(req->wb_context); in nfs_write_rpcsetup()
1183 put_nfs_open_context(wdata->args.context); in nfs_commitdata_release()
1227 data->args.context = get_nfs_open_context(first->wb_context); in nfs_commit_rpcsetup()
Dsuper.c1578 memset(data->context, 0, sizeof(data->context)); in nfs_validate_mount_data()
1634 if (data->context[0]){ in nfs_validate_mount_data()
1637 char *opts_str = kmalloc(sizeof(data->context) + 8, GFP_KERNEL); in nfs_validate_mount_data()
1641 data->context[NFS_MAX_CONTEXT_LEN] = '\0'; in nfs_validate_mount_data()
1642 strcat(opts_str, &data->context[0]); in nfs_validate_mount_data()
Dnfs4proc.c2519 if (nfs4_async_handle_error(task, server, data->args.context->state) == -EAGAIN) { in nfs4_read_done()
2540 if (nfs4_async_handle_error(task, NFS_SERVER(inode), data->args.context->state) == -EAGAIN) { in nfs4_write_done()
Dnfs4xdr.c1153 encode_stateid(xdr, args->context); in encode_read()
1325 encode_stateid(xdr, args->context); in encode_write()
/fs/smbfs/
DKconfig9 mount their file systems (often called "shares" in this context) and
/fs/jffs2/
DREADME.Locking83 to be called from bottom-half (timer) context (on the basis that nobody
/fs/ntfs/
DChangeLog89 context as argument. This allows calling these functions with the
92 error handling by passing in the active search context when calling
180 the index context. Thanks to Yura Pakhuchiy for finding this bug.
243 is also accessed from irq context so you must use the _irqsave and
641 of -ENOENT, the search context is updated to describe the attribute
644 ntfs_external_attr_find() the search context is also updated to
712 entry using the corresponding index key. To get an index context,
745 to a buffer so that we can put the search context and unmap the mft
1325 - Change attrib.c::get_attr_search_ctx() to return the search context