Home
last modified time | relevance | path

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

12

/netbsd-src/usr.sbin/repquota/
H A 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/
H A 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()
H A 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()
H A 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/
H A 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 …]
H A 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/
H A 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 …]
H A 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/
H A 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/crypto/external/bsd/openssl/dist/providers/implementations/encode_decode/
H A Ddecode_pem2der.c141 int objtype = OSSL_OBJECT_UNKNOWN; in pem2der_decode() local
185 objtype = pem_name_map[i].object_type; in pem2der_decode()
200 OSSL_PARAM_construct_int(OSSL_OBJECT_PARAM_TYPE, &objtype); in pem2der_decode()
H A Ddecode_spki2typespki.c59 int objtype = OSSL_OBJECT_PKEY; in spki2typespki_decode() local
107 OSSL_PARAM_construct_int(OSSL_OBJECT_PARAM_TYPE, &objtype); in spki2typespki_decode()
H A Ddecode_epki2pki.c133 int objtype = OSSL_OBJECT_PKEY; in epki2pki_decode() local
143 *p++ = OSSL_PARAM_construct_int(OSSL_OBJECT_PARAM_TYPE, &objtype); in epki2pki_decode()
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/storemgmt/
H A Dfile_store_any2obj.c57 static int any2obj_decode_final(void *provctx, int objtype, BUF_MEM *mem, in any2obj_decode_final() argument
70 OSSL_PARAM_construct_int(OSSL_OBJECT_PARAM_TYPE, &objtype); in any2obj_decode_final()
244 #define MAKE_DECODER(fromtype, objtype) \ argument
/netbsd-src/sys/kern/
H A 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()
H A Dvfs_syscalls.c890 do_sys_quotactl_objtypestat(struct mount *mp, int objtype, in do_sys_quotactl_objtypestat()
899 error = vfs_quotactl_objtypestat(mp, objtype, &info_k); in do_sys_quotactl_get()
876 do_sys_quotactl_objtypestat(struct mount * mp,int objtype,struct quotaobjtypestat * info_u) do_sys_quotactl_objtypestat() argument
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dtypeck2.c2209 tree objtype; in build_m_component_ref() local
2229 objtype = TYPE_MAIN_VARIANT (TREE_TYPE (datum)); in build_m_component_ref()
2230 if (! MAYBE_CLASS_TYPE_P (objtype)) in build_m_component_ref()
2234 "non-class type %qT", component, datum, objtype); in build_m_component_ref()
2243 if (!same_type_p (ctype, objtype)) in build_m_component_ref()
2249 binfo = lookup_base (objtype, ctype, ba_check, NULL, complain); in build_m_component_ref()
2256 "type %qT", type, objtype); in build_m_component_ref()
H A Dtree.c3171 tree objtype = TREE_TYPE (obj); in build_ctor_subob_ref() local
3172 if (TREE_CODE (objtype) == ARRAY_TYPE && !TYPE_DOMAIN (objtype)) in build_ctor_subob_ref()
3178 TYPE_MAIN_VARIANT (objtype), in build_ctor_subob_ref()
3182 gcc_assert (same_type_ignoring_top_level_qualifiers_p (type, objtype)); in build_ctor_subob_ref()
H A Dconstexpr.c1963 const tree objtype = TREE_TYPE (obj); in cxx_eval_dynamic_cast_fn() local
1976 objtype, type); in cxx_eval_dynamic_cast_fn()
1988 tree vtable = build_vfield_ref (obj, objtype); in cxx_eval_dynamic_cast_fn()
2031 objtype, type); in cxx_eval_dynamic_cast_fn()
2062 " base class of dynamic type %qT", objtype, mdtype); in cxx_eval_dynamic_cast_fn()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A 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()
H A 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()
H A 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()
/netbsd-src/sys/arch/acorn32/stand/lib/
H A Driscoscalls.h343 uint32_t objtype; member
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dtypes.cc411 tree objtype = TREE_TYPE (build_ctype (cd->type)); in layout_aggregate_type() local
421 DECL_FCONTEXT (field) = objtype; in layout_aggregate_type()
/netbsd-src/sys/arch/acorn32/stand/nbfs/
H A Dnbfs.c413 fdp->objtype = dp->d_type == DT_DIR ? in nbfs_func_dirents()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dtypes.cc537 tree objtype = TREE_TYPE (build_ctype (cd->type)); in layout_aggregate_type() local
547 DECL_FCONTEXT (field) = objtype; in layout_aggregate_type()

12