Home
last modified time | relevance | path

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

/fs/
Dbinfmt_aout.c120 struct exec ex; in load_aout_binary() local
126 ex = *((struct exec *) bprm->buf); /* exec-header */ in load_aout_binary()
127 if ((N_MAGIC(ex) != ZMAGIC && N_MAGIC(ex) != OMAGIC && in load_aout_binary()
128 N_MAGIC(ex) != QMAGIC && N_MAGIC(ex) != NMAGIC) || in load_aout_binary()
129 N_TRSIZE(ex) || N_DRSIZE(ex) || in load_aout_binary()
130 i_size_read(file_inode(bprm->file)) < ex.a_text+ex.a_data+N_SYMSIZE(ex)+N_TXTOFF(ex)) { in load_aout_binary()
141 fd_offset = N_TXTOFF(ex); in load_aout_binary()
150 if (ex.a_data + ex.a_bss > rlim) in load_aout_binary()
160 SET_AOUT_PERSONALITY(bprm, ex); in load_aout_binary()
166 current->mm->end_code = ex.a_text + in load_aout_binary()
[all …]
Dselect.c374 unsigned long *in, *out, *ex; member
415 #define FDS_EX(fds, n) (fds->ex + n)
509 inp = fds->in; outp = fds->out; exp = fds->ex; in do_select()
513 unsigned long in, out, ex, all_bits, bit = 1, j; in do_select() local
517 in = *inp++; out = *outp++; ex = *exp++; in do_select()
518 all_bits = in | out | ex; in do_select()
547 if ((mask & POLLEX_SET) && (ex & bit)) { in do_select()
664 fds.ex = bits + 2*size; in core_sys_select()
671 (ret = get_fd_set(n, exp, fds.ex))) in core_sys_select()
1210 fds.ex = (unsigned long *) (bits + 2*size); in compat_core_sys_select()
[all …]
Dbinfmt_elf.c57 #define elf_check_fdpic(ex) false argument
/fs/ext4/
Dextents.c176 struct ext4_extent *ex; in ext4_ext_find_goal() local
195 ex = path[depth].p_ext; in ext4_ext_find_goal()
196 if (ex) { in ext4_ext_find_goal()
197 ext4_fsblk_t ext_pblk = ext4_ext_pblock(ex); in ext4_ext_find_goal()
198 ext4_lblk_t ext_block = le32_to_cpu(ex->ee_block); in ext4_ext_find_goal()
222 struct ext4_extent *ex, int *err, unsigned int flags) in ext4_ext_new_meta_block() argument
226 goal = ext4_ext_find_goal(inode, path, le32_to_cpu(ex->ee_block)); in ext4_ext_new_meta_block()
535 struct ext4_extent *ex = EXT_FIRST_EXTENT(eh); in __read_extent_tree_block() local
539 for (i = le16_to_cpu(eh->eh_entries); i > 0; i--, ex++) { in __read_extent_tree_block()
541 ext4_lblk_t lblk = le32_to_cpu(ex->ee_block); in __read_extent_tree_block()
[all …]
Dext4_extents.h222 static inline ext4_fsblk_t ext4_ext_pblock(struct ext4_extent *ex) in ext4_ext_pblock() argument
226 block = le32_to_cpu(ex->ee_start_lo); in ext4_ext_pblock()
227 block |= ((ext4_fsblk_t) le16_to_cpu(ex->ee_start_hi) << 31) << 1; in ext4_ext_pblock()
249 static inline void ext4_ext_store_pblock(struct ext4_extent *ex, in ext4_ext_store_pblock() argument
252 ex->ee_start_lo = cpu_to_le32((unsigned long) (pb & 0xffffffff)); in ext4_ext_store_pblock()
253 ex->ee_start_hi = cpu_to_le16((unsigned long) ((pb >> 31) >> 1) & in ext4_ext_store_pblock()
Dmballoc.c1494 int needed, struct ext4_free_extent *ex) in mb_find_extent() argument
1501 BUG_ON(ex == NULL); in mb_find_extent()
1507 ex->fe_len = 0; in mb_find_extent()
1508 ex->fe_start = 0; in mb_find_extent()
1509 ex->fe_group = 0; in mb_find_extent()
1517 ex->fe_len = 1 << order; in mb_find_extent()
1518 ex->fe_start = block << order; in mb_find_extent()
1519 ex->fe_group = e4b->bd_group; in mb_find_extent()
1522 next = next - ex->fe_start; in mb_find_extent()
1523 ex->fe_len -= next; in mb_find_extent()
[all …]
Dmove_extent.c619 struct ext4_extent *ex; in ext4_move_extents() local
628 ex = path[path->p_depth].p_ext; in ext4_move_extents()
630 cur_blk = le32_to_cpu(ex->ee_block); in ext4_move_extents()
631 cur_len = ext4_ext_get_actual_len(ex); in ext4_move_extents()
653 unwritten = ext4_ext_is_unwritten(ex); in ext4_move_extents()
Dmigrate.c613 struct ext4_extent *ex; in ext4_ind_migrate() local
645 ex = EXT_FIRST_EXTENT(eh); in ext4_ind_migrate()
654 len = le16_to_cpu(ex->ee_len); in ext4_ind_migrate()
655 blk = ext4_ext_pblock(ex); in ext4_ind_migrate()
656 start = le32_to_cpu(ex->ee_block); in ext4_ind_migrate()
Dextents_status.c582 struct ext4_extent *ex; in ext4_es_insert_extent_ext_check() local
593 ex = path[depth].p_ext; in ext4_es_insert_extent_ext_check()
595 if (ex) { in ext4_es_insert_extent_ext_check()
597 ee_block = le32_to_cpu(ex->ee_block); in ext4_es_insert_extent_ext_check()
598 ee_start = ext4_ext_pblock(ex); in ext4_es_insert_extent_ext_check()
599 ee_len = ext4_ext_get_actual_len(ex); in ext4_es_insert_extent_ext_check()
601 ee_status = ext4_ext_is_unwritten(ex) ? 1 : 0; in ext4_es_insert_extent_ext_check()
/fs/ocfs2/
Ddlmglue.h139 int ex,
144 int ex,
158 int ex);
160 int ex);
162 int ex);
168 int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex);
169 void ocfs2_nfs_sync_unlock(struct ocfs2_super *osb, int ex);
176 int ocfs2_dentry_lock(struct dentry *dentry, int ex);
177 void ocfs2_dentry_unlock(struct dentry *dentry, int ex);
178 int ocfs2_file_lock(struct file *file, int ex, int trylock);
[all …]
Ddlmglue.c1696 int ex, in ocfs2_create_new_lock() argument
1699 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_create_new_lock()
1968 int ocfs2_file_lock(struct file *file, int ex, int trylock) in ocfs2_file_lock() argument
1970 int ret, level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_file_lock()
2060 lockres->l_name, ex, trylock, ret); in ocfs2_file_lock()
2412 int ex, in ocfs2_inode_lock_full_nested() argument
2424 ex ? "EXMODE" : "PRMODE"); in ocfs2_inode_lock_full_nested()
2431 if (ex) in ocfs2_inode_lock_full_nested()
2444 level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_inode_lock_full_nested()
2508 ocfs2_inode_unlock(inode, ex); in ocfs2_inode_lock_full_nested()
[all …]
Dquota_global.c298 int ocfs2_lock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex) in ocfs2_lock_global_qf() argument
303 status = ocfs2_inode_lock(oinfo->dqi_gqinode, &bh, ex); in ocfs2_lock_global_qf()
312 if (ex) { in ocfs2_lock_global_qf()
321 void ocfs2_unlock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex) in ocfs2_unlock_global_qf() argument
323 if (ex) { in ocfs2_unlock_global_qf()
329 ocfs2_inode_unlock(oinfo->dqi_gqinode, ex); in ocfs2_unlock_global_qf()
795 int ex = 0; in ocfs2_acquire_dquot() local
830 ex = 1; in ocfs2_acquire_dquot()
849 status = ocfs2_qinfo_lock(info, ex); in ocfs2_acquire_dquot()
853 if (ex && info_dirty(sb_dqinfo(sb, type))) { in ocfs2_acquire_dquot()
[all …]
Dquota.h111 int ocfs2_lock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex);
112 void ocfs2_unlock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex);
/fs/hpfs/
Dea.c19 char ex[4 + 255 + 1 + 8]; in hpfs_ea_ext_remove() local
20 struct extended_attribute *ea = (struct extended_attribute *)ex; in hpfs_ea_ext_remove()
26 if (hpfs_ea_read(s, a, ano, pos, 4, ex)) return; in hpfs_ea_ext_remove()
33 if (hpfs_ea_read(s, a, ano, pos + 4, ea->namelen + 9, ex+4)) in hpfs_ea_ext_remove()
80 char ex[4 + 255 + 1 + 8]; in hpfs_read_ea() local
98 ea = (struct extended_attribute *)ex; in hpfs_read_ea()
104 if (hpfs_ea_read(s, a, ano, pos, 4, ex)) return -EIO; in hpfs_read_ea()
105 if (hpfs_ea_read(s, a, ano, pos + 4, ea->namelen + 1 + (ea_indirect(ea) ? 8 : 0), ex + 4)) in hpfs_read_ea()
155 char ex[4 + 255 + 1 + 8]; in hpfs_get_ea() local
156 ea = (struct extended_attribute *)ex; in hpfs_get_ea()
[all …]
/fs/dlm/
Dplock.c122 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_lock()
334 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_get()
365 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
/fs/ceph/
Dcaps.c3575 static void handle_cap_export(struct inode *inode, struct ceph_mds_caps *ex, in handle_cap_export() argument
3584 unsigned mseq = le32_to_cpu(ex->migrate_seq); in handle_cap_export()
3604 if (!cap || cap->cap_id != le64_to_cpu(ex->cap_id)) in handle_cap_export()
/fs/cifs/
Dsmbdirect.c2583 wr->ex.invalidate_rkey = smbdirect_mr->mr->rkey; in smbd_deregister_mr()