Home
last modified time | relevance | path

Searched refs:objtype (Results 1 – 21 of 21) sorted by relevance

/netbsd/src/usr.sbin/repquota/
Drepquota.c288 int ok, objtype; in printquotas() local
349 for (objtype = 0; objtype < REPQUOTA_NUMOBJTYPES; objtype++) { in printquotas()
350 if (q[objtype].qv_usage != 0 || in printquotas()
351 overchar[objtype] != '-') { in printquotas()
361 for (objtype = 0; objtype < REPQUOTA_NUMOBJTYPES; objtype++) { in printquotas()
362 printf("%c", overchar[objtype]); in printquotas()
364 for (objtype = 0; objtype < REPQUOTA_NUMOBJTYPES; objtype++) { in printquotas()
365 isbytes = quota_objtype_isbytes(qh, objtype); in printquotas()
369 intprt(b1, width+1, q[objtype].qv_usage, in printquotas()
372 intprt(b2, width+1, q[objtype].qv_softlimit, in printquotas()
[all …]
/netbsd/src/lib/libquota/
Dquota_schema.c151 quota_objtype_getname(struct quotahandle *qh, int objtype) in quota_objtype_getname() argument
155 return __quota_kernel_objtype_getname(qh, objtype); in quota_objtype_getname()
162 switch (objtype) { in quota_objtype_getname()
175 quota_objtype_isbytes(struct quotahandle *qh, int objtype) in quota_objtype_isbytes() argument
179 return __quota_kernel_objtype_isbytes(qh, objtype); in quota_objtype_isbytes()
186 switch (objtype) { in quota_objtype_isbytes()
Dquota_kernel.c120 __quota_kernel_objtype_getname(struct quotahandle *qh, int objtype) in __quota_kernel_objtype_getname() argument
126 args.u.objtypestat.qc_objtype = objtype; in __quota_kernel_objtype_getname()
135 __quota_kernel_objtype_isbytes(struct quotahandle *qh, int objtype) in __quota_kernel_objtype_isbytes() argument
141 args.u.objtypestat.qc_objtype = objtype; in __quota_kernel_objtype_isbytes()
Dquotapvt.h62 const char *__quota_kernel_objtype_getname(struct quotahandle *, int objtype);
63 int __quota_kernel_objtype_isbytes(struct quotahandle *, int objtype);
/netbsd/src/sys/ufs/ufs/
Dufs_quota2.c78 quota2_dict_update_q2e_limits(int objtype, const struct quotaval *val, in quota2_dict_update_q2e_limits() argument
85 q2e->q2e_val[objtype].q2v_hardlimit = val->qv_hardlimit; in quota2_dict_update_q2e_limits()
86 q2e->q2e_val[objtype].q2v_softlimit = val->qv_softlimit; in quota2_dict_update_q2e_limits()
87 q2e->q2e_val[objtype].q2v_grace = val->qv_grace; in quota2_dict_update_q2e_limits()
112 id_t *id, int objtype, struct quotaval *ret) in q2e_to_quotaval() argument
120 KASSERT(objtype >= 0 && objtype < N_QL); in q2e_to_quotaval()
121 q2val_to_quotaval(&q2e->q2e_val[objtype], ret); in q2e_to_quotaval()
687 int objtype; in quota2_handle_cmd_del() local
698 objtype = qk->qk_objtype; in quota2_handle_cmd_del()
741 q2ep->q2e_val[objtype].q2v_softlimit = in quota2_handle_cmd_del()
[all …]
Dufs_quota.c302 int objtype; in quota_handle_cmd_objtypestat() local
308 objtype = args->u.objtypestat.qc_objtype; in quota_handle_cmd_objtypestat()
317 switch (objtype) { in quota_handle_cmd_objtypestat()
/netbsd/src/sys/ufs/lfs/
Dulfs_quota2.c83 quota2_dict_update_q2e_limits(int objtype, const struct quotaval *val, in quota2_dict_update_q2e_limits() argument
90 q2e->q2e_val[objtype].q2v_hardlimit = val->qv_hardlimit; in quota2_dict_update_q2e_limits()
91 q2e->q2e_val[objtype].q2v_softlimit = val->qv_softlimit; in quota2_dict_update_q2e_limits()
92 q2e->q2e_val[objtype].q2v_grace = val->qv_grace; in quota2_dict_update_q2e_limits()
117 id_t *id, int objtype, struct quotaval *ret) in q2e_to_quotaval() argument
125 KASSERT(objtype >= 0 && objtype < N_QL); in q2e_to_quotaval()
126 q2val_to_quotaval(&q2e->q2e_val[objtype], ret); in q2e_to_quotaval()
685 int objtype; in lfsquota2_handle_cmd_del() local
696 objtype = qk->qk_objtype; in lfsquota2_handle_cmd_del()
736 q2ep->q2e_val[objtype].q2v_softlimit = in lfsquota2_handle_cmd_del()
[all …]
Dulfs_quota.c306 int objtype; in quota_handle_cmd_objtypestat() local
312 objtype = args->u.objtypestat.qc_objtype; in quota_handle_cmd_objtypestat()
321 switch (objtype) { in quota_handle_cmd_objtypestat()
/netbsd/src/usr.sbin/edquota/
Dedquota.c408 int objtype, struct quotause *qup) in dogetprivs2() argument
414 qk.qk_objtype = objtype; in dogetprivs2()
415 if (quota_get(qh, &qk, &qup->qv[objtype]) == 0) { in dogetprivs2()
417 qup->source[objtype] = SRC_QUOTA; in dogetprivs2()
427 if (quota_get(qh, &qk, &qup->qv[objtype]) == 0) { in dogetprivs2()
429 qup->source[objtype] = SRC_DEFAULT; in dogetprivs2()
437 quotaval_clear(&qup->qv[objtype]); in dogetprivs2()
438 qup->source[objtype] = SRC_CLEAR; in dogetprivs2()
846 unsigned objtype; /* current object type */ in readprivs() local
859 objtype = QUOTA_OBJTYPE_BLOCKS; /* for gcc 4.5 */ in readprivs()
[all …]
/netbsd/src/sys/kern/
Dvfs_quotactl.c60 vfs_quotactl_objtypestat(struct mount *mp, int objtype, in vfs_quotactl_objtypestat() argument
66 args.u.objtypestat.qc_objtype = objtype; in vfs_quotactl_objtypestat()
Dvfs_syscalls.c890 do_sys_quotactl_objtypestat(struct mount *mp, int objtype, in do_sys_quotactl_objtypestat() argument
899 error = vfs_quotactl_objtypestat(mp, objtype, &info_k); in do_sys_quotactl_objtypestat()
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Dtypeck2.cc2170 tree objtype; in build_m_component_ref() local
2190 objtype = TYPE_MAIN_VARIANT (TREE_TYPE (datum)); in build_m_component_ref()
2191 if (! MAYBE_CLASS_TYPE_P (objtype)) in build_m_component_ref()
2195 "non-class type %qT", component, datum, objtype); in build_m_component_ref()
2204 if (!same_type_p (ctype, objtype)) in build_m_component_ref()
2210 binfo = lookup_base (objtype, ctype, ba_check, NULL, complain); in build_m_component_ref()
2217 "type %qT", type, objtype); in build_m_component_ref()
Dtree.cc3384 tree objtype = TREE_TYPE (obj); in build_ctor_subob_ref() local
3385 if (TREE_CODE (objtype) == ARRAY_TYPE && !TYPE_DOMAIN (objtype)) in build_ctor_subob_ref()
3391 TYPE_MAIN_VARIANT (objtype), in build_ctor_subob_ref()
3395 gcc_assert (same_type_ignoring_top_level_qualifiers_p (type, objtype)); in build_ctor_subob_ref()
Dconstexpr.cc2116 const tree objtype = TREE_TYPE (obj); in cxx_eval_dynamic_cast_fn() local
2129 objtype, type); in cxx_eval_dynamic_cast_fn()
2141 tree vtable = build_vfield_ref (obj, objtype); in cxx_eval_dynamic_cast_fn()
2184 objtype, type); in cxx_eval_dynamic_cast_fn()
2215 " base class of dynamic type %qT", objtype, mdtype); in cxx_eval_dynamic_cast_fn()
DChangeLog-2020445 yields a null pointer, give an error and return. Use objtype.
5908 ARRAY_TYPE, use the element type. Punt if objtype after that is not
/netbsd/src/sys/arch/acorn32/stand/lib/
Driscoscalls.h343 uint32_t objtype; member
/netbsd/src/sys/arch/acorn32/stand/nbfs/
Dnbfs.c413 fdp->objtype = dp->d_type == DT_DIR ? in nbfs_func_dirents()
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dvalops.c3025 struct type *objtype = check_typedef (obj_type); in find_overload_match() local
3028 && objtype->is_pointer_or_reference ()) in find_overload_match()
/netbsd/src/usr.sbin/makemandb/
Dnostem.txt2813 objtype
/netbsd/src/external/gpl3/gdb/dist/bfd/
Dvms-alpha.c3973 _bfd_vms_write_etir (bfd * abfd, int objtype ATTRIBUTE_UNUSED) in _bfd_vms_write_etir()
3978 vms_debug2 ((2, "vms_write_tir (%p, %d)\n", abfd, objtype)); in _bfd_vms_write_etir()
/netbsd/src/external/gpl3/binutils/dist/bfd/
Dvms-alpha.c3973 _bfd_vms_write_etir (bfd * abfd, int objtype ATTRIBUTE_UNUSED) in _bfd_vms_write_etir()
3978 vms_debug2 ((2, "vms_write_tir (%p, %d)\n", abfd, objtype)); in _bfd_vms_write_etir()