Searched refs:lock_ops (Results 1 – 6 of 6) sorted by relevance
107 static int lock_ops[] = { in myflock() local112 while ((status = flock(fd, lock_ops[operation])) < 0 in myflock()128 static int lock_ops[] = { in myflock() local133 lock.l_type = lock_ops[operation & ~MYFLOCK_OP_NOWAIT]; in myflock()
64 struct lock_ops { struct113 struct lock_ops sb_lock;114 struct lock_ops ilist_lock; /* disk ilist access. */115 struct lock_ops mem_lock; /* work memory allocation lock. */
68 static bool lock_init(struct lock_ops *);119 lock_init(struct lock_ops *ops) in lock_init()
149 if (adapter->lock_ops) in i2c_transfer()150 (*adapter->lock_ops->lock_bus)(adapter, 0); in i2c_transfer()152 if (adapter->lock_ops) in i2c_transfer()153 (*adapter->lock_ops->unlock_bus)(adapter, 0); in i2c_transfer()
94 const struct i2c_lock_operations *lock_ops; member
1030 aux->ddc.lock_ops = &drm_dp_i2c_lock_ops; in drm_dp_aux_init()