Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 17 of 17) sorted by relevance

/fs/nfs/
Dnfs4state.c161 struct nfs4_state_owner *sp; in nfs4_get_renew_cred_server_locked() local
167 sp = rb_entry(pos, struct nfs4_state_owner, so_server_node); in nfs4_get_renew_cred_server_locked()
168 if (list_empty(&sp->so_states)) in nfs4_get_renew_cred_server_locked()
170 cred = get_rpccred(sp->so_cred); in nfs4_get_renew_cred_server_locked()
360 struct nfs4_state_owner *sp; in nfs4_get_setclientid_cred_server() local
366 sp = rb_entry(pos, struct nfs4_state_owner, so_server_node); in nfs4_get_setclientid_cred_server()
367 cred = get_rpccred(sp->so_cred); in nfs4_get_setclientid_cred_server()
407 struct nfs4_state_owner *sp; in nfs4_find_state_owner_locked() local
411 sp = rb_entry(parent, struct nfs4_state_owner, so_server_node); in nfs4_find_state_owner_locked()
413 if (cred < sp->so_cred) in nfs4_find_state_owner_locked()
[all …]
Ddelegation.c98 struct nfs4_state_owner *sp; in nfs_delegation_claim_opens() local
115 sp = state->owner; in nfs_delegation_claim_opens()
117 mutex_lock(&sp->so_delegreturn_mutex); in nfs_delegation_claim_opens()
118 seq = raw_seqcount_begin(&sp->so_reclaim_seqcount); in nfs_delegation_claim_opens()
122 if (!err && read_seqcount_retry(&sp->so_reclaim_seqcount, seq)) in nfs_delegation_claim_opens()
124 mutex_unlock(&sp->so_delegreturn_mutex); in nfs_delegation_claim_opens()
Dnfs4proc.c819 struct nfs4_state_owner *sp, fmode_t fmode, int flags, in nfs4_opendata_alloc() argument
832 p->o_arg.seqid = nfs_alloc_seqid(&sp->so_seqid, gfp_mask); in nfs4_opendata_alloc()
838 p->owner = sp; in nfs4_opendata_alloc()
839 atomic_inc(&sp->so_count); in nfs4_opendata_alloc()
851 p->o_arg.id.create_time = ktime_to_ns(sp->so_seqid.create_time); in nfs4_opendata_alloc()
852 p->o_arg.id.uniquifier = sp->so_seqid.owner_id; in nfs4_opendata_alloc()
1379 static int nfs4_open_reclaim(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_reclaim() argument
1533 struct nfs4_state_owner *sp = data->owner; in nfs4_open_prepare() local
1534 struct nfs_client *clp = sp->so_server->nfs_client; in nfs4_open_prepare()
1840 static int nfs4_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_expired() argument
[all …]
/fs/dlm/
Dconfig.c528 struct dlm_space *sp = NULL; in make_space() local
532 sp = kzalloc(sizeof(struct dlm_space), GFP_NOFS); in make_space()
536 if (!sp || !gps || !nds) in make_space()
539 config_group_init_type_name(&sp->group, name, &space_type); in make_space()
542 sp->group.default_groups = gps; in make_space()
543 sp->group.default_groups[0] = &nds->ns_group; in make_space()
544 sp->group.default_groups[1] = NULL; in make_space()
546 INIT_LIST_HEAD(&sp->members); in make_space()
547 mutex_init(&sp->members_lock); in make_space()
548 sp->members_count = 0; in make_space()
[all …]
/fs/
Dbinfmt_aout.c149 unsigned long __user *sp; in create_aout_tables() local
153 sp = (void __user *)((-(unsigned long)sizeof(char *)) & (unsigned long) p); in create_aout_tables()
156 put_user(0, --sp); in create_aout_tables()
157 put_user(0, --sp); in create_aout_tables()
159 put_user(0, --sp); in create_aout_tables()
160 put_user(1003, --sp); in create_aout_tables()
161 put_user(bprm->loader, --sp); in create_aout_tables()
162 put_user(1002, --sp); in create_aout_tables()
164 put_user(bprm->exec, --sp); in create_aout_tables()
165 put_user(1001, --sp); in create_aout_tables()
[all …]
Dbinfmt_som.c74 unsigned long *sp; in create_som_tables() local
77 sp = (unsigned long *)((bprm->p + 3) & ~3); in create_som_tables()
79 envp = (char **) sp; in create_som_tables()
80 sp += envc + 1; in create_som_tables()
81 argv = (char **) sp; in create_som_tables()
82 sp += argc + 1; in create_som_tables()
84 __put_user((unsigned long) envp,++sp); in create_som_tables()
85 __put_user((unsigned long) argv,++sp); in create_som_tables()
87 __put_user(argc, ++sp); in create_som_tables()
89 bprm->p = (unsigned long) sp; in create_som_tables()
Dbinfmt_flat.c126 unsigned long * sp; in create_flat_tables() local
132 sp = (unsigned long *)p; in create_flat_tables()
133 sp -= (envc + argc + 2) + 1 + (flat_argvp_envp_on_stack() ? 2 : 0); in create_flat_tables()
134 sp = (unsigned long *) ((unsigned long)sp & -FLAT_STACK_ALIGN); in create_flat_tables()
135 argv = sp + 1 + (flat_argvp_envp_on_stack() ? 2 : 0); in create_flat_tables()
139 put_user((unsigned long) envp, sp + 2); in create_flat_tables()
140 put_user((unsigned long) argv, sp + 1); in create_flat_tables()
143 put_user(argc, sp); in create_flat_tables()
161 return (unsigned long)sp; in create_flat_tables()
867 unsigned long *sp; in load_flat_binary() local
[all …]
Dbinfmt_elf_fdpic.c481 unsigned long sp, csp, nitems; in create_elf_fdpic_tables() local
495 sp = arch_align_stack(bprm->p); in create_elf_fdpic_tables()
497 sp = mm->start_stack; in create_elf_fdpic_tables()
500 if (elf_fdpic_transfer_args_to_stack(bprm, &sp) < 0) in create_elf_fdpic_tables()
515 sp -= platform_len; in create_elf_fdpic_tables()
516 u_platform = (char __user *) sp; in create_elf_fdpic_tables()
530 sp -= platform_len; in create_elf_fdpic_tables()
531 u_base_platform = (char __user *) sp; in create_elf_fdpic_tables()
536 sp &= ~7UL; in create_elf_fdpic_tables()
541 sp = (sp - len) & ~7UL; in create_elf_fdpic_tables()
[all …]
Dbinfmt_elf.c121 #define STACK_ADD(sp, items) ((elf_addr_t __user *)(sp) + (items)) argument
122 #define STACK_ROUND(sp, items) \ argument
123 ((15 + (unsigned long) ((sp) + (items))) &~ 15UL)
124 #define STACK_ALLOC(sp, len) ({ \ argument
125 elf_addr_t __user *old_sp = (elf_addr_t __user *)sp; sp += len; \
128 #define STACK_ADD(sp, items) ((elf_addr_t __user *)(sp) - (items)) argument
129 #define STACK_ROUND(sp, items) \ argument
130 (((unsigned long) (sp - items)) &~ 15UL)
131 #define STACK_ALLOC(sp, len) ({ sp -= len ; sp; }) argument
152 elf_addr_t __user *sp; in create_elf_tables() local
[all …]
/fs/jfs/
Djfs_dtree.c188 static void dtMoveEntry(dtpage_t * sp, int si, dtpage_t * dp,
936 dtpage_t *sp; /* split page */ in dtSplitUp() local
958 sp = DT_PAGE(ip, smp); in dtSplitUp()
976 if (sp->header.flag & BT_ROOT) { in dtSplitUp()
983 n -= DTROOTMAXSLOT - sp->header.freecnt; /* header + entries */ in dtSplitUp()
1018 pxd = &sp->header.self; in dtSplitUp()
1025 if ((n + sp->header.freecnt) <= split->nslot) in dtSplitUp()
1132 lp = sp; in dtSplitUp()
1138 DT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc); in dtSplitUp()
1183 if ((sp->header.flag & BT_ROOT && skip > 1) || in dtSplitUp()
[all …]
Djfs_xtree.c692 xtpage_t *sp; /* split page */ in xtSplitUp() local
711 sp = XT_PAGE(ip, smp); in xtSplitUp()
714 if ((sp->header.flag & BT_ROOT) && (!S_ISDIR(ip->i_mode)) && in xtSplitUp()
715 (le16_to_cpu(sp->header.maxentry) < XTROOTMAXSLOT) && in xtSplitUp()
717 sp->header.maxentry = cpu_to_le16(XTROOTMAXSLOT); in xtSplitUp()
729 nextindex = le16_to_cpu(sp->header.nextindex); in xtSplitUp()
731 memmove(&sp->xad[skip + 1], &sp->xad[skip], in xtSplitUp()
735 xad = &sp->xad[skip]; in xtSplitUp()
740 le16_add_cpu(&sp->header.nextindex, 1); in xtSplitUp()
749 le16_to_cpu(sp->header.nextindex) - in xtSplitUp()
[all …]
/fs/xfs/
Dxfs_linux.h128 #define current_set_flags_nested(sp, f) \ argument
129 (*(sp) = current->flags, current->flags |= (f))
130 #define current_clear_flags_nested(sp, f) \ argument
131 (*(sp) = current->flags, current->flags &= ~(f))
132 #define current_restore_flags_nested(sp, f) \ argument
133 (current->flags = ((current->flags & ~(f)) | (*(sp) & (f))))
Dxfs_rtalloc.c1558 xfs_suminfo_t *sp; /* pointer to returned data */ in xfs_rtget_summary() local
1597 sp = XFS_SUMPTR(mp, bp, so); in xfs_rtget_summary()
1598 *sum = *sp; in xfs_rtget_summary()
1784 xfs_suminfo_t *sp; /* pointer to returned data */ in xfs_rtmodify_summary() local
1823 sp = XFS_SUMPTR(mp, bp, so); in xfs_rtmodify_summary()
1824 *sp += delta; in xfs_rtmodify_summary()
1825 xfs_trans_log_buf(tp, bp, (uint)((char *)sp - (char *)bp->b_addr), in xfs_rtmodify_summary()
1826 (uint)((char *)sp - (char *)bp->b_addr + sizeof(*sp) - 1)); in xfs_rtmodify_summary()
/fs/jffs2/
Dsummary.c391 void *sp; in jffs2_sum_process_sum_data() local
395 sp = summary->sum; in jffs2_sum_process_sum_data()
407 switch (je16_to_cpu(((struct jffs2_sum_unknown_flash *)sp)->nodetype)) { in jffs2_sum_process_sum_data()
410 spi = sp; in jffs2_sum_process_sum_data()
429 sp += JFFS2_SUMMARY_INODE_SIZE; in jffs2_sum_process_sum_data()
437 spd = sp; in jffs2_sum_process_sum_data()
486 sp += JFFS2_SUMMARY_DIRENT_SIZE(spd->nsize); in jffs2_sum_process_sum_data()
495 spx = (struct jffs2_sum_xattr_flash *)sp; in jffs2_sum_process_sum_data()
518 sp += JFFS2_SUMMARY_XATTR_SIZE; in jffs2_sum_process_sum_data()
526 spr = (struct jffs2_sum_xref_flash *)sp; in jffs2_sum_process_sum_data()
[all …]
/fs/nfs/blocklayout/
Dblocklayoutdev.c43 static int decode_sector_number(__be32 **rp, sector_t *sp) in decode_sector_number() argument
52 *sp = s >> SECTOR_SHIFT; in decode_sector_number()
/fs/udf/
Dsuper.c808 struct spaceBitmapDesc *sp; in udf_find_fileset() local
809 sp = (struct spaceBitmapDesc *) in udf_find_fileset()
812 ((le32_to_cpu(sp->numOfBytes) + in udf_find_fileset()
/fs/proc/
Dbase.c525 unsigned long args[6], sp, pc; in proc_pid_syscall() local
530 if (task_current_syscall(task, &nr, args, 6, &sp, &pc)) in proc_pid_syscall()
533 res = sprintf(buffer, "%ld 0x%lx 0x%lx\n", nr, sp, pc); in proc_pid_syscall()
539 sp, pc); in proc_pid_syscall()