Home
last modified time | relevance | path

Searched refs:ex (Results 1 – 11 of 11) sorted by relevance

/fs/
Dbinfmt_aout.c222 struct exec ex; in load_aout_binary() local
228 ex = *((struct exec *) bprm->buf); /* exec-header */ in load_aout_binary()
229 if ((N_MAGIC(ex) != ZMAGIC && N_MAGIC(ex) != OMAGIC && in load_aout_binary()
230 N_MAGIC(ex) != QMAGIC && N_MAGIC(ex) != NMAGIC) || in load_aout_binary()
231 N_TRSIZE(ex) || N_DRSIZE(ex) || in load_aout_binary()
232 …i_size_read(bprm->file->f_path.dentry->d_inode) < ex.a_text+ex.a_data+N_SYMSIZE(ex)+N_TXTOFF(ex)) { in load_aout_binary()
243 fd_offset = N_TXTOFF(ex); in load_aout_binary()
252 if (ex.a_data + ex.a_bss > rlim) in load_aout_binary()
262 SET_AOUT_PERSONALITY(bprm, ex); in load_aout_binary()
267 current->mm->end_code = ex.a_text + in load_aout_binary()
[all …]
Dselect.c315 #define FDS_EX(fds, n) (fds->ex + n)
395 inp = fds->in; outp = fds->out; exp = fds->ex; in do_select()
399 unsigned long in, out, ex, all_bits, bit = 1, mask, j; in do_select() local
404 in = *inp++; out = *outp++; ex = *exp++; in do_select()
405 all_bits = in | out | ex; in do_select()
432 if ((mask & POLLEX_SET) && (ex & bit)) { in do_select()
524 fds.ex = bits + 2*size; in core_sys_select()
531 (ret = get_fd_set(n, exp, fds.ex))) in core_sys_select()
Dcompat.c1651 fds.ex = (unsigned long *) (bits + 2*size); in compat_core_sys_select()
1658 (ret = compat_get_fd_set(n, exp, fds.ex))) in compat_core_sys_select()
/fs/ext4/
Dextents.c52 static ext4_fsblk_t ext_pblock(struct ext4_extent *ex) in ext_pblock() argument
56 block = le32_to_cpu(ex->ee_start_lo); in ext_pblock()
57 block |= ((ext4_fsblk_t) le16_to_cpu(ex->ee_start_hi) << 31) << 1; in ext_pblock()
79 void ext4_ext_store_pblock(struct ext4_extent *ex, ext4_fsblk_t pb) in ext4_ext_store_pblock() argument
81 ex->ee_start_lo = cpu_to_le32((unsigned long) (pb & 0xffffffff)); in ext4_ext_store_pblock()
82 ex->ee_start_hi = cpu_to_le16((unsigned long) ((pb >> 31) >> 1) & 0xffff); in ext4_ext_store_pblock()
158 struct ext4_extent *ex; in ext4_ext_find_goal() local
162 ex = path[depth].p_ext; in ext4_ext_find_goal()
163 if (ex) in ext4_ext_find_goal()
164 return ext_pblock(ex)+(block-le32_to_cpu(ex->ee_block)); in ext4_ext_find_goal()
[all …]
Dmballoc.c1209 int needed, struct ext4_free_extent *ex) in mb_find_extent() argument
1217 BUG_ON(ex == NULL); in mb_find_extent()
1223 ex->fe_len = 0; in mb_find_extent()
1224 ex->fe_start = 0; in mb_find_extent()
1225 ex->fe_group = 0; in mb_find_extent()
1236 ex->fe_len = 1 << order; in mb_find_extent()
1237 ex->fe_start = block << order; in mb_find_extent()
1238 ex->fe_group = e4b->bd_group; in mb_find_extent()
1241 next = next - ex->fe_start; in mb_find_extent()
1242 ex->fe_len -= next; in mb_find_extent()
[all …]
/fs/ocfs2/
Ddlmglue.h101 int ex,
105 int ex,
111 int ex);
113 int ex);
115 int ex);
118 int ocfs2_dentry_lock(struct dentry *dentry, int ex);
119 void ocfs2_dentry_unlock(struct dentry *dentry, int ex);
120 int ocfs2_file_lock(struct file *file, int ex, int trylock);
122 int ocfs2_qinfo_lock(struct ocfs2_mem_dqinfo *oinfo, int ex);
123 void ocfs2_qinfo_unlock(struct ocfs2_mem_dqinfo *oinfo, int ex);
Ddlmglue.c1394 int ex, in ocfs2_create_new_lock() argument
1397 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_create_new_lock()
1671 int ocfs2_file_lock(struct file *file, int ex, int trylock) in ocfs2_file_lock() argument
1673 int ret, level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_file_lock()
1764 lockres->l_name, ex, trylock, ret); in ocfs2_file_lock()
2135 int ex, in ocfs2_inode_lock_full() argument
2150 ex ? "EXMODE" : "PRMODE"); in ocfs2_inode_lock_full()
2157 if (ex) in ocfs2_inode_lock_full()
2169 level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_inode_lock_full()
2232 ocfs2_inode_unlock(inode, ex); in ocfs2_inode_lock_full()
[all …]
Dquota.h108 int ocfs2_lock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex);
109 void ocfs2_unlock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex);
Dquota_global.c268 int ocfs2_lock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex) in ocfs2_lock_global_qf() argument
273 status = ocfs2_inode_lock(oinfo->dqi_gqinode, &bh, ex); in ocfs2_lock_global_qf()
285 void ocfs2_unlock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex) in ocfs2_unlock_global_qf() argument
287 ocfs2_inode_unlock(oinfo->dqi_gqinode, ex); in ocfs2_unlock_global_qf()
409 int err, err2, ex = 0; in ocfs2_global_read_dquot() local
427 ex = 1; in ocfs2_global_read_dquot()
430 if (ex && info_dirty(sb_dqinfo(dquot->dq_sb, dquot->dq_type))) { in ocfs2_global_read_dquot()
436 if (ex) in ocfs2_global_read_dquot()
/fs/hpfs/
Dea.c18 char ex[4 + 255 + 1 + 8]; in hpfs_ea_ext_remove() local
19 struct extended_attribute *ea = (struct extended_attribute *)ex; in hpfs_ea_ext_remove()
25 if (hpfs_ea_read(s, a, ano, pos, 4, ex)) return; in hpfs_ea_ext_remove()
32 if (hpfs_ea_read(s, a, ano, pos + 4, ea->namelen + 9, ex+4)) in hpfs_ea_ext_remove()
96 char ex[4 + 255 + 1 + 8]; in hpfs_read_ea() local
97 ea = (struct extended_attribute *)ex; in hpfs_read_ea()
103 if (hpfs_ea_read(s, a, ano, pos, 4, ex)) return -EIO; in hpfs_read_ea()
104 if (hpfs_ea_read(s, a, ano, pos + 4, ea->namelen + 1 + (ea->indirect ? 8 : 0), ex + 4)) in hpfs_read_ea()
154 char ex[4 + 255 + 1 + 8]; in hpfs_get_ea() local
155 ea = (struct extended_attribute *)ex; in hpfs_get_ea()
[all …]
/fs/dlm/
Dplock.c94 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_lock()
277 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_get()
308 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()