/linux-4.1.27/drivers/md/ |
D | dm-region-hash.c | 238 struct dm_region *reg, *nreg; in dm_region_hash_destroy() local 242 list_for_each_entry_safe(reg, nreg, rh->buckets + h, in dm_region_hash_destroy() 290 struct dm_region *reg, *nreg; in __rh_alloc() local 292 nreg = mempool_alloc(rh->region_pool, GFP_ATOMIC); in __rh_alloc() 293 if (unlikely(!nreg)) in __rh_alloc() 294 nreg = kmalloc(sizeof(*nreg), GFP_NOIO | __GFP_NOFAIL); in __rh_alloc() 296 nreg->state = rh->log->type->in_sync(rh->log, region, 1) ? in __rh_alloc() 298 nreg->rh = rh; in __rh_alloc() 299 nreg->key = region; in __rh_alloc() 300 INIT_LIST_HEAD(&nreg->list); in __rh_alloc() [all …]
|
/linux-4.1.27/net/wireless/ |
D | mlme.c | 408 struct cfg80211_mgmt_registration *reg, *nreg; in cfg80211_mlme_register_mgmt() local 425 nreg = kzalloc(sizeof(*reg) + match_len, GFP_KERNEL); in cfg80211_mlme_register_mgmt() 426 if (!nreg) in cfg80211_mlme_register_mgmt() 444 kfree(nreg); in cfg80211_mlme_register_mgmt() 448 memcpy(nreg->match, match_data, match_len); in cfg80211_mlme_register_mgmt() 449 nreg->match_len = match_len; in cfg80211_mlme_register_mgmt() 450 nreg->nlportid = snd_portid; in cfg80211_mlme_register_mgmt() 451 nreg->frame_type = cpu_to_le16(frame_type); in cfg80211_mlme_register_mgmt() 452 list_add(&nreg->list, &wdev->mgmt_registrations); in cfg80211_mlme_register_mgmt()
|
D | nl80211.c | 9705 struct cfg80211_beacon_registration *reg, *nreg; in nl80211_register_beacons() local 9711 nreg = kzalloc(sizeof(*nreg), GFP_KERNEL); in nl80211_register_beacons() 9712 if (!nreg) in nl80211_register_beacons() 9724 nreg->nlportid = info->snd_portid; in nl80211_register_beacons() 9725 list_add(&nreg->list, &rdev->beacon_registrations); in nl80211_register_beacons() 9732 kfree(nreg); in nl80211_register_beacons()
|
/linux-4.1.27/drivers/gpio/ |
D | gpio-intel-mid.c | 90 unsigned nreg = chip->ngpio / 32; in gpio_reg() local 93 return priv->reg_base + reg_type * nreg * 4 + reg * 4; in gpio_reg() 100 unsigned nreg = chip->ngpio / 32; in gpio_reg_2bit() local 103 return priv->reg_base + reg_type * nreg * 4 + reg * 4; in gpio_reg_2bit()
|
/linux-4.1.27/sound/pci/ |
D | azt3328.c | 983 u16 oreg, nreg, val; in snd_azf3328_put_mixer() local 990 nreg = oreg & ~(reg.mask << reg.lchan_shift); in snd_azf3328_put_mixer() 991 nreg |= (val << reg.lchan_shift); in snd_azf3328_put_mixer() 996 nreg &= ~(reg.mask << reg.rchan_shift); in snd_azf3328_put_mixer() 997 nreg |= (val << reg.rchan_shift); in snd_azf3328_put_mixer() 1001 chip, reg.reg, nreg >> 8, nreg & 0xff, in snd_azf3328_put_mixer() 1006 snd_azf3328_mixer_outw(chip, reg.reg, nreg); in snd_azf3328_put_mixer() 1012 nreg, snd_azf3328_mixer_inw(chip, reg.reg)); in snd_azf3328_put_mixer() 1013 return (nreg != oreg); in snd_azf3328_put_mixer() 1086 u16 oreg, nreg, val; in snd_azf3328_put_mixer_enum() local [all …]
|
D | cmipci.c | 2249 unsigned char oreg, nreg, val; in snd_cmipci_put_native_mixer() local 2257 nreg = oreg & ~(reg.mask << reg.left_shift); in snd_cmipci_put_native_mixer() 2258 nreg |= (val << reg.left_shift); in snd_cmipci_put_native_mixer() 2263 nreg &= ~(reg.mask << reg.right_shift); in snd_cmipci_put_native_mixer() 2264 nreg |= (val << reg.right_shift); in snd_cmipci_put_native_mixer() 2266 outb(nreg, cm->iobase + reg.left_reg); in snd_cmipci_put_native_mixer() 2268 return (nreg != oreg); in snd_cmipci_put_native_mixer()
|
/linux-4.1.27/drivers/regulator/ |
D | lp8755.c | 40 int nreg; member 291 for (icnt = 0; icnt < mphase_buck[pchip->mphase].nreg; icnt++) { in lp8755_init_data() 337 for (icnt = 0; icnt < mphase_buck[pchip->mphase].nreg; icnt++) { in lp8755_regulator_init()
|
/linux-4.1.27/fs/proc/ |
D | proc_sysctl.c | 63 .nreg = 1, 187 head->nreg = 1; in init_header() 223 dir->header.nreg++; in insert_header() 949 subdir->header.nreg++; in get_subdir() 1095 links->nreg = nr_entries; in new_links() 1123 head->nreg++; in get_links() 1145 core_parent->header.nreg++; in insert_links() 1239 dir->header.nreg++; in __register_sysctl_table() 1546 if (--header->nreg) in drop_sysctl_table()
|
/linux-4.1.27/drivers/net/wireless/ath/carl9170/ |
D | debug.h | 50 char nreg[32]; member
|
D | debug.c | 506 name##_regs[i].nreg, ar->debug.stats.name ##_sum[i],\ 534 name##_regs[i].nreg, \
|
/linux-4.1.27/include/linux/ |
D | sysctl.h | 132 int nreg; member
|