Symbol: freelist
sbin/restore/symtab.c
208
static struct entry *freelist = NULL;
sbin/restore/symtab.c
218
if (freelist != NULL) {
sbin/restore/symtab.c
219
np = freelist;
sbin/restore/symtab.c
220
freelist = np->e_next;
sbin/restore/symtab.c
297
ep->e_next = freelist;
sbin/restore/symtab.c
298
freelist = ep;
sbin/vinum/commands.c
1694
struct drive_freelist freelist;
sbin/vinum/commands.c
1726
if (ioctl(superdev, VINUM_GETFREELIST, &freeunion.freelist) < 0) {
sbin/vinum/commands.c
1733
bigchunk = bigchunk > freeunion.freelist.sectors ? bigchunk : freeunion.freelist.sectors; /* max it */
sbin/vinum/commands.c
1842
struct drive_freelist freelist;
sbin/vinum/commands.c
1874
if (ioctl(superdev, VINUM_GETFREELIST, &freeunion.freelist) < 0) {
sbin/vinum/commands.c
1881
bigchunk = bigchunk > freeunion.freelist.sectors ? bigchunk : freeunion.freelist.sectors; /* max it */
sbin/vinum/commands.c
1990
struct drive_freelist freelist;
sbin/vinum/commands.c
2022
if (ioctl(superdev, VINUM_GETFREELIST, &freeunion.freelist) < 0) {
sbin/vinum/commands.c
2029
bigchunk = bigchunk > freeunion.freelist.sectors ? bigchunk : freeunion.freelist.sectors; /* max it */
sbin/vinum/commands.c
2144
struct drive_freelist freelist;
sbin/vinum/commands.c
2185
if (ioctl(superdev, VINUM_GETFREELIST, &freeunion.freelist) < 0) {
sbin/vinum/commands.c
2192
bigchunk = bigchunk > freeunion.freelist.sectors ? bigchunk : freeunion.freelist.sectors; /* max it */
sbin/vinum/list.c
190
struct drive_freelist freelist;
sbin/vinum/list.c
202
if (ioctl(superdev, VINUM_GETFREELIST, &freeunion.freelist) < 0) {
sbin/vinum/list.c
210
(long long) freeunion.freelist.offset,
sbin/vinum/list.c
211
(long long) freeunion.freelist.sectors);
sys/dev/raid/hpt27xx/him.h
404
struct freelist *grplist;
sys/dev/raid/hpt27xx/hpt27xx_os_bsd.c
141
void freelist_reserve(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT count)
sys/dev/raid/hpt27xx/hpt27xx_os_bsd.c
159
void *freelist_get(struct freelist *list)
sys/dev/raid/hpt27xx/hpt27xx_os_bsd.c
172
void freelist_put(struct freelist * list, void *p)
sys/dev/raid/hpt27xx/hpt27xx_os_bsd.c
180
void freelist_reserve_dma(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT alignment, HPT_UINT count)
sys/dev/raid/hpt27xx/hpt27xx_os_bsd.c
199
void *freelist_get_dma(struct freelist *list, BUS_ADDRESS *busaddr)
sys/dev/raid/hpt27xx/hpt27xx_os_bsd.c
209
void freelist_put_dma(struct freelist *list, void *p, BUS_ADDRESS busaddr)
sys/dev/raid/hpt27xx/hpt27xx_osm_bsd.c
139
struct freelist *f;
sys/dev/raid/hpt27xx/hpt27xx_osm_bsd.c
196
struct freelist *f;
sys/dev/raid/hpt27xx/ldm.h
199
struct freelist freelist_dev;
sys/dev/raid/hpt27xx/ldm.h
201
struct freelist freelist_plugged_dpc;
sys/dev/raid/hpt27xx/ldm.h
458
PCOMMAND ldm_alloc_cmds_from_list(PVBUS vbus, struct freelist *list, HPT_UINT cnt);
sys/dev/raid/hpt27xx/ldm.h
459
void ldm_free_cmds_to_list(struct freelist *list, PCOMMAND cmd);
sys/dev/raid/hpt27xx/ldm.h
462
PCOMMAND __ldm_alloc_cmd(struct freelist *list);
sys/dev/raid/hpt27xx/ldm.h
79
struct freelist *next;
sys/dev/raid/hpt27xx/ldm.h
90
void freelist_reserve(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT count);
sys/dev/raid/hpt27xx/ldm.h
92
void *freelist_get(struct freelist *);
sys/dev/raid/hpt27xx/ldm.h
93
void freelist_put(struct freelist *, void *p);
sys/dev/raid/hpt27xx/ldm.h
95
void freelist_reserve_dma(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT alignment, HPT_UINT count);
sys/dev/raid/hpt27xx/ldm.h
96
void *freelist_get_dma(struct freelist *, BUS_ADDRESS *busaddr);
sys/dev/raid/hpt27xx/ldm.h
97
void freelist_put_dma(struct freelist *, void *p, BUS_ADDRESS busaddr);
sys/dev/raid/hpt27xx/os_bsd.h
163
struct freelist *freelist_head;
sys/dev/raid/hpt27xx/os_bsd.h
164
struct freelist *freelist_dma_head;
sys/dev/raid/hptrr/him.h
365
struct freelist *grplist;
sys/dev/raid/hptrr/hptrr_os_bsd.c
123
void freelist_reserve(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT count)
sys/dev/raid/hptrr/hptrr_os_bsd.c
141
void *freelist_get(struct freelist *list)
sys/dev/raid/hptrr/hptrr_os_bsd.c
154
void freelist_put(struct freelist * list, void *p)
sys/dev/raid/hptrr/hptrr_os_bsd.c
162
void freelist_reserve_dma(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT alignment, HPT_UINT count)
sys/dev/raid/hptrr/hptrr_os_bsd.c
181
void *freelist_get_dma(struct freelist *list, BUS_ADDRESS *busaddr)
sys/dev/raid/hptrr/hptrr_os_bsd.c
191
void freelist_put_dma(struct freelist *list, void *p, BUS_ADDRESS busaddr)
sys/dev/raid/hptrr/hptrr_osm_bsd.c
154
struct freelist *f;
sys/dev/raid/hptrr/hptrr_osm_bsd.c
212
struct freelist *f;
sys/dev/raid/hptrr/ldm.h
194
struct freelist freelist_dev;
sys/dev/raid/hptrr/ldm.h
195
struct freelist freelist_plugged_dpc;
sys/dev/raid/hptrr/ldm.h
453
PCOMMAND ldm_alloc_cmds_from_list(PVBUS vbus, struct freelist *list, HPT_UINT cnt);
sys/dev/raid/hptrr/ldm.h
454
void ldm_free_cmds_to_list(struct freelist *list, PCOMMAND cmd);
sys/dev/raid/hptrr/ldm.h
457
PCOMMAND __ldm_alloc_cmd(struct freelist *list);
sys/dev/raid/hptrr/ldm.h
74
struct freelist *next;
sys/dev/raid/hptrr/ldm.h
85
void freelist_reserve(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT count);
sys/dev/raid/hptrr/ldm.h
87
void *freelist_get(struct freelist *);
sys/dev/raid/hptrr/ldm.h
88
void freelist_put(struct freelist *, void *p);
sys/dev/raid/hptrr/ldm.h
90
void freelist_reserve_dma(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT alignment, HPT_UINT count);
sys/dev/raid/hptrr/ldm.h
91
void *freelist_get_dma(struct freelist *, BUS_ADDRESS *busaddr);
sys/dev/raid/hptrr/ldm.h
92
void freelist_put_dma(struct freelist *, void *p, BUS_ADDRESS busaddr);
sys/dev/raid/hptrr/os_bsd.h
165
struct freelist *freelist_head;
sys/dev/raid/hptrr/os_bsd.h
166
struct freelist *freelist_dma_head;
sys/dev/raid/vinum/vinumconfig.c
335
if (drive->freelist[fe].sectors >= sd->sectors) { /* more space here */
sys/dev/raid/vinum/vinumconfig.c
336
sd->sectors = drive->freelist[fe].sectors; /* take it */
sys/dev/raid/vinum/vinumconfig.c
337
sd->driveoffset = drive->freelist[fe].offset;
sys/dev/raid/vinum/vinumconfig.c
350
bcopy(&drive->freelist[sfe + 1],
sys/dev/raid/vinum/vinumconfig.c
351
&drive->freelist[sfe],
sys/dev/raid/vinum/vinumconfig.c
357
if (drive->freelist[fe].sectors >= sd->sectors) { /* it'll fit here */
sys/dev/raid/vinum/vinumconfig.c
358
sd->driveoffset = drive->freelist[fe].offset;
sys/dev/raid/vinum/vinumconfig.c
359
if (sd->sectors == drive->freelist[fe].sectors) { /* used up the entire entry */
sys/dev/raid/vinum/vinumconfig.c
361
bcopy(&drive->freelist[fe + 1],
sys/dev/raid/vinum/vinumconfig.c
362
&drive->freelist[fe],
sys/dev/raid/vinum/vinumconfig.c
366
drive->freelist[fe].sectors -= sd->sectors; /* this much less space */
sys/dev/raid/vinum/vinumconfig.c
367
drive->freelist[fe].offset += sd->sectors; /* this much further on */
sys/dev/raid/vinum/vinumconfig.c
389
u_int64_t dend = drive->freelist[fe].offset + drive->freelist[fe].sectors; /* end of entry */
sys/dev/raid/vinum/vinumconfig.c
391
if (drive->freelist[fe].offset > sd->driveoffset) { /* starts after the beginning of sd area */
sys/dev/raid/vinum/vinumconfig.c
418
if (sd->driveoffset == drive->freelist[fe].offset) { /* 1 or 2 */
sys/dev/raid/vinum/vinumconfig.c
419
if (sd->sectors == drive->freelist[fe].sectors) { /* 1: used up the entire entry */
sys/dev/raid/vinum/vinumconfig.c
421
bcopy(&drive->freelist[fe + 1],
sys/dev/raid/vinum/vinumconfig.c
422
&drive->freelist[fe],
sys/dev/raid/vinum/vinumconfig.c
426
drive->freelist[fe].sectors -= sd->sectors; /* this much less space */
sys/dev/raid/vinum/vinumconfig.c
427
drive->freelist[fe].offset += sd->sectors; /* this much further on */
sys/dev/raid/vinum/vinumconfig.c
430
drive->freelist[fe].sectors = sd->driveoffset - drive->freelist[fe].offset;
sys/dev/raid/vinum/vinumconfig.c
433
bcopy(&drive->freelist[fe], /* move the rest down */
sys/dev/raid/vinum/vinumconfig.c
434
&drive->freelist[fe + 1],
sys/dev/raid/vinum/vinumconfig.c
437
drive->freelist[fe + 1].offset = sdend; /* second entry starts after sd */
sys/dev/raid/vinum/vinumconfig.c
438
drive->freelist[fe + 1].sectors = dend - sdend; /* and is this long */
sys/dev/raid/vinum/vinumconfig.c
581
if (drive->freelist)
sys/dev/raid/vinum/vinumconfig.c
582
Free(drive->freelist);
sys/dev/raid/vinum/vinumconfig.c
632
(fe < drive->freelist_entries) && (drive->freelist[fe].offset < offset);
sys/dev/raid/vinum/vinumconfig.c
640
||(drive->freelist[fe].offset > offset))) /* or past the block were looking for */
sys/dev/raid/vinum/vinumconfig.c
642
dend = drive->freelist[fe].offset + drive->freelist[fe].sectors; /* end of the entry */
sys/dev/raid/vinum/vinumconfig.c
677
&&(sdend == drive->freelist[fe + 1].offset)) {
sys/dev/raid/vinum/vinumconfig.c
678
drive->freelist[fe].sectors /* 1a: merge all three blocks */
sys/dev/raid/vinum/vinumconfig.c
679
= drive->freelist[fe + 1].sectors;
sys/dev/raid/vinum/vinumconfig.c
681
bcopy(&drive->freelist[fe + 2], /* move down one */
sys/dev/raid/vinum/vinumconfig.c
682
&drive->freelist[fe + 1],
sys/dev/raid/vinum/vinumconfig.c
687
drive->freelist[fe].sectors += length;
sys/dev/raid/vinum/vinumconfig.c
693
&&(sdend == drive->freelist[fe].offset)) {
sys/dev/raid/vinum/vinumconfig.c
694
drive->freelist[fe].offset = offset; /* it starts where the sd was */
sys/dev/raid/vinum/vinumconfig.c
695
drive->freelist[fe].sectors += length; /* and it's this much bigger */
sys/dev/raid/vinum/vinumconfig.c
698
bcopy(&drive->freelist[fe], /* move the rest up one entry */
sys/dev/raid/vinum/vinumconfig.c
699
&drive->freelist[fe + 1],
sys/dev/raid/vinum/vinumconfig.c
703
drive->freelist[fe].offset = offset; /* this entry represents the sd */
sys/dev/raid/vinum/vinumconfig.c
704
drive->freelist[fe].sectors = length;
sys/dev/raid/vinum/vinumio.c
144
drive->freelist = (struct drive_freelist *)
sys/dev/raid/vinum/vinumio.c
146
if (drive->freelist == NULL) /* can't malloc, dammit */
sys/dev/raid/vinum/vinumio.c
149
drive->freelist[0].offset = DATASTART; /* starts here */
sys/dev/raid/vinum/vinumio.c
150
drive->freelist[0].sectors = (drive->label.drive_size >> DEV_BSHIFT) - DATASTART; /* and it's this long */
sys/dev/raid/vinum/vinumioctl.c
267
bcopy(&DRIVE[index].freelist[fe], data,
sys/dev/raid/vinum/vinumvar.h
469
} *freelist;
sys/kern/kern_timeout.c
140
struct colist freelist;
sys/kern/kern_timeout.c
366
TAILQ_INSERT_TAIL(&sc->freelist, c, entry);
sys/kern/kern_timeout.c
403
TAILQ_INIT(&sc->freelist);
sys/kern/kern_timeout.c
659
while ((c = TAILQ_FIRST(&sc->freelist)) != NULL) {
sys/kern/kern_timeout.c
662
TAILQ_REMOVE(&sc->freelist, c, entry);