kern_alq.c (a163d034fadcfb4a25ca34a2ba5f491c47b6ff69) kern_alq.c (30fd5d085d0bd7cf70d1a3a818b0eda1dde3637d)
1/*
2 * Copyright (c) 2002, Jeffrey Roberson <jeff@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 414 unchanged lines hidden (view full) ---

423 tsleep(alq, PWAIT, "alqget", 0);
424 ALQ_LOCK(alq);
425 }
426
427 if (ale != NULL) {
428 aln = ale->ae_next;
429 if ((aln->ae_flags & AE_VALID) == 0)
430 alq->aq_entfree = aln;
1/*
2 * Copyright (c) 2002, Jeffrey Roberson <jeff@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 414 unchanged lines hidden (view full) ---

423 tsleep(alq, PWAIT, "alqget", 0);
424 ALQ_LOCK(alq);
425 }
426
427 if (ale != NULL) {
428 aln = ale->ae_next;
429 if ((aln->ae_flags & AE_VALID) == 0)
430 alq->aq_entfree = aln;
431 else
432 alq->aq_entfree = NULL;
431 } else
432 ALQ_UNLOCK(alq);
433
434
435 return (ale);
436}
437
438void

--- 65 unchanged lines hidden ---
433 } else
434 ALQ_UNLOCK(alq);
435
436
437 return (ale);
438}
439
440void

--- 65 unchanged lines hidden ---