/fs/dlm/ |
D | plock.c | 63 static void send_op(struct plock_op *op) in send_op() argument 65 set_version(&op->info); in send_op() 66 INIT_LIST_HEAD(&op->list); in send_op() 68 list_add_tail(&op->list, &send_list); in send_op() 77 struct plock_op *op; in dlm_posix_lock() local 91 op = &xop->xop; in dlm_posix_lock() 92 op->info.optype = DLM_PLOCK_OP_LOCK; in dlm_posix_lock() 93 op->info.pid = fl->fl_pid; in dlm_posix_lock() 94 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_lock() 95 op->info.wait = IS_SETLKW(cmd); in dlm_posix_lock() [all …]
|
D | debug_fs.c | 412 if (seq->op == &format1_seq_ops) in table_seq_start() 414 if (seq->op == &format2_seq_ops) in table_seq_start() 416 if (seq->op == &format3_seq_ops) in table_seq_start()
|
/fs/isofs/ |
D | joliet.c | 20 unsigned char *op; in uni16_to_x8() local 23 op = ascii; in uni16_to_x8() 27 llen = nls->uni2char(be16_to_cpu(ch), op, NLS_MAX_CHARSET_SIZE); in uni16_to_x8() 29 op += llen; in uni16_to_x8() 31 *op++ = '?'; in uni16_to_x8() 36 *op = 0; in uni16_to_x8() 37 return (op - ascii); in uni16_to_x8() 45 __u8 *op; in wcsntombs_be() local 49 op = s; in wcsntombs_be() 54 size = utf8_wctomb(op, c, maxlen); in wcsntombs_be() [all …]
|
/fs/ |
D | seq_file.c | 30 int seq_open(struct file *file, const struct seq_operations *op) in seq_open() argument 42 p->op = op; in seq_open() 83 p = m->op->start(m, &index); in traverse() 88 error = m->op->show(m, p); in traverse() 110 p = m->op->next(m, p, &index); in traverse() 112 m->op->stop(m, p); in traverse() 117 m->op->stop(m, p); in traverse() 194 p = m->op->start(m, &pos); in seq_read() 199 err = m->op->show(m, p); in seq_read() 205 p = m->op->next(m, p, &pos); in seq_read() [all …]
|
D | compat_ioctl.c | 1082 struct console_font_op op; in do_fontx_ioctl() local 1093 op.op = KD_FONT_OP_SET; in do_fontx_ioctl() 1094 op.flags = 0; in do_fontx_ioctl() 1095 op.width = 8; in do_fontx_ioctl() 1096 if (get_user(op.height, &user_cfd->charheight) || in do_fontx_ioctl() 1097 get_user(op.charcount, &user_cfd->charcount) || in do_fontx_ioctl() 1100 op.data = compat_ptr(data); in do_fontx_ioctl() 1101 return con_font_op(vc_cons[fg_console].d, &op); in do_fontx_ioctl() 1103 op.op = KD_FONT_OP_GET; in do_fontx_ioctl() 1104 op.flags = 0; in do_fontx_ioctl() [all …]
|
D | eventpoll.c | 309 static inline int ep_op_has_event(int op) in ep_op_has_event() argument 311 return op != EPOLL_CTL_DEL; in ep_op_has_event() 1150 SYSCALL_DEFINE4(epoll_ctl, int, epfd, int, op, int, fd, in SYSCALL_DEFINE4() argument 1160 current, epfd, op, fd, event)); in SYSCALL_DEFINE4() 1163 if (ep_op_has_event(op) && in SYSCALL_DEFINE4() 1208 switch (op) { in SYSCALL_DEFINE4() 1239 current, epfd, op, fd, event, error)); in SYSCALL_DEFINE4()
|
D | inode.c | 1147 const struct super_operations *op = inode->i_sb->s_op; in generic_delete_inode() local 1158 if (op->delete_inode) { in generic_delete_inode() 1159 void (*delete)(struct inode *) = op->delete_inode; in generic_delete_inode() 1244 const struct super_operations *op = inode->i_sb->s_op; in iput_final() local 1247 if (op && op->drop_inode) in iput_final() 1248 drop = op->drop_inode; in iput_final()
|
/fs/nls/ |
D | nls_base.c | 79 __u16 *op; in utf8_mbstowcs() local 83 op = pwcs; in utf8_mbstowcs() 87 size = utf8_mbtowc(op, ip, n); in utf8_mbstowcs() 93 op++; in utf8_mbstowcs() 98 *op++ = *ip++; in utf8_mbstowcs() 102 return (op - pwcs); in utf8_mbstowcs() 137 __u8 *op; in utf8_wcstombs() local 140 op = s; in utf8_wcstombs() 144 size = utf8_wctomb(op, *ip, maxlen); in utf8_wcstombs() 149 op += size; in utf8_wcstombs() [all …]
|
/fs/nfsd/ |
D | nfs4proc.c | 864 struct nfsd4_op *op; in nfsd4_proc_compound() local 895 op = &args->ops[resp->opcnt++]; in nfsd4_proc_compound() 898 resp->opcnt, args->opcnt, op->opnum, in nfsd4_proc_compound() 899 nfsd4_op_name(op->opnum)); in nfsd4_proc_compound() 906 if (op->status) in nfsd4_proc_compound() 918 op->status = nfserr_resource; in nfsd4_proc_compound() 922 opdesc = &nfsd4_ops[op->opnum]; in nfsd4_proc_compound() 926 op->status = nfserr_nofilehandle; in nfsd4_proc_compound() 931 op->status = nfserr_moved; in nfsd4_proc_compound() 936 op->status = opdesc->op_func(rqstp, cstate, &op->u); in nfsd4_proc_compound() [all …]
|
D | nfs4xdr.c | 1066 struct nfsd4_op *op; in nfsd4_decode_compound() local 1102 op = &argp->ops[i]; in nfsd4_decode_compound() 1103 op->replay = NULL; in nfsd4_decode_compound() 1115 op->opnum = OP_WRITE + 1; in nfsd4_decode_compound() 1116 op->status = nfserr_bad_xdr; in nfsd4_decode_compound() 1136 op->opnum = ntohl(*argp->p++); in nfsd4_decode_compound() 1138 if (op->opnum >= OP_ACCESS && op->opnum < ops->nops) in nfsd4_decode_compound() 1139 op->status = ops->decoders[op->opnum](argp, &op->u); in nfsd4_decode_compound() 1141 op->opnum = OP_ILLEGAL; in nfsd4_decode_compound() 1142 op->status = nfserr_op_illegal; in nfsd4_decode_compound() [all …]
|
D | nfs4callback.c | 276 u32 op; in decode_cb_op_hdr() local 280 READ32(op); in decode_cb_op_hdr() 281 if (op != expected) { in decode_cb_op_hdr() 284 op, expected); in decode_cb_op_hdr()
|
/fs/nfs/ |
D | callback_xdr.c | 162 static __be32 decode_op_hdr(struct xdr_stream *xdr, unsigned int *op) in decode_op_hdr() argument 168 *op = ntohl(*p); in decode_op_hdr() 318 static __be32 encode_op_hdr(struct xdr_stream *xdr, uint32_t op, __be32 res) in encode_op_hdr() argument 325 *p++ = htonl(op); in encode_op_hdr() 360 struct callback_op *op = &callback_ops[0]; in process_op() local 372 op = &callback_ops[op_nr]; in process_op() 376 op = &callback_ops[0]; in process_op() 383 if (likely(status == 0 && op->decode_args != NULL)) in process_op() 384 status = op->decode_args(rqstp, xdr_in, argp); in process_op() 385 if (likely(status == 0 && op->process_op != NULL)) in process_op() [all …]
|
/fs/freevxfs/ |
D | vxfs_olt.c | 81 struct vxfs_olt *op; in vxfs_read_olt() local 89 op = (struct vxfs_olt *)bp->b_data; in vxfs_read_olt() 90 if (op->olt_magic != VXFS_OLT_MAGIC) { in vxfs_read_olt() 105 oaddr = bp->b_data + op->olt_size; in vxfs_read_olt()
|
/fs/hfsplus/ |
D | unicode.c | 125 u8 *op; in hfsplus_uni2asc() local 130 op = astr; in hfsplus_uni2asc() 185 res = nls->uni2char(c0, op, len); in hfsplus_uni2asc() 189 *op = '?'; in hfsplus_uni2asc() 192 op += res; in hfsplus_uni2asc() 226 res = nls->uni2char(cc, op, len); in hfsplus_uni2asc() 230 *op = '?'; in hfsplus_uni2asc() 233 op += res; in hfsplus_uni2asc() 238 *len_p = (char *)op - astr; in hfsplus_uni2asc()
|
/fs/fat/ |
D | namei_vfat.c | 497 unsigned char *op; in xlate_to_uni() local 516 op = &outname[*outlen * sizeof(wchar_t)]; in xlate_to_uni() 519 for (i = 0, ip = name, op = outname, *outlen = 0; in xlate_to_uni() 544 *op++ = ec & 0xFF; in xlate_to_uni() 545 *op++ = ec >> 8; in xlate_to_uni() 549 if ((charlen = nls->char2uni(ip, len - i, (wchar_t *)op)) < 0) in xlate_to_uni() 553 op += 2; in xlate_to_uni() 559 for (i = 0, ip = name, op = outname, *outlen = 0; in xlate_to_uni() 563 *op++ = *ip++; in xlate_to_uni() 564 *op++ = 0; in xlate_to_uni() [all …]
|
D | dir.c | 131 unsigned char *op, nc; in uni16_to_x8() local 136 op = ascii; in uni16_to_x8() 140 if ( (charlen = nls->uni2char(ec, op, NLS_MAX_CHARSET_SIZE)) > 0) { in uni16_to_x8() 141 op += charlen; in uni16_to_x8() 145 *op = ':'; in uni16_to_x8() 148 op[k] = nc > 9 ? nc + ('a' - 10) in uni16_to_x8() 152 op += 5; in uni16_to_x8() 155 *op++ = '?'; in uni16_to_x8() 166 *op = 0; in uni16_to_x8() 167 return (op - ascii); in uni16_to_x8()
|
/fs/btrfs/ |
D | extent-tree.c | 569 struct pending_extent_op *op; in update_backrefs() local 576 op = list_entry(cur, struct pending_extent_op, list); in update_backrefs() 579 key.objectid = op->bytenr; in update_backrefs() 581 key.offset = op->orig_parent; in update_backrefs() 594 btrfs_ref_generation(leaf, ref) != op->orig_generation || in update_backrefs() 595 (ref_objectid != op->level && in update_backrefs() 599 (unsigned long long)op->bytenr, in update_backrefs() 600 (unsigned long long)op->orig_parent, in update_backrefs() 601 (unsigned long long)ref_root, op->level); in update_backrefs() 606 key.objectid = op->bytenr; in update_backrefs() [all …]
|
/fs/xfs/ |
D | xfs_quota.h | 330 #define XFS_DQTRXOP(mp, tp, op, args...) \ argument 332 ((mp)->m_qm_ops->xfs_dqtrxops->op)(tp, ## args) : 0) 334 #define XFS_DQTRXOP_VOID(mp, tp, op, args...) \ argument 336 ((mp)->m_qm_ops->xfs_dqtrxops->op)(tp, ## args) : (void)0)
|
D | xfs_inode.c | 2234 char *op; in xfs_iroot_realloc() local 2268 op = (char *)XFS_BMAP_BROOT_PTR_ADDR(mp, ifp->if_broot, 1, in xfs_iroot_realloc() 2275 memmove(np, op, cur_max * (uint)sizeof(xfs_dfsbno_t)); in xfs_iroot_realloc() 2310 op = (char *)XFS_BMBT_REC_ADDR(mp, ifp->if_broot, 1); in xfs_iroot_realloc() 2312 memcpy(np, op, new_max * (uint)sizeof(xfs_bmbt_rec_t)); in xfs_iroot_realloc() 2317 op = (char *)XFS_BMAP_BROOT_PTR_ADDR(mp, ifp->if_broot, 1, in xfs_iroot_realloc() 2321 memcpy(np, op, new_max * (uint)sizeof(xfs_dfsbno_t)); in xfs_iroot_realloc()
|
/fs/devpts/ |
D | inode.c | 93 static int parse_mount_options(char *data, int op, struct pts_mount_opts *opts) in parse_mount_options() argument 105 if (op == PARSE_MOUNT) in parse_mount_options() 143 if (op == PARSE_MOUNT) in parse_mount_options()
|
/fs/proc/ |
D | base.c | 101 union proc_op op; member 110 .op = OP, \ 601 const struct seq_operations *op) in mounts_open_common() argument 642 ret = seq_open(file, op); in mounts_open_common() 748 length = PROC_I(inode)->op.proc_read(task, (char*)page); in proc_info_read() 777 ret = PROC_I(inode)->op.proc_show(m, ns, pid, task); in proc_single_show() 1389 error = PROC_I(inode)->op.proc_get_link(inode, &nd->path); in proc_pid_follow_link() 1429 error = PROC_I(inode)->op.proc_get_link(inode, &path); in proc_pid_readlink() 1797 ei->op.proc_get_link = proc_fd_link; in proc_fd_instantiate() 2021 ei->op = p->op; in proc_pident_instantiate() [all …]
|
D | inode.c | 85 ei->op.proc_get_link = NULL; in proc_alloc_inode()
|
/fs/ext4/ |
D | mballoc.h | 223 __u8 op:4; member
|
/fs/coda/ |
D | upcall.c | 60 #define UPARG(op)\ argument 62 inp = (union inputArgs *)alloc_upcall(op, insize); \
|
/fs/xfs/linux-2.6/ |
D | xfs_super.c | 1325 int op) in xfs_fs_setxstate() argument 1327 return -XFS_QM_QUOTACTL(XFS_M(sb), op, 0, (caddr_t)&flags); in xfs_fs_setxstate()
|