/fs/xfs/ |
H A D | xfs_xattr.c | 133 struct xfs_attr_list_context *context, 144 ASSERT(context->count >= 0); 153 arraytop = context->count + prefix_len + namelen + 1; 154 if (arraytop > context->firstu) { 155 context->count = -1; /* insufficient space */ 158 offset = (char *)context->alist + context->count; 164 context->count += prefix_len + namelen + 1; 170 struct xfs_attr_list_context *context, 177 context 132 xfs_xattr_put_listent( struct xfs_attr_list_context *context, int flags, unsigned char *name, int namelen, int valuelen, unsigned char *value) argument 169 xfs_xattr_put_listent_sizes( struct xfs_attr_list_context *context, int flags, unsigned char *name, int namelen, int valuelen, unsigned char *value) argument 200 struct xfs_attr_list_context context; local [all...] |
H A D | xfs_attr_list.c | 72 xfs_attr_shortform_list(xfs_attr_list_context_t *context) argument 82 ASSERT(context != NULL); 83 dp = context->dp; 90 cursor = context->cursor; 93 trace_xfs_attr_list_sf(context); 104 if (context->bufsize == 0 || 106 (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) { 108 error = context->put_listent(context, 119 if (context 220 xfs_attr_node_list(xfs_attr_list_context_t *context) argument 363 xfs_attr3_leaf_list_int( struct xfs_buf *bp, struct xfs_attr_list_context *context) argument 489 xfs_attr_leaf_list(xfs_attr_list_context_t *context) argument 507 xfs_attr_list_int( xfs_attr_list_context_t *context) argument 548 xfs_attr_put_listent( xfs_attr_list_context_t *context, int flags, unsigned char *name, int namelen, int valuelen, unsigned char *value) argument 611 xfs_attr_list_context_t context; local [all...] |
H A D | xfs_ioctl.c | 145 void *context, 144 xfs_handle_acceptable( void *context, struct dentry *dentry) argument
|
/fs/ocfs2/ |
H A D | move_extents.c | 59 struct ocfs2_move_extents_context *context, 64 struct inode *inode = context->inode; 69 u64 ino = ocfs2_metadata_cache_owner(context->et.et_ci); 85 path = ocfs2_new_path_from_et(&context->et); 120 context->et.et_root_bh, 127 ret = ocfs2_split_extent(handle, &context->et, path, index, 128 &replace_rec, context->meta_ac, 129 &context->dealloc); 135 ocfs2_journal_dirty(handle, context->et.et_root_bh); 137 context 58 __ocfs2_move_extent(handle_t *handle, struct ocfs2_move_extents_context *context, u32 cpos, u32 len, u32 p_cpos, u32 new_p_cpos, int ext_flags) argument 227 ocfs2_defrag_extent(struct ocfs2_move_extents_context *context, u32 cpos, u32 phys_cpos, u32 *len, int ext_flags) argument 565 ocfs2_move_extent(struct ocfs2_move_extents_context *context, u32 cpos, u32 phys_cpos, u32 *new_phys_cpos, u32 len, int ext_flags) argument 763 __ocfs2_move_extents_range(struct buffer_head *di_bh, struct ocfs2_move_extents_context *context) argument 898 ocfs2_move_extents(struct ocfs2_move_extents_context *context) argument 988 struct ocfs2_move_extents_context *context; local [all...] |
H A D | refcounttree.c | 64 int (*get_clusters)(struct ocfs2_cow_context *context, 3132 struct ocfs2_cow_context *context, 3138 struct ocfs2_caching_info *ci = context->data_et.et_ci; 3146 ret = context->cow_duplicate_clusters(handle, context->inode, 3154 ret = ocfs2_clear_ext_refcount(handle, &context->data_et, 3156 context->meta_ac, &context->dealloc); 3213 static int ocfs2_di_get_clusters(struct ocfs2_cow_context *context, argument 3218 return ocfs2_get_clusters(context 3131 ocfs2_replace_clusters(handle_t *handle, struct ocfs2_cow_context *context, u32 cpos, u32 old, u32 new, u32 len, unsigned int ext_flags) argument 3222 ocfs2_make_clusters_writable(struct super_block *sb, struct ocfs2_cow_context *context, u32 cpos, u32 p_cluster, u32 num_clusters, unsigned int e_flags) argument 3373 ocfs2_replace_cow(struct ocfs2_cow_context *context) argument 3440 struct ocfs2_cow_context *context = NULL; local 3541 ocfs2_xattr_value_get_clusters(struct ocfs2_cow_context *context, u32 v_cluster, u32 *p_cluster, u32 *num_clusters, unsigned int *extent_flags) argument 3653 struct ocfs2_cow_context *context = NULL; local [all...] |
/fs/xfs/libxfs/ |
H A D | xfs_attr_leaf.h | 53 int xfs_attr_shortform_list(struct xfs_attr_list_context *context); 82 struct xfs_attr_list_context *context);
|
/fs/nfs/ |
H A D | fscache-index.c | 294 * Get an extra reference on a read context. 296 * context. 297 * - The read context is passed back to NFS in the event that a data read on the 299 * retrieve the data, which requires the read context for security. 301 static void nfs_fh_get_context(void *cookie_netfs_data, void *context) argument 303 get_nfs_open_context(context); 307 * Release an extra reference on a read context. 309 * context. 311 static void nfs_fh_put_context(void *cookie_netfs_data, void *context) argument 313 if (context) [all...] |
H A D | fscache.c | 302 * - Called in process (keventd) context. 305 void *context, 310 page, context, error); 318 error = nfs_readpage_async(context, page->mapping->host, page); 304 nfs_readpage_from_fscache_complete(struct page *page, void *context, int error) argument
|
H A D | pagelist.c | 322 * @ctx: open context to use 347 /* get lock context early so we can deal with alloc failures */ 401 * Release page and open context resources associated with a read/write 442 /* Release struct file and open context */ 529 if (hdr->args.context) 530 put_nfs_open_context(hdr->args.context); 560 hdr->args.context = get_nfs_open_context(req->wb_context);
|
H A D | super.c | 1977 memset(data->context, 0, sizeof(data->context)); 2042 * userspace code converted context=blah to just blah so we are 2045 if (data->context[0]){ 2048 char *opts_str = kmalloc(sizeof(data->context) + 8, GFP_KERNEL); 2051 strcpy(opts_str, "context="); 2052 data->context[NFS_MAX_CONTEXT_LEN] = '\0'; 2053 strcat(opts_str, &data->context[0]);
|
H A D | write.c | 363 * with a reference held by some other context. 1118 * Avoid buffered writes when a open context credential's key would 1137 * Test if the open context credential key is marked to expire soon. 1455 put_nfs_open_context(data->context); 1541 data->context = get_nfs_open_context(first->wb_context);
|
H A D | nfs4proc.c | 4124 hdr->args.context->state, 4142 args->context, 4180 if (nfs4_set_rw_stateid(&hdr->args.stateid, hdr->args.context, 4184 if (unlikely(test_bit(NFS_CONTEXT_BAD, &hdr->args.context->flags))) 4196 hdr->args.context->state, 4214 args->context,
|
/fs/exportfs/ |
H A D | expfs.c | 42 int (*acceptable)(void *context, struct dentry *dentry), 43 void *context) 48 if (acceptable(context, result)) 58 if (dentry != result && acceptable(context, dentry)) { 413 int (*acceptable)(void *, struct dentry *), void *context) 446 if (!acceptable(context, result)) { 467 alias = find_acceptable_alias(result, acceptable, context); 528 alias = find_acceptable_alias(result, acceptable, context); 41 find_acceptable_alias(struct dentry *result, int (*acceptable)(void *context, struct dentry *dentry), void *context) argument 411 exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, int fh_len, int fileid_type, int (*acceptable)(void *, struct dentry *), void *context) argument
|
/fs/fscache/ |
H A D | internal.h | 323 * get an extra reference to a netfs retrieval context 326 void *fscache_get_context(struct fscache_cookie *cookie, void *context) argument 329 cookie->def->get_context(cookie->netfs_data, context); 330 return context; 334 * release a reference to a netfs retrieval context 337 void fscache_put_context(struct fscache_cookie *cookie, void *context) argument 340 cookie->def->put_context(cookie->netfs_data, context);
|
H A D | page.c | 264 if (op->context) 265 fscache_put_context(op->op.object->cookie, op->context); 277 void *context) 294 op->context = context; 402 void *context, 429 end_io_func, context); 456 /* pin the netfs read context in case we need to do the actual netfs 458 fscache_get_context(object->cookie, op->context); 537 void *context, 273 fscache_alloc_retrieval( struct fscache_cookie *cookie, struct address_space *mapping, fscache_rw_complete_t end_io_func, void *context) argument 399 __fscache_read_or_alloc_page(struct fscache_cookie *cookie, struct page *page, fscache_rw_complete_t end_io_func, void *context, gfp_t gfp) argument 532 __fscache_read_or_alloc_pages(struct fscache_cookie *cookie, struct address_space *mapping, struct list_head *pages, unsigned *nr_pages, fscache_rw_complete_t end_io_func, void *context, gfp_t gfp) argument [all...] |
/fs/ceph/ |
H A D | snap.c | 45 * The realm hierarchy drives the generation of a 'snap context' for each 292 * build the snap context for a given realm. 302 * build parent context, if it hasn't been built. 315 /* do i actually need to update? not if my context seq 331 /* alloc new snap context */ 388 * rebuild snap context for the given realm and all of its children. 512 capsnap->context = snapc; 558 capsnap->context, capsnap->context->seq, 564 inode, capsnap, capsnap->context, [all...] |
H A D | super.h | 150 struct ceph_snap_context *context; member in struct:ceph_cap_snap 620 struct list_head dirty_item; /* if realm needs new context */
|
H A D | addr.c | 25 * context needs to be associated with the osd write during writeback. 44 * that snap context _only_. Then we move on to the next capsnap, 45 * eventually reaching the "live" or "head" context (i.e., pages that 113 * Reference snap context in page->private. Also set 415 * only snap context we are allowed to write back. 427 capsnap->context, capsnap->dirty_pages); 429 snapc = ceph_get_snap_context(capsnap->context); 474 /* verify this is a writeable snap context */ 721 /* find oldest snap context with dirty data */ 728 dout(" no snap context wit [all...] |
H A D | caps.c | 2268 * context. Adjust per-snap dirty page accounting as appropriate. 2302 if (capsnap->context == snapc) { 2318 inode, capsnap, capsnap->context->seq, 2325 ceph_put_snap_context(capsnap->context); 2602 * context. 2720 ceph_put_snap_context(capsnap->context);
|
/fs/nfs/filelayout/ |
H A D | filelayout.c | 240 err = filelayout_async_handle_error(task, hdr->args.context->state, 297 if (unlikely(test_bit(NFS_CONTEXT_BAD, &hdr->args.context->flags))) { 314 if (nfs4_set_rw_stateid(&hdr->args.stateid, hdr->args.context, 358 err = filelayout_async_handle_error(task, hdr->args.context->state, 413 if (unlikely(test_bit(NFS_CONTEXT_BAD, &hdr->args.context->flags))) { 428 if (nfs4_set_rw_stateid(&hdr->args.stateid, hdr->args.context,
|
/fs/ |
H A D | binfmt_elf_fdpic.c | 335 current->mm->context.exec_fdpic_loadmap = 0; 336 current->mm->context.interp_fdpic_loadmap = 0; 402 current->mm->context.end_brk = current->mm->start_brk; 403 current->mm->context.end_brk += 433 /* everything is now ready... get the userspace context ready to roll */ 539 current->mm->context.exec_fdpic_loadmap = (unsigned long) sp; 552 current->mm->context.interp_fdpic_loadmap = (unsigned long) sp; 1358 prstatus->pr_exec_fdpic_loadmap = p->mm->context.exec_fdpic_loadmap; 1359 prstatus->pr_interp_fdpic_loadmap = p->mm->context.interp_fdpic_loadmap;
|
H A D | fhandle.c | 133 static int vfs_dentry_acceptable(void *context, struct dentry *dentry) argument
|
H A D | binfmt_flat.c | 684 current->mm->context.end_brk = memp + memp_size - stack_len; 901 p = ((current->mm->context.end_brk + stack_len + 3) & ~3) - 4;
|
/fs/cachefiles/ |
H A D | internal.h | 90 char *secctx; /* LSM security context */ 113 void *context; member in struct:cachefiles_one_write
|
/fs/nfsd/ |
H A D | nfs4xdr.c | 1978 void *context, int len) 1992 p = xdr_encode_opaque(p, context, len); 1998 void *context, int len) 2061 void *context = NULL; local 2125 &context, &contextlen); 2523 status = nfsd4_encode_security_label(xdr, rqstp, context, 2544 if (context) 2545 security_release_secctx(context, contextlen); 1977 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, void *context, int len) argument 1997 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, void *context, int len) argument
|