Home
last modified time | relevance | path

Searched +full:mm +full:- +full:0 (Results 1 – 25 of 723) sorted by relevance

12345678910>>...29

/freebsd/sys/dev/drm2/
H A Ddrm_mm.c20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
36 * unordered stack of free regions. This could easily be improved if an RB-tree
42 * Thomas Hellström <thomas-at-tungstengraphics-dot-com>
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()
64 list_del(&child->node_list); in drm_mm_kmalloc()
65 --mm->num_unused; in drm_mm_kmalloc()
67 mtx_unlock(&mm->unused_lock); in drm_mm_kmalloc()
[all …]
H A Ddrm_mm.h3 * Copyright 2006-2008 Tungsten Graphics, Inc., Cedar Park, TX. USA.
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
30 * Thomas Hellstrom <thomas-at-tungstengraphics-dot-com>
54 struct drm_mm *mm; member
83 return node->allocated; in drm_mm_node_allocated()
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
[all …]
H A Ddrm_gem.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
57 #define DRM_FILE_PAGE_OFFSET_START ((0xFFFFFFFFUL >> PAGE_SHIFT) + 1)
58 #define DRM_FILE_PAGE_OFFSET_SIZE ((0xFFFFFFFFUL >> PAGE_SHIFT) * 16)
60 #define DRM_FILE_PAGE_OFFSET_START ((0xFFFFFFFUL >> PAGE_SHIFT) + 1)
61 #define DRM_FILE_PAGE_OFFSET_SIZE ((0xFFFFFFFUL >> PAGE_SHIFT) * 16)
71 struct drm_gem_mm *mm; in drm_gem_init() local
73 drm_gem_names_init(&dev->object_names); in drm_gem_init()
75 mm = malloc(sizeof(*mm), DRM_MEM_DRIVER, M_NOWAIT); in drm_gem_init()
76 if (!mm) { in drm_gem_init()
[all …]
/freebsd/contrib/bsddialog/lib/
H A Ddatebox.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2022-2024 Alfonso Sabato Siciliano
37 #define MIN_YEAR_CAL 0
42 #define MIN_YEAR_DATE 0
46 #define ISLEAP(year) ((year % 4 == 0 && year % 100 != 0) || yea
87 month_days(int yy,int mm) month_days() argument
101 week_day(int yy,int mm,int dd) week_day() argument
114 init_date(unsigned int * year,unsigned int * month,unsigned int * day,int * yy,int * mm,int * dd) 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/contrib/openzfs/module/zfs/
H A Dvdev_mirror.c9 * or https://opensource.org/licenses/CDDL-1.0.
83 mirror_ksp = kstat_create("zfs", 0, "vdev_mirror_stats", in vdev_mirror_stat_init()
87 mirror_ksp->ks_data = &mirror_stats; in vdev_mirror_stat_init()
132 * If there is a mixture of rotating and non-rotating media, setting
133 * zfs_vdev_mirror_non_rotating_seek_inc to 0 may well provide better results
134 * as it will direct more reads to the non-rotating vdevs which are more likely
139 static int zfs_vdev_mirror_rotating_inc = 0;
143 /* Non-rotating media load calculation configuration. */
144 static int zfs_vdev_mirror_non_rotating_inc = 0;
157 mirror_map_t *mm; in vdev_mirror_map_alloc() local
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_current.c1 /*-
36 #include <linux/mm.h>
61 struct mm_struct *mm; in find_other_mm() local
65 ts = td->td_lkpi_task; in find_other_mm()
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
85 MPASS(td->td_lkpi_task == NULL); in linux_alloc_current()
[all …]
/freebsd/sys/dev/vmm/
H A Dvmm_mem.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
31 sx_init(&mem->mem_segs_lock, "vm_mem_segs"); in vm_mem_init()
37 if (mem->mem_maps[idx].len != 0 && in sysmem_mapping()
38 mem->mem_segs[mem->mem_maps[idx].segid].sysmem) in sysmem_mapping()
52 if (ident < 0 || ident >= VM_MAX_MEMSEGS) in vm_memseg_sysmem()
55 return (mem->mem_segs[ident].sysmem); in vm_memseg_sysmem()
73 for (int i = 0; i < VM_MAX_MEMMAPS; i++) { in vm_mem_cleanup()
87 for (int i = 0; i < VM_MAX_MEMMAPS; i++) { in vm_mem_destroy()
92 for (int i = 0; i < VM_MAX_MEMSEGS; i++) in vm_mem_destroy()
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_umem.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0
18 * - Redistributions of source code must retain the above
22 * - Redistributions in binary form must reproduce the above
40 #include <linux/mm.h>
41 #include <linux/dma-mapping.h>
57 if (umem->nmap > 0) in __ib_umem_release()
58 ib_dma_unmap_sg(dev, umem->sg_head.sgl, in __ib_umem_release()
59 umem->nmap, in __ib_umem_release()
62 for_each_sg(umem->sg_head.sgl, sg, umem->npages, i) { in __ib_umem_release()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/soc/mediatek/
H A Dscpsys.txt11 power/power-domain.yaml. It provides the power domains defined in
12 - include/dt-bindings/power/mt8173-power.h
13 - include/dt-bindings/power/mt6797-power.h
14 - include/dt-bindings/power/mt6765-power.h
15 - include/dt-bindings/power/mt2701-power.h
16 - include/dt-bindings/power/mt2712-power.h
17 - include/dt-bindings/power/mt7622-power.h
20 - compatible: Should be one of:
21 - "mediatek,mt2701-scpsys"
22 - "mediatek,mt2712-scpsys"
[all …]
/freebsd/contrib/ntp/scripts/stats/
H A DREADME.timecodes11 C on-time character (start bit)
17 <LF> ASCII line feed (hex 0a)
18 <CR> ASCII carriage return (hex 0d)
33 Spectracom 8170 and Netclock/2 WWV Synchonized Clock (format 0)
35 "<CR><LF>i ddd hh:mm:ss TZ=zz<CR><LF>"
38 poll: ?; offsets: Y = none, D = 3, T = 7, A = 0, Q = none
41 hh:mm:ss = hours, minutes, seconds
48 example: " 216 15:36:43 TZ=0"
53 "<CR><LF>iqyy ddd hh:mm:ss.fff ld"
56 poll: ?; offsets: Y = 2, D = 5, T = 9, A = 0, Q = 1
[all …]
/freebsd/contrib/kyua/integration/
H A Dcmd_report_junit_test.sh48 atf_check -s exit:0 -o save:stdout -e empty env MOCK="${mock_env}" kyua test
49 grep '^Results saved to ' stdout | cut -d ' ' -f 4 >"${dbfile_name}"
52 # Ensure the results of 'report-junit' come from the database.
59 BEGIN { skip = 0; }
63 skip = 0;
86 <?xml version="1.0" encoding="iso-8859-1"?>
92 <system-out>This is the stdout of pass
93 </system-out>
94 <system-err>Test case metadata
95 ------------------
[all …]
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/
H A Dhycon,hy46xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 Glass: 0.3mm--4.0mm
12 PET/PMMA: 0.2mm--2.0mm
13 HY4613(B)-N048 < 6"
14 HY4614(B)-N068 7" .. 10.1"
15 HY4621-NS32 < 5"
16 HY4623-NS48 5.1" .. 7"
17 Glass: 0.3mm--8.0mm
[all …]
H A Dtouchscreen.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
20 touchscreen-min-
[all...]
/freebsd/sys/dev/drm2/ttm/
H A Dttm_bo_manager.c3 * Copyright (c) 2007-2010 VMware, Inc., Palo Alto, CA., USA
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
28 * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
45 struct drm_mm mm; member
56 struct ttm_range_manager *rman = (struct ttm_range_manager *) man->priv; in ttm_bo_man_get_node()
57 struct drm_mm *mm = &rman->mm; in ttm_bo_man_get_node() local
62 lpfn = placement->lpfn; in ttm_bo_man_get_node()
64 lpfn = man->size; in ttm_bo_man_get_node()
66 ret = drm_mm_pre_get(mm); in ttm_bo_man_get_node()
70 mtx_lock(&rman->lock); in ttm_bo_man_get_node()
[all …]
/freebsd/sys/security/mac_mls/
H A Dmac_mls.c1 /*-
2 * Copyright (c) 1999-2002, 2007-2011 Robert N. M. Watson
3 * Copyright (c) 2001-2005 McAfee, Inc.
11 * DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA
15 * N66001-04-C-6019 ("SEFOS").
93 CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
98 &mls_label_size, 0, "Size of struct mac_mls");
101 SYSCTL_INT(_security_mac_mls, OID_AUTO, enabled, CTLFLAG_RWTUN, &mls_enabled, 0,
106 &destroyed_not_inited, 0, "Count of labels destroyed but not inited");
108 static int ptys_equal = 0;
[all …]
/freebsd/contrib/unbound/compat/
H A Dgetentropy_solaris.c66 } while (0)
85 int ret = -1; in getentropy()
89 return -1; in getentropy()
96 * /devices/pseudo/random@0:urandom which is provided by in getentropy()
104 "/devices/pseudo/random@0:urandom", 1); in getentropy()
105 if (ret != -1) in getentropy()
110 * with direct device node of the well-known /dev/urandom name in getentropy()
116 ret = getentropy_urandom(buf, len, "/dev/urandom", 0); in getentropy()
117 if (ret != -1) in getentropy()
128 * - Even syslog_r is unsafe to call at this low level, so in getentropy()
[all …]
H A Dgetentropy_osx.c77 } while (0)
91 int ret = -1; in getentropy()
95 return (-1); in getentropy()
105 if (ret != -1) in getentropy()
116 * - Even syslog_r is unsafe to call at this low level, so in getentropy()
118 * - Cannot call abort() because some systems have unsafe in getentropy()
120 * - Could raise(SIGKILL) resulting in silent program termination. in getentropy()
121 * - Return EIO, to hint that arc4random's stir function in getentropy()
123 * - Do the best under the circumstances.... in getentropy()
137 if (ret != -1) in getentropy()
[all …]
H A Dgetentropy_linux.c82 } while (0)
103 int ret = -1; in getentropy()
107 return (-1); in getentropy()
112 * Try descriptor-less getrandom(), in non-blocking mode. in getentropy()
120 if (ret != -1) in getentropy()
131 if (ret != -1) in getentropy()
144 * of the chroot-unavailable fd-using /proc mechanism -- in getentropy()
154 if (ret != -1) in getentropy()
165 * - Even syslog_r is unsafe to call at this low level, so in getentropy()
167 * - Cannot call abort() because some systems have unsafe in getentropy()
[all …]
/freebsd/contrib/ntp/html/
H A Dparsedata.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
6 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
16 <!-- #BeginDate format:En2m -->21-Oct-2010 23:44<!-- #EndDate -->
33 OFLAG 0
34 LFLAG 0
40 OFLAG 0
41 LFLAG 0
46 …<b><i>&lt;STX&gt;</i>D:<i>dd.mm.yy</i>;T:<i>w</i>;U:<i>hh.mm.ss</i>;<i>uvxy</i><i>&lt;ETX&gt;</i><…
47 pos: 0 000000001111111111222222222233 3
50 <i>&lt;STX&gt;</i> = start-of-text, ASCII code 0x02
[all …]
/freebsd/usr.bin/at/
H A Dat.man23 .Ar MM DD hh mm Op . Ar SS
57 .Bl -tag -width indent
80 .Ar HH:MM
89 and time-of-day may be suffixed with
96 .Ar \%month-name day
100 .Ar DD.MM.YYYY ,
101 .Ar DD.MM.YY ,
102 .Ar MM/DD/YYYY ,
103 .Ar MM/DD/YY ,
111 .Cm \&+ Ar count \%time-units ,
[all …]
/freebsd/sys/contrib/dev/acpica/components/executer/
H A Dexregion.c3 * Module Name: exregion - ACPI default OpRegion (address space) handlers
11 * Some or all of this work - Copyright (c) 1999 - 2024, Intel Corp.
28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
104 * re-exports any such software from a foreign destination, Licensee shall
105 * ensure that the distribution and export/re-export of the software is in
108 * any of its subsidiaries will export/re-export any technical data, process,
130 * 3. Neither the names of the above-listed copyright holders nor the names
165 * PARAMETERS: Function - Read or Write operation
166 * Address - Where in the space to read or write
167 * BitWidth - Field width in bits (8, 16, or 32)
[all …]
/freebsd/sys/contrib/device-tree/Bindings/display/panel/
H A Dsamsung,s6e8aa0.txt4 - compatible: "samsung,s6e8aa0"
5 - reg: the virtual channel number of a DSI peripheral
6 - vdd3-supply: core voltage supply
7 - vci-supply: voltage supply for analog circuits
8 - reset-gpios: a GPIO spec for the reset pin
9 - display-timings: timings for the connected panel as described by [1]
12 - power-on-delay: delay after turning regulators on [ms]
13 - reset-delay: delay after reset sequence [ms]
14 - init-delay: delay after initialization sequence [ms]
15 - panel-width-mm: physical panel width [mm]
[all …]
H A Dsamsung,ld9040.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andrzej Hajda <a.hajda@samsung.com>
13 - $ref: panel-common.yaml#
14 - $ref: /schemas/spi/spi-peripheral-props.yaml#
23 display-timings: true
25 reset-gpios: true
27 vdd3-supply:
30 vci-supply:
[all …]
H A Dsamsung,s6e8aa0.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andrzej Hajda <a.hajda@samsung.com>
13 - $ref: panel-common.yaml#
22 reset-gpios: true
23 display-timings: true
25 vdd3-supply:
28 vci-supply:
31 power-on-delay:
[all …]
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dprovider.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2009-2013, 2016 Chelsio, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
56 return -ENOSYS; in c4iw_modify_port()
63 return -ENOSYS; in c4iw_ah_create()
72 return -ENOSYS; in c4iw_multicast_attach()
77 return -ENOSYS; in c4iw_multicast_detach()
90 return -ENOSYS; in c4iw_process_mad()
[all …]

12345678910>>...29