FreeBSD/sys/dev/bxe/ecore_sp.c
/**
 * __ecore_vlan_mac_h_write_unlock - unlock the vlan mac head list writer lock
 *
 * @sc:			device handle
 * @o:			vlan_mac object
 *
 * @details Should be called under execution queue lock. Notice if a pending
 *          execution exists, it would perform it - possibly releasing and
 *          reclaiming the execution queue lock.
 */
unlock the vlan mac head list writer lock
@sc:                 device handle
@o:                  vlan_mac object

@details Should be called under execution queue lock. Notice if a pending
execution exists, it would perform it - possibly releasing and
reclaiming the execution queue lock.
unlock the vlan mac head list writer lock @sc : device handle @o : vlan_mac object @details Should be called under execution queue lock . Notice if a pending execution exists it would perform it - possibly releasing and reclaiming the execution queue lock .
static void __ecore_vlan_mac_h_write_unlock(struct bxe_softc *sc,
					    struct ecore_vlan_mac_obj *o)
{
	while(o->head_exe_request) {
		ECORE_MSG(sc, "vlan_mac_lock - writer release encountered a pending request\n");
		__ecore_vlan_mac_h_exec_pending(sc, o);
	}
}
static void __ecore_vlan_mac_h_write_unlock ( struct bxe_softc * sc , struct ecore_vlan_mac_obj * o ) { while ( o -> head_exe_request ) { ECORE_MSG ( sc , " \n " ) ; __ecore_vlan_mac_h_exec_pending ( sc , o ) ; } }
__ecore_vlan_mac_h_write_unlock - unlock the vlan mac head list writer lock
 @sc:                 device handle
 @o:                  vlan_mac object
__ecore_vlan_mac_h_write_unlock - unlock the vlan mac head list writer lock @sc : device handle @o : vlan_mac object
/* It's possible a new pending execution was added since this writer
	 * executed. If so, execute again. [Ad infinitum]
	 */