/netbsd-6-1-5-RELEASE/sys/fs/udf/ |
H A D | udf_vfsops.c | 240 struct udf_mount *ump; local 246 ump = VFSTOUDF(mp); 247 if (ump) { 250 MPFREE(ump->anchors[i], M_UDFVOLD); 251 MPFREE(ump->primary_vol, M_UDFVOLD); 252 MPFREE(ump->logical_vol, M_UDFVOLD); 253 MPFREE(ump->unallocated, M_UDFVOLD); 254 MPFREE(ump->implementation, M_UDFVOLD); 255 MPFREE(ump->logvol_integrity, M_UDFVOLD); 257 MPFREE(ump 289 struct udf_mount *ump = VFSTOUDF(mp); local 320 struct udf_mount *ump; local 471 struct udf_mount *ump; local 569 struct udf_mount *ump; local 756 struct udf_mount *ump = VFSTOUDF(mp); local 782 struct udf_mount *ump = VFSTOUDF(mp); local 833 udf_sync_writeout_system_files(struct udf_mount *ump, int clearflags) argument 867 struct udf_mount *ump = VFSTOUDF(mp); local [all...] |
H A D | udf_subr.h | 37 int udf_update_trackinfo(struct udf_mount *ump, struct mmc_trackinfo *trackinfo); 38 int udf_update_discinfo(struct udf_mount *ump); 39 int udf_search_tracks(struct udf_mount *ump, struct udf_args *args, 41 int udf_search_writing_tracks(struct udf_mount *ump); 42 int udf_setup_writeparams(struct udf_mount *ump); 43 int udf_synchronise_caches(struct udf_mount *ump); 54 int udf_read_phys_sectors(struct udf_mount *ump, int what, void *blob, 56 int udf_write_phys_sectors(struct udf_mount *ump, int what, void *blob, 59 struct udf_mount *ump, 64 int udf_write_phys_dscr_sync(struct udf_mount *ump, struc [all...] |
H A D | udf_strat_sequential.c | 70 #define PRIV(ump) ((struct strat_private *) ump->strategy_private) 144 struct udf_mount *ump = args->ump; local 145 struct strat_private *priv = PRIV(ump); 148 lb_size = udf_rw32(ump->logical_vol->lb_size); 160 struct udf_mount *ump = args->ump; local 161 struct strat_private *priv = PRIV(ump); 172 struct udf_mount *ump local 202 struct udf_mount *ump = args->ump; local 267 struct udf_mount *ump = args->ump; local 300 udf_VAT_mapping_update(struct udf_mount *ump, struct buf *buf, uint32_t lb_map) argument 360 udf_issue_buf(struct udf_mount *ump, int queue, struct buf *buf) argument 465 udf_doshedule(struct udf_mount *ump) argument 551 struct udf_mount *ump = (struct udf_mount *) arg; local 581 struct udf_mount *ump = args->ump; local 650 struct udf_mount *ump = args->ump; local [all...] |
H A D | udf_strat_direct.c | 70 #define PRIV(ump) ((struct strat_private *) ump->strategy_private) 133 struct udf_mount *ump = args->ump; local 134 struct strat_private *priv = PRIV(ump); 137 lb_size = udf_rw32(ump->logical_vol->lb_size); 149 struct udf_mount *ump = args->ump; local 150 struct strat_private *priv = PRIV(ump); 161 struct udf_mount *ump local 190 struct udf_mount *ump = args->ump; local 244 struct udf_mount *ump = args->ump; local 406 struct udf_mount *ump = args->ump; local 432 struct udf_mount *ump = args->ump; local [all...] |
H A D | udf_subr.c | 122 udf_dump_discinfo(struct udf_mount *ump) argument 125 struct mmc_discinfo *di = &ump->discinfo; 188 udf_update_discinfo(struct udf_mount *ump) argument 190 struct vnode *devvp = ump->devvp; 197 di = &ump->discinfo; 203 udf_dump_discinfo(ump); 235 udf_dump_discinfo(ump); 241 udf_update_trackinfo(struct udf_mount *ump, struct mmc_trackinfo *ti) argument 243 struct vnode *devvp = ump->devvp; 244 struct mmc_discinfo *di = &ump 281 udf_setup_writeparams(struct udf_mount *ump) argument 323 udf_synchronise_caches(struct udf_mount *ump) argument 349 udf_search_tracks(struct udf_mount *ump, struct udf_args *args, int *first_tracknr, int *last_tracknr) argument 429 udf_check_track_metadata_overlap(struct udf_mount *ump, struct mmc_trackinfo *trackinfo) argument 514 udf_search_writing_tracks(struct udf_mount *ump) argument 842 udf_read_anchor(struct udf_mount *ump, uint32_t sector, struct anchor_vdp **dst) argument 865 udf_read_anchors(struct udf_mount *ump) argument 974 udf_get_record_vpart(struct udf_mount *ump, int udf_c_type) argument 994 udf_find_raw_phys(struct udf_mount *ump, uint16_t raw_phys_part) argument 1018 udf_process_vds_descriptor(struct udf_mount *ump, union dscrptr *dscr) argument 1077 udf_read_vds_extent(struct udf_mount *ump, uint32_t loc, uint32_t len) argument 1120 udf_read_vds_space(struct udf_mount *ump) argument 1177 udf_retrieve_lvint(struct udf_mount *ump) argument 1276 udf_loose_lvint_history(struct udf_mount *ump) argument 1433 udf_writeout_lvint(struct udf_mount *ump, int lvflag) argument 1519 udf_read_physical_partition_spacetables(struct udf_mount *ump) argument 1653 udf_write_physical_partition_spacetables(struct udf_mount *ump, int waitfor) argument 1720 udf_read_metadata_partition_spacetable(struct udf_mount *ump) argument 1794 udf_write_metadata_partition_spacetable(struct udf_mount *ump, int waitfor) argument 1853 udf_process_vds(struct udf_mount *ump) argument 2127 udf_update_logvolname(struct udf_mount *ump, char *logvol_id) argument 2150 udf_inittag(struct udf_mount *ump, struct desc_tag *tag, int tagid, uint32_t sector) argument 2165 udf_advance_uniqueid(struct udf_mount *ump) argument 2183 struct udf_mount *ump = udf_node->ump; local 2229 udf_add_domain_regid(struct udf_mount *ump, struct regid *regid) argument 2239 udf_add_udf_regid(struct udf_mount *ump, struct regid *regid) argument 2252 udf_add_impl_regid(struct udf_mount *ump, struct regid *regid) argument 2260 udf_add_app_regid(struct udf_mount *ump, struct regid *regid) argument 2267 udf_create_parentfid(struct udf_mount *ump, struct fileid_desc *fid, struct long_ad *parent, uint64_t unique_id) argument 2454 udf_extattr_insert_internal(struct udf_mount *ump, union dscrptr *dscr, struct extattr_entry *extattr) argument 2567 struct udf_mount *ump; local 2634 struct udf_mount *ump; local 2694 struct udf_mount *ump = vat_node->ump; local 2706 struct udf_mount *ump = vat_node->ump; local 2734 udf_update_vat_descriptor(struct udf_mount *ump) argument 2812 udf_writeout_vat(struct udf_mount *ump) argument 2859 struct udf_mount *ump; local 3027 udf_search_vat(struct udf_mount *ump, union udf_pmap *mapping) argument 3081 udf_read_sparables(struct udf_mount *ump, union udf_pmap *mapping) argument 3127 udf_read_metadata_nodes(struct udf_mount *ump, union udf_pmap *mapping) argument 3206 udf_read_vds_tables(struct udf_mount *ump) argument 3269 udf_read_rootdirs(struct udf_mount *ump) argument 3451 udf_init_nodes_tree(struct udf_mount *ump) argument 3459 udf_node_lookup(struct udf_mount *ump, struct long_ad *icbptr) argument 3486 struct udf_mount *ump = udf_node->ump; local 3498 struct udf_mount *ump = udf_node->ump; local 3509 udf_validate_session_start(struct udf_mount *ump) argument 3699 udf_open_logvol(struct udf_mount *ump) argument 3757 udf_close_logvol(struct udf_mount *ump, int mntflags) argument 3985 struct udf_mount *ump = udf_node->ump; local 4063 udf_write_terminator(struct udf_mount *ump, uint32_t sector) argument 4240 udf_timestamp_to_timespec(struct udf_mount *ump, struct timestamp *timestamp, struct timespec *timespec) argument 4398 struct udf_mount *ump = udf_node->ump; local 4430 struct udf_mount *ump = udf_node->ump; local 4621 udf_create_new_fe(struct udf_mount *ump, struct file_entry *fe, int file_type, struct long_ad *node_icb, struct long_ad *parent_icb, uint64_t parent_unique_id) argument 4704 udf_create_new_efe(struct udf_mount *ump, struct extfile_entry *efe, int file_type, struct long_ad *node_icb, struct long_ad *parent_icb, uint64_t parent_unique_id) argument 4773 udf_dir_detach(struct udf_mount *ump, struct udf_node *dir_node, struct udf_node *udf_node, struct componentname *cnp) argument 4921 udf_dir_update_rootentry(struct udf_mount *ump, struct udf_node *dir_node, struct udf_node *new_parent_node) argument 5046 udf_dir_attach(struct udf_mount *ump, struct udf_node *dir_node, struct udf_node *udf_node, struct vattr *vap, struct componentname *cnp) argument 5301 udf_get_node(struct udf_mount *ump, struct long_ad *node_icb_loc, struct udf_node **udf_noderes) argument 5790 struct udf_mount *ump = dir_node->ump; local 5993 struct udf_mount *ump = udf_node->ump; local 6016 struct udf_mount *ump; local 6198 struct udf_mount *ump = udf_node->ump; local 6272 struct udf_mount *ump = dir_node->ump; local 6394 udf_sync_pass(struct udf_mount *ump, kauth_cred_t cred, int waitfor, int pass, int *ndirty) argument 6478 udf_do_sync(struct udf_mount *ump, kauth_cred_t cred, int waitfor) argument 6526 struct udf_mount *ump; local 6564 struct udf_mount *ump; local 6603 struct udf_mount *ump = udf_node->ump; local 6732 struct udf_mount *ump = udf_node->ump; local [all...] |
H A D | udf_readwrite.c | 180 udf_fixup_node_internals(struct udf_mount *ump, uint8_t *blob, int udf_c_type) argument 190 lb_size = udf_rw32(ump->logical_vol->lb_size); 234 if (udf_rw16(ump->logvol_info->min_udf_readver) <= 0x200) 285 udf_read_phys_sectors(struct udf_mount *ump, int what, void *blob, argument 291 int sector_size = ump->discinfo.sector_size; 298 buf = getiobuf(ump->devvp, true); 332 udf_discstrat_queuebuf(ump, nestbuf); 348 udf_read_phys_dscr(struct udf_mount *ump, uint32_t sector, argument 356 sector_size = ump->discinfo.sector_size; 363 error = udf_read_phys_sectors(ump, UDF_C_DSC 427 udf_write_phys_buf(struct udf_mount *ump, int what, struct buf *buf) argument 484 udf_write_phys_sectors(struct udf_mount *ump, int what, void *blob, uint32_t start, uint32_t sectors) argument 519 udf_write_phys_dscr_sync(struct udf_mount *ump, struct udf_node *udf_node, int what, union dscrptr *dscr, uint32_t sector, uint32_t logsector) argument 562 udf_write_phys_dscr_async(struct udf_mount *ump, struct udf_node *udf_node, int what, union dscrptr *dscr, uint32_t sector, uint32_t logsector, void (*dscrwr_callback)(struct buf *)) argument 608 udf_create_logvol_dscr(struct udf_mount *ump, struct udf_node *udf_node, struct long_ad *icb, union dscrptr **dscrptr) argument 629 udf_free_logvol_dscr(struct udf_mount *ump, struct long_ad *icb, void *dscr) argument 645 udf_read_logvol_dscr(struct udf_mount *ump, struct long_ad *icb, union dscrptr **dscrptr) argument 685 udf_discstrat_queuebuf(struct udf_mount *ump, struct buf *nestbuf) argument 699 udf_discstrat_init(struct udf_mount *ump) argument 710 udf_discstrat_finish(struct udf_mount *ump) argument [all...] |
H A D | udf_strat_bootstrap.c | 70 #define PRIV(ump) ((struct strat_private *) ump->strategy_private) 108 struct udf_mount *ump = args->ump; local 111 KASSERT(ump); 116 VOP_STRATEGY(ump->devvp, buf);
|
H A D | udf_strat_rmw.c | 70 #define PRIV(ump) ((struct strat_private *) (ump)->strategy_private) 97 struct udf_mount *ump; member in struct:udf_eccline 154 struct strat_private *priv = PRIV(eccline->ump); 193 struct strat_private *priv = PRIV(eccline->ump); 214 struct strat_private *priv = PRIV(eccline->ump); 241 struct strat_private *priv = PRIV(eccline->ump); 368 udf_geteccline(struct udf_mount *ump, uint32_t sector, int flags) argument 370 struct strat_private *priv = PRIV(ump); 380 line_offset = sector % ump 490 struct udf_mount *ump = eccline->ump; local 540 struct udf_mount *ump = args->ump; local 579 struct udf_mount *ump = args->ump; local 611 struct udf_mount *ump = args->ump; local 706 struct udf_mount *ump = args->ump; local 777 struct udf_mount *ump = args->ump; local 1018 struct udf_mount *ump = eccline->ump; local 1066 struct udf_mount *ump = eccline->ump; local 1102 struct udf_mount *ump = eccline->ump; local 1195 struct udf_mount *ump = (struct udf_mount *) arg; local 1391 struct udf_mount *ump = args->ump; local 1467 struct udf_mount *ump = args->ump; local [all...] |
H A D | udf_allocation.c | 72 static void udf_record_allocation_in_node(struct udf_mount *ump, 76 static void udf_collect_free_space_for_vpart(struct udf_mount *ump, 104 lb_size = udf_rw32(udf_node->ump->logical_vol->lb_size); 162 udf_assert_allocated(struct udf_mount *ump, uint16_t vpart_num, 178 pdesc = ump->partitions[ump->vtop[vpart_num]]; 180 switch (ump->vtop_tp[vpart_num]) { 185 phys_part = ump->vtop[vpart_num]; 188 bitmap = &ump->part_unalloc_bits[phys_part]; 249 // KASSERT(mutex_owned(&udf_node->ump 372 udf_calc_freespace(struct udf_mount *ump, uint64_t *sizeblks, uint64_t *freeblks) argument 422 udf_calc_vpart_freespace(struct udf_mount *ump, uint16_t vpart_num, uint64_t *freeblks) argument 463 udf_translate_vtop(struct udf_mount *ump, struct long_ad *icb_loc, uint32_t *lb_numres, uint32_t *extres) argument 627 udf_translate_vtop_list(struct udf_mount *ump, uint32_t sectors, uint16_t vpart_num, uint64_t *lmapping, uint64_t *pmapping) argument 657 struct udf_mount *ump; local 823 udf_search_free_vatloc(struct udf_mount *ump, uint32_t *lbnumres) argument 1039 udf_do_reserve_space(struct udf_mount *ump, struct udf_node *udf_node, uint16_t vpart_num, uint32_t num_lb) argument 1049 udf_do_unreserve_space(struct udf_mount *ump, struct udf_node *udf_node, uint16_t vpart_num, uint32_t num_lb) argument 1072 udf_reserve_space(struct udf_mount *ump, struct udf_node *udf_node, int udf_c_type, uint16_t vpart_num, uint32_t num_lb, int can_fail) argument 1131 struct udf_mount *ump = udf_node->ump; local 1159 udf_allocate_space(struct udf_mount *ump, struct udf_node *udf_node, int udf_c_type, uint16_t vpart_num, uint32_t num_lb, uint64_t *lmapping) argument 1310 udf_free_allocated_space(struct udf_mount *ump, uint32_t lb_num, uint16_t vpart_num, uint32_t num_lb) argument 1406 udf_synchronise_metadatamirror_node(struct udf_mount *ump) argument 1478 udf_trunc_metadatapart(struct udf_mount *ump, uint32_t num_lb) argument 1603 udf_sparsify_metadatapart(struct udf_mount *ump, uint32_t num_lb) argument 1610 udf_collect_free_space_for_vpart(struct udf_mount *ump, uint16_t vpart_num, uint32_t num_lb) argument 1652 udf_late_allocate_buf(struct udf_mount *ump, struct buf *buf, uint64_t *lmapping, struct long_ad *node_ad_cpy, uint16_t *vpart_nump) argument 1945 struct udf_mount *ump = udf_node->ump; local 2259 udf_record_allocation_in_node(struct udf_mount *ump, struct buf *buf, uint16_t vpart_num, uint64_t *mapping, struct long_ad *node_ad_cpy) argument 2628 struct udf_mount *ump = udf_node->ump; local 2905 struct udf_mount *ump = udf_node->ump; local [all...] |
/netbsd-6-1-5-RELEASE/sys/ufs/ufs/ |
H A D | ufs_bmap.c | 60 ufs_issequential(const struct ufsmount *ump, daddr_t daddr0, daddr_t daddr1) argument 67 return (daddr0 + ump->um_seqinc == daddr1); 123 struct ufsmount *ump; local 132 ump = ip->i_ump; 152 if (ump->um_fstype == UFS1) 154 UFS_MPNEEDSWAP(ump)); 157 UFS_MPNEEDSWAP(ump)); 158 *bnp = blkptrtodb(ump, daddr); 169 daddr < ump->um_seqinc) { 174 *bnp = blkptrtodb(ump, b 340 struct ufsmount *ump; local [all...] |
H A D | ufs_quota2.c | 138 getq2h(struct ufsmount *ump, int type, argument 142 const int needswap = UFS_MPNEEDSWAP(ump); 149 error = bread(ump->um_quotas[type], 0, ump->umq2_bsize, 150 ump->um_cred[type], flags, &bp); 166 getq2e(struct ufsmount *ump, int type, daddr_t lblkno, int blkoffset, argument 176 error = bread(ump->um_quotas[type], lblkno, ump->umq2_bsize, 177 ump->um_cred[type], flags, &bp); 193 quota2_walk_list(struct ufsmount *ump, struc argument 272 struct ufsmount *ump = VFSTOUFS(mp); local 293 quota2_q2ealloc(struct ufsmount *ump, int type, uid_t uid, struct dquot *dq) argument 374 struct ufsmount *ump = ip->i_ump; local 449 struct ufsmount *ump = ip->i_ump; local 579 quota2_handle_cmd_put(struct ufsmount *ump, const struct quotakey *key, const struct quotaval *val) argument 653 dq2clear_callback(struct ufsmount *ump, uint64_t *offp, struct quota2_entry *q2e, uint64_t off, void *v) argument 677 quota2_handle_cmd_delete(struct ufsmount *ump, const struct quotakey *qk) argument 792 quota2_fetch_q2e(struct ufsmount *ump, const struct quotakey *qk, struct quota2_entry *ret) argument 827 quota2_fetch_quotaval(struct ufsmount *ump, const struct quotakey *qk, struct quotaval *ret) argument 865 quota2_handle_cmd_get(struct ufsmount *ump, const struct quotakey *qk, struct quotaval *qv) argument 1093 q2cursor_getids_callback(struct ufsmount *ump, uint64_t *offp, struct quota2_entry *q2ep, uint64_t off, void *v) argument 1121 q2cursor_getkeys(struct ufsmount *ump, int idtype, struct ufsq2_cursor *cursor, struct q2cursor_state *state, int *hashsize_ret, struct quota2_entry *default_q2e_ret) argument 1219 q2cursor_getvals(struct ufsmount *ump, struct q2cursor_state *state, const struct quota2_entry *default_q2e) argument 1271 quota2_handle_cmd_cursorget(struct ufsmount *ump, struct quotakcursor *qkc, struct quotakey *keys, struct quotaval *vals, unsigned maxreturn, unsigned *ret) argument 1387 quota2_handle_cmd_cursoropen(struct ufsmount *ump, struct quotakcursor *qkc) argument 1407 quota2_handle_cmd_cursorclose(struct ufsmount *ump, struct quotakcursor *qkc) argument 1424 quota2_handle_cmd_cursorskipidtype(struct ufsmount *ump, struct quotakcursor *qkc, int idtype) argument 1451 quota2_handle_cmd_cursoratend(struct ufsmount *ump, struct quotakcursor *qkc, int *ret) argument 1468 quota2_handle_cmd_cursorrewind(struct ufsmount *ump, struct quotakcursor *qkc) argument 1503 dq2get_callback(struct ufsmount *ump, uint64_t *offp, struct quota2_entry *q2e, uint64_t off, void *v) argument 1525 dq2get(struct vnode *dqvp, u_long id, struct ufsmount *ump, int type, struct dquot *dq) argument [all...] |
H A D | ufs_extattr.c | 85 static int ufs_extattr_enable_with_open(struct ufsmount *ump, 88 static int ufs_extattr_enable(struct ufsmount *ump, int attrnamespace, 91 static int ufs_extattr_disable(struct ufsmount *ump, int attrnamespace, 116 ufs_extattr_uepm_lock(struct ufsmount *ump) argument 120 if (mutex_owned(&ump->um_extattr.uepm_lock)) { 121 ump->um_extattr.uepm_lockcnt++; 124 mutex_enter(&ump->um_extattr.uepm_lock); 128 ufs_extattr_uepm_unlock(struct ufsmount *ump) argument 131 if (ump->um_extattr.uepm_lockcnt != 0) { 132 KASSERT(mutex_owned(&ump 166 struct ufsmount *ump = VFSTOUFS(mp); local 291 ufs_extattr_find_attr(struct ufsmount *ump, int attrnamespace, const char *attrname) argument 354 struct ufsmount *ump; local 451 ufs_extattr_enable_with_open(struct ufsmount *ump, struct vnode *vp, int attrnamespace, const char *attrname, struct lwp *l) argument 486 ufs_extattr_iterate_directory(struct ufsmount *ump, struct vnode *dvp, int attrnamespace, struct lwp *l) argument 686 struct ufsmount *ump = VFSTOUFS(mp); local 718 ufs_extattr_enable(struct ufsmount *ump, int attrnamespace, const char *attrname, struct vnode *backing_vnode, struct lwp *l) argument 820 ufs_extattr_disable(struct ufsmount *ump, int attrnamespace, const char *attrname, struct lwp *l) argument 853 struct ufsmount *ump = VFSTOUFS(mp); local 934 struct ufsmount *ump = VFSTOUFS(mp); local 1022 struct ufsmount *ump = VFSTOUFS(mp); local 1046 struct ufsmount *ump = VFSTOUFS(mp); local 1139 struct ufsmount *ump = VFSTOUFS(mp); local 1164 struct ufsmount *ump = VFSTOUFS(mp); local 1261 struct ufsmount *ump = VFSTOUFS(mp); local 1290 struct ufsmount *ump = VFSTOUFS(mp); local 1324 struct ufsmount *ump = VFSTOUFS(mp); local 1435 struct ufsmount *ump = VFSTOUFS(mp); local 1506 struct ufsmount *ump = VFSTOUFS(mp); local [all...] |
H A D | ufs_quota.c | 231 struct ufsmount *ump = VFSTOUFS(mp); local 237 if ((ump->um_flags & (UFS_QUOTA|UFS_QUOTA2)) == 0) 241 if (ump->um_flags & UFS_QUOTA) { 253 if (ump->um_flags & UFS_QUOTA2) { 269 struct ufsmount *ump = VFSTOUFS(mp); local 278 if ((ump->um_flags & (UFS_QUOTA|UFS_QUOTA2)) == 0) 302 struct ufsmount *ump = VFSTOUFS(mp); local 312 if ((ump->um_flags & (UFS_QUOTA|UFS_QUOTA2)) == 0) 349 struct ufsmount *ump = VFSTOUFS(mp); local 358 if ((ump 386 struct ufsmount *ump = VFSTOUFS(mp); local 434 struct ufsmount *ump = VFSTOUFS(mp); local 477 struct ufsmount *ump = VFSTOUFS(mp); local 516 struct ufsmount *ump = VFSTOUFS(mp); local 544 struct ufsmount *ump = VFSTOUFS(mp); local 572 struct ufsmount *ump = VFSTOUFS(mp); local 597 struct ufsmount *ump = VFSTOUFS(mp); local 622 struct ufsmount *ump = VFSTOUFS(mp); local 644 struct ufsmount *ump = VFSTOUFS(mp); local 674 struct ufsmount *ump = VFSTOUFS(mp); local 763 struct ufsmount *ump = ip->i_ump; local 804 dqget(struct vnode *vp, u_long id, struct ufsmount *ump, int type, struct dquot **dqp) argument 968 struct ufsmount *ump = VFSTOUFS(mp); local [all...] |
H A D | ufs_quota1.c | 278 struct ufsmount *ump = VFSTOUFS(mp); local 281 if ((ump->um_flags & UFS_QUOTA) == 0) 288 if (ump->um_quotas[i] != NULLVP) { 289 quota1_handle_cmd_quotaoff(l, ump, i); 303 quota1_handle_cmd_quotaon(struct lwp *l, struct ufsmount *ump, int type, argument 306 struct mount *mp = ump->um_mountp; 313 if (ump->um_flags & UFS_QUOTA2) { 325 vpp = &ump->um_quotas[type]; 345 quota1_handle_cmd_quotaoff(l, ump, type); 347 while ((ump 420 quota1_handle_cmd_quotaoff(struct lwp *l, struct ufsmount *ump, int type) argument 495 quota1_handle_cmd_get(struct ufsmount *ump, const struct quotakey *qk, struct quotaval *qv) argument 555 quota1_handle_cmd_put(struct ufsmount *ump, const struct quotakey *key, const struct quotaval *val) argument 761 struct ufsmount *ump = VFSTOUFS(mp); local 826 dq1get(struct vnode *dqvp, u_long id, struct ufsmount *ump, int type, struct dquot *dq) argument [all...] |
H A D | ufs_bswap.h | 39 #define UFS_MPNEEDSWAP(ump) ((ump)->um_flags & UFS_NEEDSWAP) 43 #define UFS_MPNEEDSWAP(ump) (0)
|
H A D | ufsmount.h | 182 #define UFS_MPISAPPLEUFS(ump) ((ump)->um_flags & UFS_ISAPPLEUFS) 184 #define UFS_MPISAPPLEUFS(ump) (0) 191 #define MNINDIR(ump) ((ump)->um_nindir) 192 #define blkptrtodb(ump, b) ((b) << (ump)->um_bptrtodb)
|
/netbsd-6-1-5-RELEASE/sys/fs/unionfs/ |
H A D | unionfs_vfsops.c | 73 struct unionfs_mount *ump; local 116 ump = MOUNTTOUNIONFSMOUNT(mp); 117 if (ump == NULL) 120 args->mntflags = ump->um_op; 193 ump = (struct unionfs_mount *)malloc(sizeof(struct unionfs_mount), 202 ump->um_lowervp = upperrootvp; 203 ump->um_uppervp = lowerrootvp; 205 ump->um_lowervp = lowerrootvp; 206 ump->um_uppervp = upperrootvp; 208 ump 315 struct unionfs_mount *ump; local 358 struct unionfs_mount *ump; local 378 struct unionfs_mount *ump; local 391 struct unionfs_mount *ump; local 460 struct unionfs_mount *ump; local [all...] |
/netbsd-6-1-5-RELEASE/sys/ufs/ffs/ |
H A D | ffs_quota2.c | 51 struct ufsmount *ump = VFSTOUFS(mp); local 52 struct fs *fs = ump->um_fs; 60 ump->um_flags |= UFS_QUOTA2; 61 ump->umq2_bsize = fs->fs_bsize; 62 ump->umq2_bmask = fs->fs_qbmask; 84 ump->um_quotas[USRQUOTA] == NULLVP) { 91 ump->um_quotas[USRQUOTA] = vp; 92 ump->um_cred[USRQUOTA] = l->l_cred; 99 ump->um_quotas[GRPQUOTA] == NULLVP) { 102 vn_close(ump [all...] |
H A D | ffs_vfsops.c | 282 struct ufsmount *ump; local 306 ump = VFSTOUFS(mp); 307 fs = ump->um_fs; 327 struct ufsmount *ump = NULL; local 338 ump = VFSTOUFS(mp); 339 if (ump == NULL) 371 ump = VFSTOUFS(mp); 372 if (devvp != ump->um_devvp) { 373 if (devvp->v_rdev != ump->um_devvp->v_rdev) 377 devvp = ump 625 struct ufsmount *ump; local 855 struct ufsmount *ump; local 1318 ffs_oldfscompat_read(struct fs *fs, struct ufsmount *ump, daddr_t sblockloc) argument 1395 ffs_oldfscompat_write(struct fs *fs, struct ufsmount *ump) argument 1432 struct ufsmount *ump = VFSTOUFS(mp); local 1502 struct ufsmount *ump; local 1561 struct ufsmount *ump; local 1601 struct ufsmount *ump = VFSTOUFS(mp); local 1765 struct ufsmount *ump; local [all...] |
/netbsd-6-1-5-RELEASE/sys/fs/nilfs/ |
H A D | nilfs_subr.h | 59 int nilfs_get_node(struct nilfs_mount *ump, uint64_t ino, struct nilfs_node **nodep); 60 int nilfs_get_node_raw(struct nilfs_device *nilfsdev, struct nilfs_mount *ump, uint64_t ino, struct nilfs_inode *inode, struct nilfs_node **nodep); 76 int nilfs_dir_detach(struct nilfs_mount *ump, struct nilfs_node *dir_node, struct nilfs_node *nilfs_node, struct componentname *cnp); 77 int nilfs_dir_attach(struct nilfs_mount *ump, struct nilfs_node *dir_node, struct nilfs_node *nilfs_node, struct vattr *vap, struct componentname *cnp); 111 int nilfs_update_trackinfo(struct nilfs_mount *ump, struct mmc_trackinfo *trackinfo); 112 int nilfs_update_discinfo(struct nilfs_mount *ump); 113 int nilfs_search_tracks(struct nilfs_mount *ump, struct nilfs_args *args, 115 int nilfs_search_writing_tracks(struct nilfs_mount *ump); 116 int nilfs_setup_writeparams(struct nilfs_mount *ump); 117 int nilfs_synchronise_caches(struct nilfs_mount *ump); [all...] |
H A D | nilfs_vfsops.c | 533 struct nilfs_mount *ump; local 537 STAILQ_FOREACH(ump, &nilfsdev->mounts, next_mount) { 538 if (ump->mount_args.cpno == args->cpno) 547 STAILQ_FOREACH(ump, &nilfsdev->mounts, next_mount) { 549 if ((ump->vfs_mountp->mnt_flag & MNT_RDONLY)==0) 552 last_cno = nilfs_rw64(ump->nilfsdev->super.s_last_cno); 553 if (ump->mount_args.cpno == last_cno) 668 nilfs_mount_checkpoint(struct nilfs_mount *ump) argument 680 "%"PRIu64"\n", ump->mount_args.cpno)); 682 cp_node = ump 761 nilfs_stop_writing(struct nilfs_mount *ump) argument 784 struct nilfs_mount *ump = VFSTONILFS(mp); local 801 struct nilfs_mount *ump; local 947 struct nilfs_mount *ump; local 1005 struct nilfs_mount *ump = VFSTONILFS(mp); local 1026 struct nilfs_mount *ump = VFSTONILFS(mp); local [all...] |
/netbsd-6-1-5-RELEASE/sys/ufs/ext2fs/ |
H A D | ext2fs_vfsops.c | 266 struct ufsmount *ump; local 285 ump = VFSTOUFS(mp); 286 fs = ump->um_e2fs; 312 struct ufsmount *ump = NULL; local 324 ump = VFSTOUFS(mp); 325 if (ump == NULL) 358 ump = VFSTOUFS(mp); 359 if (devvp != ump->um_devvp) { 360 if (devvp->v_rdev != ump->um_devvp->v_rdev) 364 devvp = ump 530 struct ufsmount *ump; local 662 struct ufsmount *ump; local 793 struct ufsmount *ump; local 845 struct ufsmount *ump; local 909 struct ufsmount *ump = VFSTOUFS(mp); local 1003 struct ufsmount *ump; local [all...] |
H A D | ext2fs_bmap.c | 90 #define is_sequential(ump, a, b) ((b) == (a) + ump->um_seqinc) 140 struct ufsmount *ump; local 149 ump = ip->i_ump; 168 *bnp = blkptrtodb(ump, fs2h32(ip->i_e2fs_blocks[bn])); 174 is_sequential(ump, (daddr_t)fs2h32(ip->i_e2fs_blocks[bn - 1]), 243 bp->b_blkno = blkptrtodb(ump, daddr); 258 bn < MNINDIR(ump) && *runp < maxrun && 259 is_sequential(ump, ((int32_t *)bp->b_data)[bn - 1], 266 daddr = blkptrtodb(ump, dadd [all...] |
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/ |
H A D | eint.c | 197 mpfr_t tmp, ump; local 242 mpfr_init2 (ump, 64); 244 mpfr_sub (ump, x, tmp, MPFR_RNDD); 246 mpfr_div (ump, ump, tmp, MPFR_RNDD); 249 if (mpfr_cmp_ui (ump, __gmpfr_emax) >= 0) 252 mpfr_clear (ump); 271 mpfr_set_prec (ump, prec); 286 mpfr_const_euler (ump, MPFR_RNDN); /* 0.577 -> EXP(ump) [all...] |
/netbsd-6-1-5-RELEASE/sys/ufs/chfs/ |
H A D | chfs_vfsops.c | 129 struct ufsmount *ump = NULL; local 142 ump = VFSTOUFS(mp); 143 if (ump == NULL) 202 ump = VFSTOUFS(mp); 203 chmp = ump->um_chfs; 226 struct ufsmount* ump = NULL; local 260 ump = malloc(sizeof(*ump), M_UFSMNT, M_WAITOK); 261 memset(ump, 0, sizeof(*ump)); 399 struct ufsmount *ump; local 474 struct ufsmount *ump; local 706 struct ufsmount *ump; local [all...] |