/freebsd/contrib/file/src/ |
H A D | is_json.c | 48 printf("%*s%s [%.2x/%c] %.*s\n", (int)lvl, "", (a), *(b), *(b), \ 128 size_t lvl __file_debugused) in json_parse_string() 181 size_t *st, size_t lvl) in json_parse_array() argument 192 if (!json_parse(&uc, ue, st, lvl + 1)) in json_parse_array() 218 size_t *st, size_t lvl) in json_parse_object() argument 235 if (!json_parse_string(&uc, ue, lvl)) { in json_parse_object() 246 if (!json_parse(&uc, ue, st, lvl + 1)) { in json_parse_object() 275 size_t lvl __file_debugused) in json_parse_number() 327 const char *str, size_t len, size_t lvl __file_debugused) in json_parse_const() 347 size_t *st, size_t lvl) in json_parse() argument [all …]
|
/freebsd/sys/x86/iommu/ |
H A D | intel_idpgtbl.c | 111 dmar_idmap_nextlvl(struct idpgtbl *tbl, int lvl, vm_pindex_t idx, in dmar_idmap_nextlvl() argument 127 pg_sz = pglvl_page_size(tbl->pglvl, lvl); in dmar_idmap_nextlvl() 128 if (lvl != tbl->leaf) { in dmar_idmap_nextlvl() 130 dmar_idmap_nextlvl(tbl, lvl + 1, base + i, f); in dmar_idmap_nextlvl() 134 if (lvl == tbl->leaf) { in dmar_idmap_nextlvl() 326 dmar_pgtbl_map_pte(struct dmar_domain *domain, iommu_gaddr_t base, int lvl, in dmar_pgtbl_map_pte() argument 337 idx = pglvl_pgtbl_get_pindex(domain->pglvl, base, lvl); in dmar_pgtbl_map_pte() 347 KASSERT(lvl > 0, in dmar_pgtbl_map_pte() 369 ptep = dmar_pgtbl_map_pte(domain, base, lvl - 1, in dmar_pgtbl_map_pte() 389 pte += pglvl_pgtbl_pte_off(domain->pglvl, base, lvl); in dmar_pgtbl_map_pte() [all …]
|
H A D | amd_idpgtbl.c | 71 iommu_gaddr_t base, int lvl, int flags, iommu_pte_t *pte, 129 int lvl, int flags, vm_pindex_t *idxp, struct sf_buf **sf) in amdiommu_pgtbl_map_pte() argument 136 idx = pglvl_pgtbl_get_pindex(domain->pglvl, base, lvl); in amdiommu_pgtbl_map_pte() 146 KASSERT(lvl > 0, in amdiommu_pgtbl_map_pte() 161 ptep = amdiommu_pgtbl_map_pte(domain, base, lvl - 1, in amdiommu_pgtbl_map_pte() 173 ((domain->pglvl - lvl) << AMDIOMMU_PTE_NLVL_SHIFT); in amdiommu_pgtbl_map_pte() 181 pte += pglvl_pgtbl_pte_off(domain->pglvl, base, lvl); in amdiommu_pgtbl_map_pte() 288 int lvl, int flags, struct iommu_map_entry *entry) in amdiommu_free_pgtbl_pde() argument 295 pde = amdiommu_pgtbl_map_pte(domain, base, lvl, flags, &idx, &sf); in amdiommu_free_pgtbl_pde() 296 amdiommu_unmap_clear_pte(domain, base, lvl, flags, pde, &sf, entry, in amdiommu_free_pgtbl_pde() [all …]
|
H A D | iommu_utils.c | 688 pglvl_pgtbl_pte_off(int pglvl, iommu_gaddr_t base, int lvl) in pglvl_pgtbl_pte_off() argument 691 base >>= IOMMU_PAGE_SHIFT + (pglvl - lvl - 1) * in pglvl_pgtbl_pte_off() 702 pglvl_pgtbl_get_pindex(int pglvl, iommu_gaddr_t base, int lvl) in pglvl_pgtbl_get_pindex() argument 707 KASSERT(lvl >= 0 && lvl < pglvl, in pglvl_pgtbl_get_pindex() 708 ("wrong lvl %d %d", pglvl, lvl)); in pglvl_pgtbl_get_pindex() 710 for (pidx = idx = 0, i = 0; i < lvl; i++, pidx = idx) { in pglvl_pgtbl_get_pindex() 735 pglvl_page_size(int total_pglvl, int lvl) in pglvl_page_size() argument 748 KASSERT(lvl >= 0 && lvl < total_pglvl, in pglvl_page_size() 749 ("total %d lvl %d", total_pglvl, lvl)); in pglvl_page_size() 750 rlvl = total_pglvl - lvl - 1; in pglvl_page_size() [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | gringotts | 10 >3 string 1 v.1, MCRYPT S2K, SERPENT crypt, SHA-256 hash, ZLib lvl.9 25 >>8 byte&0x03 0x00 lvl.0 26 >>8 byte&0x03 0x01 lvl.3 27 >>8 byte&0x03 0x02 lvl.6 28 >>8 byte&0x03 0x03 lvl.9 43 >>8 byte&0x03 0x00 lvl.0 44 >>8 byte&0x03 0x01 lvl.3 45 >>8 byte&0x03 0x02 lvl.6 46 >>8 byte&0x03 0x03 lvl.9
|
/freebsd/lib/libc/amd64/string/ |
H A D | amd64_archlevel.c | 113 const struct archlevel *lvl = &levels[level]; in supported_archlevel() local 115 if ((lvl->feat_edx & feat_edx) != lvl->feat_edx || in supported_archlevel() 116 (lvl->feat_ecx & feat_ecx) != lvl->feat_ecx || in supported_archlevel() 117 (lvl->amd_ecx & amd_ecx) != lvl->amd_ecx || in supported_archlevel() 118 (lvl->ext_ebx & ext_ebx) != lvl->ext_ebx) in supported_archlevel()
|
/freebsd/contrib/openpam/include/security/ |
H A D | openpam.h | 220 #define openpam_log(lvl, ...) \ argument 221 _openpam_log((lvl), __func__, __VA_ARGS__) 223 #define openpam_log(lvl, ...) \ argument 224 _openpam_log((lvl), __func__, __VA_ARGS__) 226 #define openpam_log(lvl, fmt...) \ argument 227 _openpam_log((lvl), __func__, ##fmt) 229 #define openpam_log(lvl, fmt...) \ argument 230 _openpam_log((lvl), __FUNCTION__, ##fmt)
|
/freebsd/sys/geom/nop/ |
H A D | g_nop.h | 42 #define G_NOP_DEBUG(lvl, ...) \ argument 43 _GEOM_DEBUG("GEOM_NOP", g_nop_debug, (lvl), NULL, __VA_ARGS__) 44 #define G_NOP_LOGREQLVL(lvl, bp, ...) \ argument 45 _GEOM_DEBUG("GEOM_NOP", g_nop_debug, (lvl), (bp), __VA_ARGS__)
|
/freebsd/sys/geom/virstor/ |
H A D | g_virstor.h | 47 #define LOG_MSG(lvl, ...) \ argument 48 _GEOM_DEBUG("GEOM_VIRSTOR", g_virstor_debug, (lvl), NULL, __VA_ARGS__) 51 #define LOG_REQ(lvl, bp, ...) \ argument 52 _GEOM_DEBUG("GEOM_VIRSTOR", g_virstor_debug, (lvl), (bp), __VA_ARGS__)
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/ |
H A D | zfs_context_os.h | 63 #define ZFS_LOG(lvl, ...) do { \ argument 64 if (((lvl) & 0xff) <= zfs_debug_level) { \ 67 __func__, __LINE__, (lvl)); \ 70 if ((lvl) & 0x100) \
|
/freebsd/sys/contrib/openzfs/cmd/raidz_test/ |
H A D | raidz_test.h | 95 #define LOG(lvl, ...) \ argument 97 if (rto_opts.rto_v >= lvl) \ 101 #define LOG_OPT(lvl, opt, ...) \ argument 103 if (opt->rto_v >= lvl) \
|
/freebsd/sys/geom/journal/ |
H A D | g_journal.h | 50 #define GJ_DEBUG(lvl, ...) \ argument 51 _GEOM_DEBUG("GEOM_JOURNAL", g_journal_debug, (lvl), NULL, __VA_ARGS__) 52 #define GJ_LOGREQ(lvl, bp, ...) \ argument 53 _GEOM_DEBUG("GEOM_JOURNAL", g_journal_debug, (lvl), (bp), __VA_ARGS__) 245 #define GJ_TIMER_START(lvl, bt) do { \ argument 246 if (g_journal_debug >= (lvl)) \ 249 #define GJ_TIMER_STOP(lvl, bt, ...) do { \ argument 250 if (g_journal_debug >= (lvl)) { \ 259 printf("[%u]", lvl); \
|
/freebsd/sys/geom/shsec/ |
H A D | g_shsec.h | 47 #define G_SHSEC_DEBUG(lvl, ...) \ argument 48 _GEOM_DEBUG("GEOM_SHSEC", g_shsec_debug, (lvl), NULL, __VA_ARGS__) 49 #define G_SHSEC_LOGREQ(lvl, bp, ...) \ argument 50 _GEOM_DEBUG("GEOM_SHSEC", g_shsec_debug, (lvl), (bp), __VA_ARGS__)
|
/freebsd/sys/geom/union/ |
H A D | g_union.h | 41 #define G_UNION_DEBUG(lvl, ...) \ argument 42 _GEOM_DEBUG("GEOM_UNION", g_union_debug, (lvl), NULL, __VA_ARGS__) 43 #define G_UNION_LOGREQLVL(lvl, bp, ...) \ argument 44 _GEOM_DEBUG("GEOM_UNION", g_union_debug, (lvl), (bp), __VA_ARGS__)
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | da7213.txt | 13 - dlg,micbias1-lvl : Voltage (mV) for Mic Bias 1 15 - dlg,micbias2-lvl : Voltage (mV) for Mic Bias 2 39 dlg,micbias1-lvl = <2500>; 40 dlg,micbias2-lvl = <2500>;
|
H A D | da7219.txt | 32 - dlg,micbias-lvl : Voltage (mV) for Mic Bias 38 - dlg,ldo-lvl : Required internal LDO voltage (mV) level for digital engine 46 - dlg,micbias-pulse-lvl : Mic bias higher voltage pulse level (mV). 93 dlg,ldo-lvl = <1200>; 94 dlg,micbias-lvl = <2600>;
|
/freebsd/sys/geom/gate/ |
H A D | g_gate.h | 103 #define G_GATE_DEBUG(lvl, ...) \ argument 104 _GEOM_DEBUG("GEOM_GATE", g_gate_debug, (lvl), NULL, __VA_ARGS__) 105 #define G_GATE_LOGREQ(lvl, bp, ...) \ argument 106 _GEOM_DEBUG("GEOM_GATE", g_gate_debug, (lvl), (bp), __VA_ARGS__)
|
/freebsd/sys/arm64/iommu/ |
H A D | iommu_pmap.c | 591 int lvl; in pmap_gpu_enter() local 616 pde = smmu_pmap_pde(pmap, va, &lvl); in pmap_gpu_enter() 617 if (pde != NULL && lvl == 2) { in pmap_gpu_enter() 667 int lvl; in pmap_gpu_remove() local 674 pde = smmu_pmap_pde(pmap, va, &lvl); in pmap_gpu_remove() 675 if (pde == NULL || lvl != 2) { in pmap_gpu_remove() 705 int lvl; in smmu_pmap_enter() local 728 pde = smmu_pmap_pde(pmap, va, &lvl); in smmu_pmap_enter() 729 if (pde != NULL && lvl == 2) { in smmu_pmap_enter() 763 int lvl; in smmu_pmap_remove() local [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | addipopt.c | 19 u_char lvl; in addipopt() local 37 lvl = seclevel(class); in addipopt() 38 *(op - 1) = lvl; in addipopt()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/vdev_zaps/ |
H A D | vdev_zaps.kshlib | 51 typeset lvl=$3 55 log_fail "$vd on $pool has no $lvl ZAP in config" 57 log_fail "$vd on $pool has no $lvl ZAP in MOS"
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | port-linux.c | 62 char *sc = NULL, *sename = NULL, *lvl = NULL; in ssh_selinux_getctxbyname() local 66 if (getseuserbyname(pwname, &sename, &lvl) != 0) in ssh_selinux_getctxbyname() 70 lvl = NULL; in ssh_selinux_getctxbyname() 74 r = get_default_context_with_level(sename, lvl, NULL, &sc); in ssh_selinux_getctxbyname() 98 free(lvl); in ssh_selinux_getctxbyname()
|
/freebsd/sys/geom/raid/ |
H A D | tr_raid5.c | 218 u_int strip_size, lvl, qual; in g_raid_tr_iostart_raid5_read() local 223 lvl = tr->tro_volume->v_raid_level; in g_raid_tr_iostart_raid5_read() 232 if (lvl == G_RAID_VOLUME_RL_RAIDMDF) in g_raid_tr_iostart_raid5_read() 234 else if (lvl == G_RAID_VOLUME_RL_RAID5EE || in g_raid_tr_iostart_raid5_read() 235 lvl == G_RAID_VOLUME_RL_RAID6) in g_raid_tr_iostart_raid5_read() 241 if (lvl == G_RAID_VOLUME_RL_RAID4) { in g_raid_tr_iostart_raid5_read() 258 if (lvl == G_RAID_VOLUME_RL_RAID4) { in g_raid_tr_iostart_raid5_read() 284 if (lvl == G_RAID_VOLUME_RL_RAID4) { in g_raid_tr_iostart_raid5_read()
|
H A D | g_raid.h | 62 #define G_RAID_DEBUG(lvl, ...) \ argument 63 _GEOM_DEBUG("GEOM_RAID", g_raid_debug, (lvl), NULL, __VA_ARGS__) 64 #define G_RAID_DEBUG1(lvl, sc, fmt, ...) \ argument 65 _GEOM_DEBUG("GEOM_RAID", g_raid_debug, (lvl), NULL, "%s: " fmt, \ 67 #define G_RAID_LOGREQ(lvl, bp, ...) \ argument 68 _GEOM_DEBUG("GEOM_RAID", g_raid_debug, (lvl), (bp), __VA_ARGS__)
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_debug.h | 21 #define TRACE(lvl, arg) \ argument 23 if (debug >= (lvl)) \
|
/freebsd/sys/geom/vinum/ |
H A D | geom_vinum.h | 158 #define G_VINUM_DEBUG(lvl, ...) \ argument 159 _GEOM_DEBUG("GEOM_VINUM", g_vinum_debug, (lvl), NULL, __VA_ARGS__) 160 #define G_VINUM_LOGREQ(lvl, bp, ...) \ argument 161 _GEOM_DEBUG("GEOM_VINUM", g_vinum_debug, (lvl), (bp), __VA_ARGS__)
|