/fs/nfs/ |
D | nfs4state.c | 97 struct nfs4_state_owner *sp; in nfs4_get_renew_cred_locked() local 102 sp = rb_entry(pos, struct nfs4_state_owner, so_client_node); in nfs4_get_renew_cred_locked() 103 if (list_empty(&sp->so_states)) in nfs4_get_renew_cred_locked() 105 cred = get_rpccred(sp->so_cred); in nfs4_get_renew_cred_locked() 123 struct nfs4_state_owner *sp; in nfs4_get_setclientid_cred() local 133 sp = rb_entry(pos, struct nfs4_state_owner, so_client_node); in nfs4_get_setclientid_cred() 134 cred = get_rpccred(sp->so_cred); in nfs4_get_setclientid_cred() 202 struct nfs4_state_owner *sp, *res = NULL; in nfs4_find_state_owner() local 206 sp = rb_entry(parent, struct nfs4_state_owner, so_client_node); in nfs4_find_state_owner() 208 if (server < sp->so_server) { in nfs4_find_state_owner() [all …]
|
D | nfs4proc.c | 326 struct nfs4_state_owner *sp, fmode_t fmode, int flags, in nfs4_opendata_alloc() argument 337 p->o_arg.seqid = nfs_alloc_seqid(&sp->so_seqid); in nfs4_opendata_alloc() 343 p->owner = sp; in nfs4_opendata_alloc() 344 atomic_inc(&sp->so_count); in nfs4_opendata_alloc() 349 p->o_arg.id = sp->so_owner_id.id; in nfs4_opendata_alloc() 777 static int nfs4_open_reclaim(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_reclaim() argument 910 struct nfs4_state_owner *sp = data->owner; in nfs4_open_prepare() local 933 data->o_arg.id = sp->so_owner_id.id; in nfs4_open_prepare() 934 data->o_arg.clientid = sp->so_client->cl_clientid; in nfs4_open_prepare() 1114 static int nfs4_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_expired() argument [all …]
|
/fs/dlm/ |
D | config.c | 481 struct dlm_space *sp = NULL; in make_space() local 485 sp = kzalloc(sizeof(struct dlm_space), GFP_KERNEL); in make_space() 489 if (!sp || !gps || !nds) in make_space() 492 config_group_init_type_name(&sp->group, name, &space_type); in make_space() 495 sp->group.default_groups = gps; in make_space() 496 sp->group.default_groups[0] = &nds->ns_group; in make_space() 497 sp->group.default_groups[1] = NULL; in make_space() 499 INIT_LIST_HEAD(&sp->members); in make_space() 500 mutex_init(&sp->members_lock); in make_space() 501 sp->members_count = 0; in make_space() [all …]
|
/fs/ |
D | binfmt_aout.c | 166 unsigned long __user *sp; in create_aout_tables() local 170 sp = (void __user *)((-(unsigned long)sizeof(char *)) & (unsigned long) p); in create_aout_tables() 173 put_user(0, --sp); in create_aout_tables() 174 put_user(0, --sp); in create_aout_tables() 176 put_user(0, --sp); in create_aout_tables() 177 put_user(1003, --sp); in create_aout_tables() 178 put_user(bprm->loader, --sp); in create_aout_tables() 179 put_user(1002, --sp); in create_aout_tables() 181 put_user(bprm->exec, --sp); in create_aout_tables() 182 put_user(1001, --sp); in create_aout_tables() [all …]
|
D | binfmt_som.c | 74 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()
|
D | binfmt_flat.c | 111 unsigned long * sp; in create_flat_tables() local 117 sp = (unsigned long *) ((-(unsigned long)sizeof(char *))&(unsigned long) p); in create_flat_tables() 119 sp -= envc+1; in create_flat_tables() 120 envp = sp; in create_flat_tables() 121 sp -= argc+1; in create_flat_tables() 122 argv = sp; in create_flat_tables() 124 flat_stack_align(sp); in create_flat_tables() 126 --sp; put_user((unsigned long) envp, sp); in create_flat_tables() 127 --sp; put_user((unsigned long) argv, sp); in create_flat_tables() 130 put_user(argc,--sp); in create_flat_tables() [all …]
|
D | binfmt_elf_fdpic.c | 471 unsigned long sp, csp, nitems; in create_elf_fdpic_tables() local 486 sp = arch_align_stack(bprm->p); in create_elf_fdpic_tables() 488 sp = mm->start_stack; in create_elf_fdpic_tables() 491 if (elf_fdpic_transfer_args_to_stack(bprm, &sp) < 0) in create_elf_fdpic_tables() 508 sp -= platform_len; in create_elf_fdpic_tables() 509 u_platform = (char __user *) sp; in create_elf_fdpic_tables() 523 sp -= platform_len; in create_elf_fdpic_tables() 524 u_base_platform = (char __user *) sp; in create_elf_fdpic_tables() 529 sp &= ~7UL; in create_elf_fdpic_tables() 534 sp = (sp - len) & ~7UL; in create_elf_fdpic_tables() [all …]
|
D | binfmt_elf.c | 121 #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/ |
D | jfs_dtree.c | 187 static void dtMoveEntry(dtpage_t * sp, int si, dtpage_t * dp, 935 dtpage_t *sp; /* split page */ in dtSplitUp() local 957 sp = DT_PAGE(ip, smp); in dtSplitUp() 975 if (sp->header.flag & BT_ROOT) { in dtSplitUp() 982 n -= DTROOTMAXSLOT - sp->header.freecnt; /* header + entries */ in dtSplitUp() 1017 pxd = &sp->header.self; in dtSplitUp() 1024 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 …]
|
D | jfs_xtree.c | 953 xtpage_t *sp; /* split page */ in xtSplitUp() local 972 sp = XT_PAGE(ip, smp); in xtSplitUp() 975 if ((sp->header.flag & BT_ROOT) && (!S_ISDIR(ip->i_mode)) && in xtSplitUp() 976 (le16_to_cpu(sp->header.maxentry) < XTROOTMAXSLOT) && in xtSplitUp() 978 sp->header.maxentry = cpu_to_le16(XTROOTMAXSLOT); in xtSplitUp() 990 nextindex = le16_to_cpu(sp->header.nextindex); in xtSplitUp() 992 memmove(&sp->xad[skip + 1], &sp->xad[skip], in xtSplitUp() 996 xad = &sp->xad[skip]; in xtSplitUp() 1001 le16_add_cpu(&sp->header.nextindex, 1); in xtSplitUp() 1010 le16_to_cpu(sp->header.nextindex) - in xtSplitUp() [all …]
|
/fs/xfs/linux-2.6/ |
D | xfs_linux.h | 123 #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/xfs/support/ |
D | uuid.c | 85 __uint64_t *sp = (__uint64_t *)uuid; in uuid_hash64() local 87 return sp[0] + sp[1]; in uuid_hash64()
|
/fs/jffs2/ |
D | summary.c | 389 void *sp; in jffs2_sum_process_sum_data() local 393 sp = summary->sum; in jffs2_sum_process_sum_data() 405 switch (je16_to_cpu(((struct jffs2_sum_unknown_flash *)sp)->nodetype)) { in jffs2_sum_process_sum_data() 408 spi = sp; in jffs2_sum_process_sum_data() 427 sp += JFFS2_SUMMARY_INODE_SIZE; in jffs2_sum_process_sum_data() 435 spd = sp; in jffs2_sum_process_sum_data() 481 sp += JFFS2_SUMMARY_DIRENT_SIZE(spd->nsize); in jffs2_sum_process_sum_data() 490 spx = (struct jffs2_sum_xattr_flash *)sp; in jffs2_sum_process_sum_data() 513 sp += JFFS2_SUMMARY_XATTR_SIZE; in jffs2_sum_process_sum_data() 521 spr = (struct jffs2_sum_xref_flash *)sp; in jffs2_sum_process_sum_data() [all …]
|
/fs/btrfs/ |
D | free-space-cache.c | 354 struct btrfs_free_space *sp; in btrfs_add_free_space() local 358 sp = tree_search_offset(&block_group->free_space_offset, offset, 0, 1); in btrfs_add_free_space() 359 BUG_ON(!sp); in btrfs_add_free_space() 369 struct btrfs_free_space *sp; in btrfs_add_free_space_lock() local 372 sp = tree_search_offset(&block_group->free_space_offset, offset, 0, 1); in btrfs_add_free_space_lock() 373 BUG_ON(!sp); in btrfs_add_free_space_lock()
|
/fs/xfs/ |
D | xfs_rtalloc.c | 1573 xfs_suminfo_t *sp; /* pointer to returned data */ in xfs_rtget_summary() local 1612 sp = XFS_SUMPTR(mp, bp, so); in xfs_rtget_summary() 1613 *sum = *sp; in xfs_rtget_summary() 1799 xfs_suminfo_t *sp; /* pointer to returned data */ in xfs_rtmodify_summary() local 1838 sp = XFS_SUMPTR(mp, bp, so); in xfs_rtmodify_summary() 1839 *sp += delta; in xfs_rtmodify_summary() 1840 xfs_trans_log_buf(tp, bp, (uint)((char *)sp - (char *)XFS_BUF_PTR(bp)), in xfs_rtmodify_summary() 1841 (uint)((char *)sp - (char *)XFS_BUF_PTR(bp) + sizeof(*sp) - 1)); in xfs_rtmodify_summary()
|
/fs/udf/ |
D | super.c | 863 struct spaceBitmapDesc *sp; in udf_find_fileset() local 864 sp = (struct spaceBitmapDesc *) in udf_find_fileset() 867 ((le32_to_cpu(sp->numOfBytes) + in udf_find_fileset()
|
/fs/proc/ |
D | base.c | 545 unsigned long args[6], sp, pc; in proc_pid_syscall() local 547 if (task_current_syscall(task, &nr, args, 6, &sp, &pc)) in proc_pid_syscall() 551 return sprintf(buffer, "%ld 0x%lx 0x%lx\n", nr, sp, pc); in proc_pid_syscall() 557 sp, pc); in proc_pid_syscall()
|