Searched refs:lock_ops (Results 1 – 9 of 9) 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
688 control->lock_ops = &smu_v11_0_i2c_i2c_lock_ops; in smu_v11_0_i2c_eeprom_control_init()
3203 sdvo->i2c->lock_ops->lock_bus(sdvo->i2c, flags); in proxy_lock_bus()3210 return sdvo->i2c->lock_ops->trylock_bus(sdvo->i2c, flags); in proxy_trylock_bus()3217 sdvo->i2c->lock_ops->unlock_bus(sdvo->i2c, flags); in proxy_unlock_bus()3238 sdvo->ddc.lock_ops = &proxy_lock_ops; in intel_sdvo_init_ddc_proxy()
952 bus->adapter.lock_ops = &gmbus_lock_ops; in intel_gmbus_setup()
1030 aux->ddc.lock_ops = &drm_dp_i2c_lock_ops; in drm_dp_aux_init()