Searched refs:exclusive (Results 1 - 8 of 8) sorted by relevance

/drivers/mtd/ubi/
H A Dkapi.c116 * mode, read-write mode, or exclusive mode. The exclusive mode guarantees that
173 if (vol->exclusive)
179 if (vol->exclusive || vol->writers > 0)
185 if (vol->exclusive || vol->writers || vol->readers)
187 vol->exclusive = 1;
345 vol->exclusive = 0;
H A Dcdev.c50 * get_exclusive - get exclusive access to an UBI volume.
53 * This function changes UBI volume open mode to "exclusive". Returns previous
63 users = vol->readers + vol->writers + vol->exclusive;
70 vol->exclusive = 1;
80 * revoke_exclusive - revoke exclusive mode.
90 ubi_assert(vol->exclusive == 1 && desc->mode == UBI_EXCLUSIVE);
91 vol->exclusive = 0;
97 vol->exclusive = 1;
H A Dubi.h208 * @exclusive: whether somebody holds this volume in exclusive mode
258 int exclusive; member in struct:ubi_volume
309 * @vol->readers, @vol->writers, @vol->exclusive,
/drivers/watchdog/
H A Dit87_wdt.c142 static int exclusive = DEFAULT_EXCLUSIVE; variable
150 module_param(exclusive, int, 0);
151 MODULE_PARM_DESC(exclusive, "Watchdog exclusive device open, default="
168 * Try to reserve REG and REG + 1 for exclusive access.
383 if (exclusive && test_and_set_bit(WDTS_DEV_OPEN, &wdt_status))
717 pr_info("Chip IT%04x revision %d initialized. timeout=%d sec (nowayout=%d testmode=%d exclusive=%d nogameport=%d)\n",
719 nowayout, testmode, exclusive, nogameport);
/drivers/isdn/i4l/
H A Disdn_net.c2196 * down. However this channel may be bound exclusive. If the
2199 * We exchange the exclusive bindings of the two channels, the
2209 * exclusive too. */
2234 /* Now check for exclusive binding again */
2552 lp->exclusive = -1;
2786 if (cfg->exclusive > 0) {
2789 /* If binding is exclusive, try to grab the channel */
2795 lp->exclusive = -1;
2803 lp->exclusive = i;
2805 /* Non-exclusive bindin
[all...]
H A Disdn_ppp.c165 char exclusive[ISDN_MAX_CHANNELS]; /* exclusive flags */ local
166 memset(exclusive, 0, ISDN_MAX_CHANNELS);
167 while (net_dev) { /* step through net devices to find exclusive minors */
170 exclusive[lp->pppbind] = 1;
177 if (ippp_table[i]->state == IPPP_OPEN && !exclusive[ippp_table[i]->minor]) { /* OPEN, but not connected! */
/drivers/regulator/
H A Dcore.c1197 int exclusive)
1255 if (rdev->exclusive) {
1260 if (exclusive && rdev->open_count) {
1276 if (exclusive) {
1277 rdev->exclusive = 1;
1346 * regulator_get_exclusive - obtain exclusive access to a regulator.
1403 rdev->exclusive = 0;
1196 _regulator_get(struct device *dev, const char *id, int exclusive) argument
/drivers/pci/
H A Dpci.c2453 * @exclusive: whether the region access is exclusive or not
2460 * If @exclusive is set, then the region is marked so that userspace
2468 int exclusive)
2483 exclusive))
2467 __pci_request_region(struct pci_dev *pdev, int bar, const char *res_name, int exclusive) argument

Completed in 913 milliseconds