/freebsd/sys/dev/drm2/ |
H A D | drm_mm.c | 50 static struct drm_mm_node *drm_mm_kmalloc(struct drm_mm *mm, int atomic) in drm_mm_kmalloc() argument 57 mtx_lock(&mm->unused_lock); in drm_mm_kmalloc() 58 if (list_empty(&mm->unused_nodes)) in drm_mm_kmalloc() 62 list_entry(mm->unused_nodes.next, in drm_mm_kmalloc() 65 --mm->num_unused; in drm_mm_kmalloc() 67 mtx_unlock(&mm->unused_lock); in drm_mm_kmalloc() 77 int drm_mm_pre_get(struct drm_mm *mm) in drm_mm_pre_get() argument 81 mtx_lock(&mm->unused_lock); in drm_mm_pre_get() 82 while (mm->num_unused < MM_UNUSED_TARGET) { in drm_mm_pre_get() 83 mtx_unlock(&mm->unused_lock); in drm_mm_pre_get() [all …]
|
H A D | drm_mm.h | 54 struct drm_mm *mm; member 86 static inline bool drm_mm_initialized(struct drm_mm *mm) in drm_mm_initialized() argument 88 return mm->hole_stack.next; in drm_mm_initialized() 90 #define drm_mm_for_each_node(entry, mm) list_for_each_entry(entry, \ argument 91 &(mm)->head_node.node_list, \ 93 #define drm_mm_for_each_scanned_node_reverse(entry, n, mm) \ argument 94 for (entry = (mm)->prev_scanned_node, \ 160 extern int drm_mm_insert_node(struct drm_mm *mm, 164 extern int drm_mm_insert_node_in_range(struct drm_mm *mm, 170 extern int drm_mm_insert_node_generic(struct drm_mm *mm, [all …]
|
H A D | drm_gem.c | 71 struct drm_gem_mm *mm; in drm_gem_init() local 75 mm = malloc(sizeof(*mm), DRM_MEM_DRIVER, M_NOWAIT); in drm_gem_init() 76 if (!mm) { in drm_gem_init() 81 dev->mm_private = mm; in drm_gem_init() 83 if (drm_ht_create(&mm->offset_hash, 19)) { in drm_gem_init() 84 free(mm, DRM_MEM_DRIVER); in drm_gem_init() 88 mm->idxunr = new_unrhdr(0, DRM_GEM_MAX_IDX, NULL); in drm_gem_init() 96 struct drm_gem_mm *mm = dev->mm_private; in drm_gem_destroy() local 99 drm_ht_remove(&mm->offset_hash); in drm_gem_destroy() 100 delete_unrhdr(mm->idxunr); in drm_gem_destroy() [all …]
|
/freebsd/contrib/bsddialog/lib/ |
H A D | datebox.c | 87 static int month_days(int yy, int mm) in month_days() argument 91 if (mm == 2) in month_days() 93 else if (mm == 4 || mm == 6 || mm == 9 || mm == 11) in month_days() 101 static int week_day(int yy, int mm, int dd) in week_day() argument 105 dd += mm < 3 ? yy-- : yy - 2; in week_day() 106 wd = 23*mm/9 + dd + 4 + yy/4 - yy/100 + yy/400; in week_day() 114 int *mm, in in init_date() argument 127 datectl(enum operation op,int * yy,int * mm,int * dd) datectl() argument 260 print_calendar(struct bsddialog_conf * conf,WINDOW * win,int yy,int mm,int dd,bool active) print_calendar() argument 335 int retval, sel, yy, mm, dd; bsddialog_calendar() local 544 build_dateitem(const char * format,int * yy,int * mm,int * dd,struct dateitem * dt) build_dateitem() argument 587 int retval, i, sel, yy, mm, dd; bsddialog_datebox() local [all...] |
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_current.c | 36 #include <linux/mm.h> 61 struct mm_struct *mm; in find_other_mm() local 68 mm = ts->mm; in find_other_mm() 69 if (mm == NULL) in find_other_mm() 72 if (atomic_inc_not_zero(&mm->mm_users)) in find_other_mm() 73 return (mm); in find_other_mm() 83 struct mm_struct *mm, *mm_other; in linux_alloc_current() local 98 mm = NULL; in linux_alloc_current() 119 mm = uma_zalloc(linux_mm_zone, flags | M_ZERO); in linux_alloc_current() 120 if (mm == NULL) { in linux_alloc_current() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_mirror.c | 157 mirror_map_t *mm; in vdev_mirror_map_alloc() local 159 mm = kmem_zalloc(vdev_mirror_map_size(children), KM_SLEEP); in vdev_mirror_map_alloc() 160 mm->mm_children = children; in vdev_mirror_map_alloc() 161 mm->mm_resilvering = resilvering; in vdev_mirror_map_alloc() 162 mm->mm_root = root; in vdev_mirror_map_alloc() 163 mm->mm_preferred = (int *)((uintptr_t)mm + in vdev_mirror_map_alloc() 166 return (mm); in vdev_mirror_map_alloc() 172 mirror_map_t *mm = zio->io_vsd; in vdev_mirror_map_free() local 174 kmem_free(mm, vdev_mirror_map_size(mm->mm_children)); in vdev_mirror_map_free() 182 vdev_mirror_load(mirror_map_t *mm, vdev_t *vd, uint64_t zio_offset) in vdev_mirror_load() argument [all …]
|
/freebsd/sys/dev/vmm/ |
H A D | vmm_mem.c | 139 struct vm_mem_map *mm; in vm_mem_allocated() local 150 mm = &vm_mem(vm)->mem_maps[i]; in vm_mem_allocated() 151 if (mm->len != 0 && gpa >= mm->gpa && gpa < mm->gpa + mm->len) in vm_mem_allocated() 329 struct vm_mem_map *mm, *mmnext; in vm_mmap_getnext() local 336 mm = &mem->mem_maps[i]; in vm_mmap_getnext() 337 if (mm->len == 0 || mm->gpa < *gpa) in vm_mmap_getnext() 339 if (mmnext == NULL || mm->gpa < mmnext->gpa) in vm_mmap_getnext() 340 mmnext = mm; in vm_mmap_getnext() 364 struct vm_mem_map *mm; in vm_free_memmap() local 367 mm = &vm_mem(vm)->mem_maps[ident]; in vm_free_memmap() [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/ |
H A D | tst.fds.d.out | 1 fds[0] fi_name = mm@0:null 3 fds[0] fi_pathname = /devices/pseudo/mm@0:null 8 fds[1] fi_name = mm@0:null 10 fds[1] fi_pathname = /devices/pseudo/mm@0:null 15 fds[2] fi_name = mm@0:null 17 fds[2] fi_pathname = /devices/pseudo/mm@0:null 22 fds[3] fi_name = mm@0:null 24 fds[3] fi_pathname = /devices/pseudo/mm@0:null 29 fds[4] fi_name = mm@0:null 31 fds[4] fi_pathname = /devices/pseudo/mm@0:null
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | mm_types.h | 51 extern void linux_mm_dtor(struct mm_struct *mm); 54 mmdrop(struct mm_struct *mm) in mmdrop() argument 56 if (__predict_false(atomic_dec_and_test(&mm->mm_count))) in mmdrop() 57 linux_mm_dtor(mm); in mmdrop() 61 mmget_not_zero(struct mm_struct *mm) in mmget_not_zero() argument 63 return (atomic_inc_not_zero(&mm->mm_users)); in mmget_not_zero() 67 mmput(struct mm_struct *mm) in mmput() argument 69 if (__predict_false(atomic_dec_and_test(&mm->mm_users))) in mmput() 70 mmdrop(mm); in mmput() 74 mmgrab(struct mm_struct *mm) in mmgrab() argument [all …]
|
H A D | mmap_lock.h | 34 mmap_read_lock(struct mm_struct *mm) in mmap_read_lock() argument 37 down_read(&mm->mmap_sem); in mmap_read_lock() 41 mmap_read_unlock(struct mm_struct *mm) in mmap_read_unlock() argument 44 up_read(&mm->mmap_sem); in mmap_read_unlock() 48 mmap_write_lock_killable(struct mm_struct *mm) in mmap_write_lock_killable() argument 51 down_write_killable(&mm->mmap_sem); in mmap_write_lock_killable()
|
/freebsd/sys/contrib/device-tree/Bindings/soc/mediatek/ |
H A D | scpsys.txt | 36 Required clocks for MT2701 or MT7623: "mm", "mfg", "ethif" 37 Required clocks for MT2712: "mm", "mfg", "venc", "jpgdec", "audio", "vdec" 38 Required clocks for MT6765: MUX: "mm", "mfg" 39 CG: "mm-0", "mm-1", "mm-2", "mm-3", "isp-0", 42 Required clocks for MT6797: "mm", "mfg", "vdec" 45 Required clocks for MT8173: "mm", "mfg", "venc", "venc_lt" 51 - mm-supply: Power supply for the mm power domain 70 clock-names = "mfg", "mm", "venc", "venc_lt";
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_umem.c | 40 #include <linux/mm.h> 77 * the mm for future page fault handling in conjunction with MMU notifiers. 159 down_write(¤t->mm->mmap_sem); in ib_umem_get() 161 locked = npages + current->mm->pinned_vm; in ib_umem_get() 221 current->mm->pinned_vm = locked; in ib_umem_get() 223 up_write(¤t->mm->mmap_sem); in ib_umem_get() 236 down_write(&umem->mm->mmap_sem); in ib_umem_account() 237 umem->mm->pinned_vm -= umem->diff; in ib_umem_account() 238 up_write(&umem->mm->mmap_sem); in ib_umem_account() 239 mmput(umem->mm); in ib_umem_account() [all …]
|
/freebsd/contrib/ntp/scripts/stats/ |
H A D | README.timecodes | 35 "<CR><LF>i ddd hh:mm:ss TZ=zz<CR><LF>" 41 hh:mm:ss = hours, minutes, seconds 53 "<CR><LF>iqyy ddd hh:mm:ss.fff ld" 62 hh:mm:ss.fff = hours, minutes, seconds, milliseconds of day 78 "<CR><LF><^A>ddd:hh:mm:ssq<CR>" 82 hh:mm:ss = hours, minutes, seconds 95 "<CR>hh:mm:ss.f dd/mm/yy<CR>" 99 hh:mm:ss = hours, minutes, seconds 101 dd/mm = day, month 105 hh:mm:ss.? once synch is established and then lost again for about [all …]
|
/freebsd/contrib/kyua/integration/ |
H A D | cmd_report_junit_test.sh | 115 Start time: YYYY-MM-DDTHH:MM:SS.ssssssZ 116 End time: YYYY-MM-DDTHH:MM:SS.ssssssZ 155 Start time: YYYY-MM-DDTHH:MM:SS.ssssssZ 156 End time: YYYY-MM-DDTHH:MM:SS.ssssssZ 233 Start time: YYYY-MM-DDTHH:MM:SS.ssssssZ 234 End time: YYYY-MM-DDTHH:MM:SS.ssssssZ 273 Start time: YYYY-MM-DDTHH:MM:SS.ssssssZ 274 End time: YYYY-MM-DDTHH:MM:SS.ssssssZ
|
/freebsd/usr.bin/touch/ |
H A D | touch.1 | 39 .Op Fl A Ar [-][[hh]mm]SS 43 .Op Fl d Ar YYYY-MM-DDThh:mm:SS[.frac][tz] 82 .Dq [-][[hh]mm]SS 91 .It Ar mm 117 .Dq YYYY-MM-DDThh:mm:SS[.frac][tz] 122 .It Ar MM , Ar DD , Ar hh , Ar mm , Ar SS 185 .It Ar MM 191 .It Ar mm 223 .Dq MM , 227 .Dq mm
|
/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_bo_manager.c | 45 struct drm_mm mm; member 57 struct drm_mm *mm = &rman->mm; in ttm_bo_man_get_node() local 66 ret = drm_mm_pre_get(mm); in ttm_bo_man_get_node() 71 node = drm_mm_search_free_in_range(mm, in ttm_bo_man_get_node() 110 ret = drm_mm_init(&rman->mm, 0, p_size); in ttm_bo_man_init() 124 struct drm_mm *mm = &rman->mm; in ttm_bo_man_takedown() local 127 if (drm_mm_clean(mm)) { in ttm_bo_man_takedown() 128 drm_mm_takedown(mm); in ttm_bo_man_takedown() 145 drm_mm_debug_table(&rman->mm, prefix); in ttm_bo_man_debug()
|
/freebsd/sys/contrib/ncsw/inc/etc/ |
H A D | mm_ext.h | 71 @Description Initializes a new MM object. 79 The handle to the new MM object is returned via "MM" 82 @Param[in] h_MM - Handle to the MM object. 83 @Param[in] base - Base address of the MM. 84 @Param[in] size - Size of the MM. 86 …@Return E_OK is returned on success. E_NOMEMORY is returned if the new MM object or a new f… 110 @Param[in] h_MM - Handle to the MM object. 111 @Param[in] size - Size of the MM. 123 @Description Gets the base address of the required MM objects. 125 @Param[in] h_MM - Handle to the MM object. [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
H A D | touchscreen.yaml | 78 touchscreen-x-mm: 79 description: horizontal length in mm of the touchscreen 81 touchscreen-y-mm: 82 description: vertical length in mm of the touchscreen 93 touchscreen-x-mm: [ touchscreen-y-mm ] 94 touchscreen-y-mm: [ touchscreen-x-mm ]
|
H A D | hycon,hy46xx.yaml | 11 Glass: 0.3mm--4.0mm 12 PET/PMMA: 0.2mm--2.0mm 17 Glass: 0.3mm--8.0mm 18 PET/PMMA: 0.2mm--4.0mm
|
/freebsd/usr.bin/at/ |
H A D | at.man | 23 .Ar MM DD hh mm Op . Ar SS 80 .Ar HH:MM 100 .Ar DD.MM.YYYY , 101 .Ar DD.MM.YY , 102 .Ar MM/DD/YYYY , 103 .Ar MM/DD/YY , 278 .Ar MM DD hh mm Op . Ar SS 287 .It Ar MM 293 .It Ar mm
|
/freebsd/sys/contrib/dev/acpica/components/executer/ |
H A D | exregion.c | 191 ACPI_MEM_MAPPING *Mm = MemInfo->CurMm; in AcpiExSystemMemorySpaceHandler() local 250 if (!Mm || (Address < Mm->PhysicalAddress) || in AcpiExSystemMemorySpaceHandler() 251 ((UINT64) Address + Length > (UINT64) Mm->PhysicalAddress + Mm->Length)) in AcpiExSystemMemorySpaceHandler() 260 for (Mm = MemInfo->FirstMm; Mm; Mm = Mm->NextMm) in AcpiExSystemMemorySpaceHandler() 262 if (Mm == MemInfo->CurMm) in AcpiExSystemMemorySpaceHandler() 267 if (Address < Mm->PhysicalAddress) in AcpiExSystemMemorySpaceHandler() 272 if ((UINT64) Address + Length > (UINT64) Mm->PhysicalAddress + Mm->Length) in AcpiExSystemMemorySpaceHandler() 277 MemInfo->CurMm = Mm; in AcpiExSystemMemorySpaceHandler() 283 Mm = ACPI_ALLOCATE_ZEROED(sizeof(*Mm)); in AcpiExSystemMemorySpaceHandler() 284 if (!Mm) in AcpiExSystemMemorySpaceHandler() [all …]
|
/freebsd/sys/security/mac_mls/ |
H A D | mac_mls.c | 144 mls_free(struct mac_mls *mm) in mls_free() argument 147 if (mm != NULL) in mls_free() 148 uma_zfree(zone_mls, mm); in mls_free() 154 mls_atmostflags(struct mac_mls *mm, int flags) in mls_atmostflags() argument 157 if ((mm->mm_flags & flags) != mm->mm_flags) in mls_atmostflags() 276 mls_contains_equal(struct mac_mls *mm) in mls_contains_equal() argument 279 if (mm->mm_flags & MAC_MLS_FLAG_EFFECTIVE) in mls_contains_equal() 280 if (mm->mm_effective.mme_type == MAC_MLS_TYPE_EQUAL) in mls_contains_equal() 283 if (mm->mm_flags & MAC_MLS_FLAG_RANGE) { in mls_contains_equal() 284 if (mm->mm_rangelow.mme_type == MAC_MLS_TYPE_EQUAL) in mls_contains_equal() [all …]
|
/freebsd/contrib/unbound/compat/ |
H A D | getentropy_solaris.c | 330 struct mm { in getentropy_fallback() struct 333 } mm[] = { in getentropy_fallback() local 342 for (m = 0; m < sizeof mm/sizeof(mm[0]); m++) { in getentropy_fallback() 343 HX(mm[m].p = mmap(NULL, in getentropy_fallback() 344 mm[m].npg * pgs, in getentropy_fallback() 347 (off_t)0), mm[m].p); in getentropy_fallback() 348 if (mm[m].p != MAP_FAILED) { in getentropy_fallback() 352 p = mm[m].p; in getentropy_fallback() 354 (mm[m].npg * pgs - 1); in getentropy_fallback() 356 cnt += (int)((long)(mm[m].p) in getentropy_fallback() [all …]
|
/freebsd/contrib/ntp/html/ |
H A D | parsedata.html | 46 …<b><i><STX></i>D:<i>dd.mm.yy</i>;T:<i>w</i>;U:<i>hh.mm.ss</i>;<i>uvxy</i><i><ETX></i><… 51 <i>dd.mm.yy</i> = day of month, month, year of the century, separated by dots 53 <i>hh:mm:ss</i> = hour, minute, second, separated by dots 71 …<b><i><STX></i><i>dd.mm.yy</i>; <i>w</i>; <i>hh:mm:ss</i>; <i>tuvxyza</i><i><ETX></i><… 76 <i>dd.mm.yy</i> = day of month, month, year of the century, separated by dots 78 <i>hh:mm:ss</i> = hour, minute, second, separated by colons 93 …<b><i><STX></i><i>dd.mm.yy</i>; <i>w</i>; <i>hh:mm:ss</i>; <i>+uu:uu</i>; <i>uvxyzab</i>; <i… 98 <i>dd.mm.yy</i> = day of month, month, year of the century, separated by dots 100 <i>hh:mm:ss</i> = hour, minute, second, separated by colons 194 Bit 0: time in MEZ, 4 bytes *binary, not BCD*; hh.mm.ss.tenths [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/display/panel/ |
H A D | sgd,gktw70sdae4se.yaml | 35 width-mm: 38 height-mm: 50 - width-mm 51 - height-mm 59 width-mm = <153>; 60 height-mm = <86>;
|