Home
last modified time | relevance | path

Searched refs:sv (Results 1 – 10 of 10) sorted by relevance

/linux-2.4.37.9/arch/ia64/sn/kernel/
Dsv.c62 static inline void sv_lock(sv_t *sv) { in sv_lock() argument
63 spin_lock(&sv->sv_lock); in sv_lock()
66 static inline void sv_unlock(sv_t *sv) { in sv_unlock() argument
67 spin_unlock(&sv->sv_lock); in sv_unlock()
84 static inline void sv_set_mon_type(sv_t *sv, int type) { in sv_set_mon_type() argument
87 sv->sv_mon_unlock_func = in sv_set_mon_type()
91 sv->sv_mon_unlock_func = in sv_set_mon_type()
93 if(sv->sv_flags & SV_INTS) { in sv_set_mon_type()
99 if(sv->sv_flags & SV_BHS) { in sv_set_mon_type()
116 sv->sv_mon_unlock_func = c->sv_mon_unlock_func; in sv_set_mon_type()
[all …]
DMakefile48 sn_ivt.o sn2/sn2.o sv.o
/linux-2.4.37.9/include/asm-ia64/sn/
Dsv.h82 #define DECLARE_SYNC_VARIABLE(sv, l, f) sv_t sv = sv_init(&sv, l, f) argument
96 void sv_init(sv_t *sv, sv_mon_lock_t *monitor_lock, int flags);
112 extern signed long sv_wait(sv_t *sv, int sv_wait_flags,
115 static inline int sv_wait_compat(sv_t *sv, sv_mon_lock_t *lock, int sv_wait_flags, in sv_wait_compat() argument
118 ASSERT(sv_mon_type == (sv->sv_flags & SV_MON_MASK)); in sv_wait_compat()
119 if(sv->sv_mon_lock) in sv_wait_compat()
120 ASSERT(lock == sv->sv_mon_lock); in sv_wait_compat()
122 sv->sv_mon_lock = lock; in sv_wait_compat()
124 return sv_wait(sv, sv_wait_flags, timeout); in sv_wait_compat()
131 #define sv_spin_wait(sv, lock) \ argument
[all …]
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dsv.h56 static inline void _sv_wait(sv_t *sv, spinlock_t *lock, int state, in _sv_wait() argument
61 add_wait_queue_exclusive(&sv->waiters, &wait); in _sv_wait()
67 remove_wait_queue(&sv->waiters, &wait); in _sv_wait()
70 #define init_sv(sv,type,name,flag) \ argument
71 init_waitqueue_head(&(sv)->waiters)
72 #define sv_init(sv,flag,name) \ argument
73 init_waitqueue_head(&(sv)->waiters)
74 #define sv_destroy(sv) \ argument
76 #define sv_wait(sv, pri, lock, s) \ argument
77 _sv_wait(sv, lock, TASK_UNINTERRUPTIBLE, MAX_SCHEDULE_TIMEOUT)
[all …]
/linux-2.4.37.9/drivers/net/wan/
Dhostess_sv11.c213 struct sv11_device *sv; in sv11_init() local
226 sv=(struct sv11_device *)kmalloc(sizeof(struct sv11_device), GFP_KERNEL); in sv11_init()
227 if(!sv) in sv11_init()
230 memset(sv, 0, sizeof(*sv)); in sv11_init()
231 sv->if_ptr=&sv->netdev; in sv11_init()
233 sv->netdev.dev=(struct net_device *)kmalloc(sizeof(struct net_device), GFP_KERNEL); in sv11_init()
234 if(!sv->netdev.dev) in sv11_init()
237 dev=&sv->sync; in sv11_init()
264 dev->chanA.private=sv; in sv11_init()
265 dev->chanA.netdevice=sv->netdev.dev; in sv11_init()
[all …]
Dsealevel.c212 struct slvl_device *sv; in slvl_init() local
232 memset(b, 0, sizeof(*sv)); in slvl_init()
337 sv=&b->dev[u]; in slvl_init()
338 sv->channel = u; in slvl_init()
340 if(dev_alloc_name(sv->chan->netdevice,"hdlc%d")>=0) in slvl_init()
342 struct net_device *d=sv->chan->netdevice; in slvl_init()
347 sppp_attach(&sv->netdev); in slvl_init()
355 d->priv = sv; in slvl_init()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsetup.c561 u32 cl, sv, gw; in setup_arch() local
564 sv = prom_getintdefault (chosen, "server-ip", 0); in setup_arch()
566 if (cl && sv) { in setup_arch()
568 ic_servaddr = sv; in setup_arch()
/linux-2.4.37.9/fs/lockd/
Dhost.c29 #define NLM_HOST_ADDR(sv) (&(sv)->s_nlmclnt->cl_xprt->addr) argument
/linux-2.4.37.9/drivers/usb/
Dibmcam.c1485 unsigned short i, sv; in ibmcam_set_sharpness() local
1491 sv = sa[sharpness - SHARPNESS_MIN]; in ibmcam_set_sharpness()
1495 ibmcam_send_x_00_05_02 (uvd, sv); in ibmcam_set_sharpness()
1514 } sv[7] = { in ibmcam_set_sharpness() local
1526 ibmcam_model3_Packet1(uvd, 0x0060, sv[sharpness].sv1); in ibmcam_set_sharpness()
1527 ibmcam_model3_Packet1(uvd, 0x0061, sv[sharpness].sv2); in ibmcam_set_sharpness()
1528 ibmcam_model3_Packet1(uvd, 0x0062, sv[sharpness].sv3); in ibmcam_set_sharpness()
1529 ibmcam_model3_Packet1(uvd, 0x0063, sv[sharpness].sv4); in ibmcam_set_sharpness()
/linux-2.4.37.9/drivers/media/video/
Dzr36067.c2934 char sv[5]; in zoran_irq() local
2936 strcpy(sv, sc); in zoran_irq()
2941 sv[i] = in zoran_irq()
2944 sv[4] = 0; in zoran_irq()
2947 zr->name, sv, in zoran_irq()