summaryrefslogtreecommitdiffstats
path: root/lib/libgeom
Commit message (Collapse)AuthorAgeFilesLines
* Remove stale link.jh2010-12-041-3/+1
| | | | PR: 151252
* Remove code duplication by introducing static gctl_param_add() function whichpjd2010-10-211-22/+14
| | | | is now used by both gctl_ro_param() and gctl_rw_param().
* - Simplify gctl_get_handle() a bit.pjd2010-10-211-5/+3
| | | | - Prefer 'unsigned int' over 'u_int' in userland code.
* Handle null return from XML_ParserCreate and fix a few memory leaks onemaste2010-10-051-4/+10
| | | | | | | error conditions. Submitted by: Mark Johnston <mjohnston at sandvine dot com> MFC after: 2 weeks
* Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki whilejoel2010-08-161-1/+1
| | | | | | translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
* Correct a typo (when we talk about offset, it shoulddelphij2010-01-171-1/+1
| | | | | | be offset, not size). Submitted by: pluknet at gmail com
* Expose stripe offset and stripe size through libgeom and geom(8) userlanddelphij2010-01-174-1/+55
| | | | | | utilities. Reviewed by: pjd, mav (earlier version)
* Add missing `void' keyword.ed2009-12-311-1/+1
|
* Add links to libgeom(3) where appropriate.trasz2009-05-191-0/+2
|
* - Update the libgeom manpage with a description of g_device_path andlulf2008-09-081-3/+26
| | | | | | g_providername utility functions. Approved by: kib (mentor)
* - Add a new ioctl for getting the provider name of a geom provider.lulf2008-09-072-13/+95
| | | | | | | | - Add a routine for looking up a device and checking if it is a valid geom provider given a partial or full path to its device node. Reviewed by: phk Approved by: pjd (mentor)
* Add sbuf_new_auto as a shortcut for the very common case of creating ades2008-08-091-1/+1
| | | | | | | completely dynamic sbuf. Obtained from: Varnish MFC after: 2 weeks
* - Simplify the procedure of retrieving XML-data from the kernel.lulf2008-07-083-26/+65
| | | | | | | | | | | | | - Fix a number of potential memory leaks in libgeom related to doing realloc without freeing old pointer if things go wrong. - Fix a number of places in libgeom where malloc and calloc return values were not checked. - Check malloc return value and provide sufficient warning messages when XML parsing fails. PR: kern/83464 Submitted by: Dan Lukes <dan - at - obluda.cz> Approved by: kib (mentor)
* Fix spelling.thompsa2008-06-131-1/+1
| | | | | PR: docs/124561 Submitted by: Sam Banks
* Use 'dowrite' as an argument name instead of too general 'write'.pjd2008-05-202-7/+7
|
* Remove parameter names from prototypes to avoid namespace issues.des2007-05-061-22/+22
|
* Implement and document some utility functions that can be used to communicatepjd2007-05-064-3/+360
| | | | | | with GEOM providers. OK'ed by: phk
* Second call of sysctl() is used to gather a proper size of a memory chunkwkoszek2007-05-011-1/+1
| | | | | | | | | | | needed to hold the GEOM tree. At this point, pointer 'p' has an improper value (as it was used previously), and we're getting EFAULT. Fix this functionality by passing NULL instead of 'p'. This fixes mdconfig(8) -l output with high number of md(4) devices. Found by: kris Reviewed by: phk
* Fix prototype.ru2005-11-241-1/+1
|
* Check for NULL pointer return.phk2005-05-241-0/+2
| | | | Spotted by: marcus
* Markup, grammar, punctuation.ru2004-07-011-30/+42
|
* Make libgeom usable by C++ programs:jhb2004-03-092-127/+140
| | | | | | | | | | - Add DECL wrappers to libgeom.h. - Rename structure members in libgeom.h to use a lg_ prefix for member names. This is required because a few structures had members named 'class' which made g++ very unhappy. - Catch gstat(8) and gconcat(8) up to these API changes. Reviewed by: phk
* String the consumers into the list of the provider they are attached to.phk2004-03-081-1/+5
| | | | Noticed by: jhb
* Add manpages for the gctl API.phk2004-03-072-4/+118
| | | | | Submitted by: le Tweaks by: phk
* style.Makefile(5)obrien2003-08-181-1/+1
|
* Stage 3 of dynamic root support. Make all the libraries needed to rungordon2003-08-171-0/+1
| | | | | | binaries in /bin and /sbin installed in /lib. Only the versioned files reside in /lib, the .so symlink continues to live /usr/lib so the toolchain doesn't need to be modified.
* Remove GCC-specific debugging option.markm2003-07-241-1/+1
| | | | OK'ed by: phk
* The .Fn functioncharnier2003-06-181-2/+4
|
* Add the part of the last commit which cvs appearantly didn't likephk2003-06-012-17/+4
| | | | the first time.
* Moved libgeom.so dependencies to where they belong.ru2003-05-171-0/+3
| | | | | Reviewed by: phk Approved by: re (scottl)
* Collapse the meta arguments into normal arguments, trying to distinguishphk2003-04-222-38/+1
| | | | just makes our own life harder.
* Run a revision on the OAM api.phk2003-03-272-93/+136
| | | | | | | Use prefix gctl_ systematically. Add flag with access perms for each argument. Add ro/rw versions of argument building functions. General cleanup.
* Add marshalling functions for OAM api.phk2003-03-233-1/+262
|
* Use devstat instead of GEOM private statistics structure.phk2003-03-182-8/+7
|
* Constify arg to geom_lookupid().phk2003-03-172-3/+3
| | | | Improve a diagnostic printf.
* mdoc(7) police: Scheduled sweep.ru2003-02-241-17/+36
|
* Add appropriate MLINKS for functions documented in libgeom.3phantom2003-02-131-0/+10
|
* Fix some mdoc issues: add .Nd to NAME section, use valid .Lb argument,phantom2003-02-131-15/+16
| | | | use .Fn there appropriate
* Leak more stuff into libgeom.phk2003-02-105-6/+582
|
* Lower WARNS to 3 until I track down a way to explain that I know whatphk2003-02-081-1/+1
| | | | I'm doing to sparc64's gcc
* Include <sys/time.h>, it's not the users problem that we use bintimephk2003-02-081-0/+1
| | | | internally.
* Add libgeom to the system.phk2003-02-084-0/+362
Initially this only contains the functions for accessing the I/O statistics data.
OpenPOWER on IntegriCloud