<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libcuse/cuse_lib.c, branch release/13.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Remove $FreeBSD$: one-line .c comment pattern</title>
<updated>2023-08-23T17:43:23+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8ad303d68cec3ee1133550de37e0009502621e50'/>
<id>8ad303d68cec3ee1133550de37e0009502621e50</id>
<content type='text'>
Remove /^/[*/]\s*\$FreeBSD\$.*\n/

Similar commit in main:
(cherry picked from commit 2a63c3be1582)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^/[*/]\s*\$FreeBSD\$.*\n/

Similar commit in main:
(cherry picked from commit 2a63c3be1582)
</pre>
</div>
</content>
</entry>
<entry>
<title>cuse(3): Allow allocating a memory buffer of exactly 2 GBytes.</title>
<updated>2022-07-27T09:33:58+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2022-07-18T15:13:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b95d9d3b863dd60d915371579bb9a1be98cecdac'/>
<id>b95d9d3b863dd60d915371579bb9a1be98cecdac</id>
<content type='text'>
The manual page date will be bumped separately.

Sponsored by:	NVIDIA Networking

(cherry picked from commit 58a8f6e9ecabba975f2cda8416bcc36c2073a7a8)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The manual page date will be bumped separately.

Sponsored by:	NVIDIA Networking

(cherry picked from commit 58a8f6e9ecabba975f2cda8416bcc36c2073a7a8)
</pre>
</div>
</content>
</entry>
<entry>
<title>cuse(3): Allow shared memory allocations up to, but excluding 2 GBytes.</title>
<updated>2022-07-27T09:33:53+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2022-07-13T16:17:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a96a9c689ec8207bd0a19a19b1d9b8aa0aef7a1a'/>
<id>a96a9c689ec8207bd0a19a19b1d9b8aa0aef7a1a</id>
<content type='text'>
Currently the cuse(3) mmap(2) offset is split into 128 banks of 16 Mbytes.
Allow cuse(3) to make allocations that span multiple banks at the expense
of any fragmentation issues that may arise. Typically mmap(2) buffers are
well below 16 Mbytes. This allows 8K video resolution to work using webcamd.

Reviewed by:	markj @
Differential Revision:	https://reviews.freebsd.org/D35830
Sponsored by:	NVIDIA Networking

(cherry picked from commit d14b53ee31ca06933a4f8ef2e48ce33cf3dd5ec9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the cuse(3) mmap(2) offset is split into 128 banks of 16 Mbytes.
Allow cuse(3) to make allocations that span multiple banks at the expense
of any fragmentation issues that may arise. Typically mmap(2) buffers are
well below 16 Mbytes. This allows 8K video resolution to work using webcamd.

Reviewed by:	markj @
Differential Revision:	https://reviews.freebsd.org/D35830
Sponsored by:	NVIDIA Networking

(cherry picked from commit d14b53ee31ca06933a4f8ef2e48ce33cf3dd5ec9)
</pre>
</div>
</content>
</entry>
<entry>
<title>cuse(3): Make cuse_vmfree() NULL safe.</title>
<updated>2022-07-27T09:33:51+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2022-07-13T15:54:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=412b95f77d9961babfc23b75190e60f86ff42225'/>
<id>412b95f77d9961babfc23b75190e60f86ff42225</id>
<content type='text'>
Sponsored by:	NVIDIA Networking

(cherry picked from commit 2ca43c3dba1b818db9245027c87fddfc9d4be0a6)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sponsored by:	NVIDIA Networking

(cherry picked from commit 2ca43c3dba1b818db9245027c87fddfc9d4be0a6)
</pre>
</div>
</content>
</entry>
<entry>
<title>cuse(3): Remove PAGE_SIZE from libcuse.</title>
<updated>2022-07-27T09:33:36+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2022-06-23T20:34:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cc876e9fa5d15aa07271cdf609946bf7c8c7fb9f'/>
<id>cc876e9fa5d15aa07271cdf609946bf7c8c7fb9f</id>
<content type='text'>
To allow for a dynamic page size on arm64 remove the static value from libcuse.

Differential Revision:	https://reviews.freebsd.org/D35585
Sponsored by:	NVIDIA Networking

(cherry picked from commit 2c28cd09d9f7ac266a8c7b283384712aba0af93a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To allow for a dynamic page size on arm64 remove the static value from libcuse.

Differential Revision:	https://reviews.freebsd.org/D35585
Sponsored by:	NVIDIA Networking

(cherry picked from commit 2c28cd09d9f7ac266a8c7b283384712aba0af93a)
</pre>
</div>
</content>
</entry>
<entry>
<title>libcuse: make more use of the howmany() macro when available.</title>
<updated>2016-04-26T01:20:16+00:00</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-26T01:20:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1c5fd754bd844d7cecf67e71108877bf8212656b'/>
<id>1c5fd754bd844d7cecf67e71108877bf8212656b</id>
<content type='text'>
We have a howmany() macro in the &lt;sys/param.h&gt; header that is
convenient to re-use as it makes things easier to read.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have a howmany() macro in the &lt;sys/param.h&gt; header that is
convenient to re-use as it makes things easier to read.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make CUSE usable with platforms where the size of "unsigned long" is</title>
<updated>2015-12-22T09:55:44+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2015-12-22T09:55:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=beebd9aac8cc15a48903247f29d9084901e33a92'/>
<id>beebd9aac8cc15a48903247f29d9084901e33a92</id>
<content type='text'>
different from the size of a pointer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
different from the size of a pointer.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compiler locking diagnostic warnings.</title>
<updated>2014-10-13T19:05:18+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2014-10-13T19:05:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fc6e35c65cd9d12b35c43020ada6bb6d3538e186'/>
<id>fc6e35c65cd9d12b35c43020ada6bb6d3538e186</id>
<content type='text'>
PR:	194289
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:	194289
</pre>
</div>
</content>
</entry>
<entry>
<title>Add lock annotations to libcuse.</title>
<updated>2014-09-01T19:56:28+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2014-09-01T19:56:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8da5129816a8821c034f7a3606d5df306304e86d'/>
<id>8da5129816a8821c034f7a3606d5df306304e86d</id>
<content type='text'>
- Add annotations to the lock/unlock function to indicate that the
  function is allowed to lock and unlock the underlying pthread mutex.

- Add __guarded_by() annotations to the global variables.

Approved by:	hselasky@
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add annotations to the lock/unlock function to indicate that the
  function is allowed to lock and unlock the underlying pthread mutex.

- Add __guarded_by() annotations to the global variables.

Approved by:	hselasky@
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix destruction of character devices by passing correct pointer to</title>
<updated>2014-06-16T14:02:14+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2014-06-16T14:02:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8958a2f0856cd959f3eef553769b25b2b72ce8f0'/>
<id>8958a2f0856cd959f3eef553769b25b2b72ce8f0</id>
<content type='text'>
kernel in IOCTL request.

Submitted by:	Andrey Zholos &lt;aaz@q-fu.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
kernel in IOCTL request.

Submitted by:	Andrey Zholos &lt;aaz@q-fu.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
