Home
last modified time | relevance | path

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

/fs/nfs/
Dnfs4state.c178 struct nfs4_state_owner *sp; in nfs4_get_renew_cred_server_locked() local
184 sp = rb_entry(pos, struct nfs4_state_owner, so_server_node); in nfs4_get_renew_cred_server_locked()
185 if (list_empty(&sp->so_states)) in nfs4_get_renew_cred_server_locked()
187 cred = get_rpccred(sp->so_cred); in nfs4_get_renew_cred_server_locked()
394 struct nfs4_state_owner *sp; in nfs4_find_state_owner_locked() local
398 sp = rb_entry(parent, struct nfs4_state_owner, so_server_node); in nfs4_find_state_owner_locked()
400 if (cred < sp->so_cred) in nfs4_find_state_owner_locked()
402 else if (cred > sp->so_cred) in nfs4_find_state_owner_locked()
405 if (!list_empty(&sp->so_lru)) in nfs4_find_state_owner_locked()
406 list_del_init(&sp->so_lru); in nfs4_find_state_owner_locked()
[all …]
Ddelegation.c141 struct nfs4_state_owner *sp; in nfs_delegation_claim_opens() local
160 sp = state->owner; in nfs_delegation_claim_opens()
162 mutex_lock(&sp->so_delegreturn_mutex); in nfs_delegation_claim_opens()
163 seq = raw_seqcount_begin(&sp->so_reclaim_seqcount); in nfs_delegation_claim_opens()
167 if (!err && read_seqcount_retry(&sp->so_reclaim_seqcount, seq)) in nfs_delegation_claim_opens()
169 mutex_unlock(&sp->so_delegreturn_mutex); in nfs_delegation_claim_opens()
Dnfs4proc.c1074 struct nfs4_state_owner *sp, fmode_t fmode, int flags, in nfs4_opendata_alloc() argument
1099 p->o_arg.seqid = alloc_seqid(&sp->so_seqid, gfp_mask); in nfs4_opendata_alloc()
1105 p->owner = sp; in nfs4_opendata_alloc()
1106 atomic_inc(&sp->so_count); in nfs4_opendata_alloc()
1120 p->o_arg.id.create_time = ktime_to_ns(sp->so_seqid.create_time); in nfs4_opendata_alloc()
1121 p->o_arg.id.uniquifier = sp->so_seqid.owner_id; in nfs4_opendata_alloc()
1769 static int nfs4_open_reclaim(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_reclaim() argument
1965 struct nfs4_state_owner *sp = data->owner; in nfs4_open_prepare() local
1966 struct nfs_client *clp = sp->so_server->nfs_client; in nfs4_open_prepare()
2285 static int nfs4_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_expired() argument
[all …]
/fs/dlm/
Dconfig.c419 struct dlm_space *sp = NULL; in make_space() local
423 sp = kzalloc(sizeof(struct dlm_space), GFP_NOFS); in make_space()
427 if (!sp || !gps || !nds) in make_space()
430 config_group_init_type_name(&sp->group, name, &space_type); in make_space()
433 sp->group.default_groups = gps; in make_space()
434 sp->group.default_groups[0] = &nds->ns_group; in make_space()
435 sp->group.default_groups[1] = NULL; in make_space()
437 INIT_LIST_HEAD(&sp->members); in make_space()
438 mutex_init(&sp->members_lock); in make_space()
439 sp->members_count = 0; in make_space()
[all …]
/fs/
Dbinfmt_aout.c148 unsigned long __user *sp; in create_aout_tables() local
152 sp = (void __user *)((-(unsigned long)sizeof(char *)) & (unsigned long) p); in create_aout_tables()
155 put_user(0, --sp); in create_aout_tables()
156 put_user(0, --sp); in create_aout_tables()
158 put_user(0, --sp); in create_aout_tables()
159 put_user(1003, --sp); in create_aout_tables()
160 put_user(bprm->loader, --sp); in create_aout_tables()
161 put_user(1002, --sp); in create_aout_tables()
163 put_user(bprm->exec, --sp); in create_aout_tables()
164 put_user(1001, --sp); in create_aout_tables()
[all …]
Dbinfmt_elf_fdpic.c499 unsigned long sp, csp, nitems; in create_elf_fdpic_tables() local
513 sp = arch_align_stack(bprm->p); in create_elf_fdpic_tables()
515 sp = mm->start_stack; in create_elf_fdpic_tables()
518 if (elf_fdpic_transfer_args_to_stack(bprm, &sp) < 0) in create_elf_fdpic_tables()
533 sp -= platform_len; in create_elf_fdpic_tables()
534 u_platform = (char __user *) sp; in create_elf_fdpic_tables()
548 sp -= platform_len; in create_elf_fdpic_tables()
549 u_base_platform = (char __user *) sp; in create_elf_fdpic_tables()
554 sp &= ~7UL; in create_elf_fdpic_tables()
559 sp = (sp - len) & ~7UL; in create_elf_fdpic_tables()
[all …]
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()
857 unsigned long *sp; in load_flat_binary() local
[all …]
Dbinfmt_elf.c128 #define STACK_ADD(sp, items) ((elf_addr_t __user *)(sp) + (items)) argument
129 #define STACK_ROUND(sp, items) \ argument
130 ((15 + (unsigned long) ((sp) + (items))) &~ 15UL)
131 #define STACK_ALLOC(sp, len) ({ \ argument
132 elf_addr_t __user *old_sp = (elf_addr_t __user *)sp; sp += len; \
135 #define STACK_ADD(sp, items) ((elf_addr_t __user *)(sp) - (items)) argument
136 #define STACK_ROUND(sp, items) \ argument
137 (((unsigned long) (sp - items)) &~ 15UL)
138 #define STACK_ALLOC(sp, len) ({ sp -= len ; sp; }) argument
159 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.c693 xtpage_t *sp; /* split page */ in xtSplitUp() local
712 sp = XT_PAGE(ip, smp); in xtSplitUp()
715 if ((sp->header.flag & BT_ROOT) && (!S_ISDIR(ip->i_mode)) && in xtSplitUp()
716 (le16_to_cpu(sp->header.maxentry) < XTROOTMAXSLOT) && in xtSplitUp()
718 sp->header.maxentry = cpu_to_le16(XTROOTMAXSLOT); in xtSplitUp()
730 nextindex = le16_to_cpu(sp->header.nextindex); in xtSplitUp()
732 memmove(&sp->xad[skip + 1], &sp->xad[skip], in xtSplitUp()
736 xad = &sp->xad[skip]; in xtSplitUp()
741 le16_add_cpu(&sp->header.nextindex, 1); in xtSplitUp()
750 le16_to_cpu(sp->header.nextindex) - in xtSplitUp()
[all …]
/fs/xfs/
Dxfs_linux.h123 #define current_set_flags_nested(sp, f) \ argument
124 (*(sp) = current->flags, current->flags |= (f))
125 #define current_clear_flags_nested(sp, f) \ argument
126 (*(sp) = current->flags, current->flags &= ~(f))
127 #define current_restore_flags_nested(sp, f) \ argument
128 (current->flags = ((current->flags & ~(f)) | (*(sp) & (f))))
/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/xfs/libxfs/
Dxfs_rtbitmap.c447 xfs_suminfo_t *sp; /* pointer to returned data */ in xfs_rtmodify_summary_int() local
484 sp = XFS_SUMPTR(mp, bp, so); in xfs_rtmodify_summary_int()
486 uint first = (uint)((char *)sp - (char *)bp->b_addr); in xfs_rtmodify_summary_int()
488 *sp += delta; in xfs_rtmodify_summary_int()
489 xfs_trans_log_buf(tp, bp, first, first + sizeof(*sp) - 1); in xfs_rtmodify_summary_int()
492 *sum = *sp; in xfs_rtmodify_summary_int()
Dxfs_ialloc_btree.c171 rec->inobt.ir_u.sp.ir_holemask = in xfs_inobt_init_rec_from_cur()
173 rec->inobt.ir_u.sp.ir_count = cur->bc_rec.i.ir_count; in xfs_inobt_init_rec_from_cur()
174 rec->inobt.ir_u.sp.ir_freecount = cur->bc_rec.i.ir_freecount; in xfs_inobt_init_rec_from_cur()
Dxfs_ialloc.c89 rec.inobt.ir_u.sp.ir_holemask = cpu_to_be16(irec->ir_holemask); in xfs_inobt_update()
90 rec.inobt.ir_u.sp.ir_count = irec->ir_count; in xfs_inobt_update()
91 rec.inobt.ir_u.sp.ir_freecount = irec->ir_freecount; in xfs_inobt_update()
118 irec->ir_holemask = be16_to_cpu(rec->inobt.ir_u.sp.ir_holemask); in xfs_inobt_get_rec()
119 irec->ir_count = rec->inobt.ir_u.sp.ir_count; in xfs_inobt_get_rec()
120 irec->ir_freecount = rec->inobt.ir_u.sp.ir_freecount; in xfs_inobt_get_rec()
Dxfs_format.h1268 } sp; member
/fs/nfs/blocklayout/
Dblocklayout.c526 static int decode_sector_number(__be32 **rp, sector_t *sp) in decode_sector_number() argument
535 *sp = s >> SECTOR_SHIFT; in decode_sector_number()
/fs/proc/
Dbase.c680 unsigned long args[6], sp, pc; in proc_pid_syscall() local
687 if (task_current_syscall(task, &nr, args, 6, &sp, &pc)) in proc_pid_syscall()
690 seq_printf(m, "%ld 0x%lx 0x%lx\n", nr, sp, pc); in proc_pid_syscall()
696 sp, pc); in proc_pid_syscall()
/fs/udf/
Dsuper.c846 struct spaceBitmapDesc *sp; in udf_find_fileset() local
847 sp = (struct spaceBitmapDesc *) in udf_find_fileset()
850 ((le32_to_cpu(sp->numOfBytes) + in udf_find_fileset()