Home
last modified time | relevance | path

Searched refs:mut (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dbtree_update.h218 struct bkey_i *mut; in __bch2_bkey_make_mut_noupdate() local
224 mut = bch2_trans_kmalloc_nomemzero(trans, bytes + 8); in __bch2_bkey_make_mut_noupdate()
225 if (!IS_ERR(mut)) { in __bch2_bkey_make_mut_noupdate()
226 bkey_reassemble(mut, k); in __bch2_bkey_make_mut_noupdate()
229 memset((void *) mut + bkey_bytes(k.k), 0, in __bch2_bkey_make_mut_noupdate()
231 mut->k.u64s = DIV_ROUND_UP(bytes, sizeof(u64)); in __bch2_bkey_make_mut_noupdate()
234 return mut; in __bch2_bkey_make_mut_noupdate()
250 struct bkey_i *mut = __bch2_bkey_make_mut_noupdate(trans, *k, type, min_bytes); in __bch2_bkey_make_mut() local
253 if (IS_ERR(mut)) in __bch2_bkey_make_mut()
254 return mut; in __bch2_bkey_make_mut()
[all …]
/linux-6.12.1/drivers/comedi/drivers/
Dusbduxsigma.c166 struct mutex mut; member
192 mutex_lock(&devpriv->mut); in usbduxsigma_ai_cancel()
195 mutex_unlock(&devpriv->mut); in usbduxsigma_ai_cancel()
318 mutex_lock(&devpriv->mut); in usbduxsigma_ao_cancel()
321 mutex_unlock(&devpriv->mut); in usbduxsigma_ao_cancel()
602 mutex_lock(&devpriv->mut); in usbduxsigma_ai_inttrig()
609 mutex_unlock(&devpriv->mut); in usbduxsigma_ai_inttrig()
614 mutex_unlock(&devpriv->mut); in usbduxsigma_ai_inttrig()
631 mutex_lock(&devpriv->mut); in usbduxsigma_ai_cmd()
666 mutex_unlock(&devpriv->mut); in usbduxsigma_ai_cmd()
[all …]
Dusbduxfast.c155 struct mutex mut; member
216 mutex_lock(&devpriv->mut); in usbduxfast_ai_cancel()
218 mutex_unlock(&devpriv->mut); in usbduxfast_ai_cancel()
445 mutex_lock(&devpriv->mut); in usbduxfast_ai_inttrig()
453 mutex_unlock(&devpriv->mut); in usbduxfast_ai_inttrig()
460 mutex_unlock(&devpriv->mut); in usbduxfast_ai_inttrig()
473 mutex_lock(&devpriv->mut); in usbduxfast_ai_cmd()
752 mutex_unlock(&devpriv->mut); in usbduxfast_ai_cmd()
773 mutex_lock(&devpriv->mut); in usbduxfast_ai_insn_read()
778 mutex_unlock(&devpriv->mut); in usbduxfast_ai_insn_read()
[all …]
Dusbdux.c203 struct mutex mut; member
230 mutex_lock(&devpriv->mut); in usbdux_ai_cancel()
233 mutex_unlock(&devpriv->mut); in usbdux_ai_cancel()
358 mutex_lock(&devpriv->mut); in usbdux_ao_cancel()
361 mutex_unlock(&devpriv->mut); in usbdux_ao_cancel()
639 mutex_lock(&devpriv->mut); in usbdux_ai_inttrig()
655 mutex_unlock(&devpriv->mut); in usbdux_ai_inttrig()
668 mutex_lock(&devpriv->mut); in usbdux_ai_cmd()
729 mutex_unlock(&devpriv->mut); in usbdux_ai_cmd()
747 mutex_lock(&devpriv->mut); in usbdux_ai_insn_read()
[all …]
Ddt9812.c227 struct mutex mut; member
385 mutex_lock(&devpriv->mut); in dt9812_digital_in()
395 mutex_unlock(&devpriv->mut); in dt9812_digital_in()
407 mutex_lock(&devpriv->mut); in dt9812_digital_out()
409 mutex_unlock(&devpriv->mut); in dt9812_digital_out()
494 mutex_lock(&devpriv->mut); in dt9812_analog_in()
543 mutex_unlock(&devpriv->mut); in dt9812_analog_in()
554 mutex_lock(&devpriv->mut); in dt9812_analog_out()
593 mutex_unlock(&devpriv->mut); in dt9812_analog_out()
656 mutex_lock(&devpriv->mut); in dt9812_ao_insn_read()
[all …]
Dni_usb6501.c163 struct mutex mut; member
180 mutex_lock(&devpriv->mut); in ni6501_port_command()
245 mutex_unlock(&devpriv->mut); in ni6501_port_command()
262 mutex_lock(&devpriv->mut); in ni6501_counter_command()
335 mutex_unlock(&devpriv->mut); in ni6501_counter_command()
528 mutex_init(&devpriv->mut); in ni6501_auto_attach()
574 mutex_destroy(&devpriv->mut); in ni6501_detach()
/linux-6.12.1/drivers/usb/class/
Dusblp.c134 struct mutex mut; member
368 mutex_lock(&usblp->mut); in usblp_check_status()
370 mutex_unlock(&usblp->mut); in usblp_check_status()
377 mutex_unlock(&usblp->mut); in usblp_check_status()
505 mutex_lock(&usblp->mut); in usblp_poll()
508 mutex_unlock(&usblp->mut); in usblp_poll()
528 mutex_lock(&usblp->mut); in usblp_ioctl()
715 mutex_unlock(&usblp->mut); in usblp_ioctl()
885 mutex_unlock(&usblp->mut); in usblp_read()
908 if (mutex_lock_interruptible(&usblp->mut)) { in usblp_wwait()
[all …]
/linux-6.12.1/drivers/infiniband/core/
Ducma.c77 struct mutex mut; member
224 lockdep_assert_held(&ctx->file->mut); in ucma_finish_ctx()
317 mutex_lock(&ctx->file->mut); in ucma_connect_event_handler()
320 mutex_unlock(&ctx->file->mut); in ucma_connect_event_handler()
353 mutex_lock(&ctx->file->mut); in ucma_event_handler()
355 mutex_unlock(&ctx->file->mut); in ucma_event_handler()
385 mutex_lock(&file->mut); in ucma_get_event()
387 mutex_unlock(&file->mut); in ucma_get_event()
396 mutex_lock(&file->mut); in ucma_get_event()
404 mutex_unlock(&file->mut); in ucma_get_event()
[all …]