Home
last modified time | relevance | path

Searched refs:nm (Results 1 – 15 of 15) sorted by relevance

/linux-4.19.296/drivers/clk/sunxi-ng/
Dccu_nm.c34 struct _ccu_nm *nm) in ccu_nm_find_best() argument
40 for (_n = nm->min_n; _n <= nm->max_n; _n++) { in ccu_nm_find_best()
41 for (_m = nm->min_m; _m <= nm->max_m; _m++) { in ccu_nm_find_best()
56 nm->n = best_n; in ccu_nm_find_best()
57 nm->m = best_m; in ccu_nm_find_best()
62 struct ccu_nm *nm = hw_to_ccu_nm(hw); in ccu_nm_disable() local
64 return ccu_gate_helper_disable(&nm->common, nm->enable); in ccu_nm_disable()
69 struct ccu_nm *nm = hw_to_ccu_nm(hw); in ccu_nm_enable() local
71 return ccu_gate_helper_enable(&nm->common, nm->enable); in ccu_nm_enable()
76 struct ccu_nm *nm = hw_to_ccu_nm(hw); in ccu_nm_is_enabled() local
[all …]
/linux-4.19.296/fs/ubifs/
Ddir.c200 const struct fscrypt_name *nm) in dbg_check_name() argument
204 if (le16_to_cpu(dent->nlen) != fname_len(nm)) in dbg_check_name()
206 if (memcmp(dent->name, fname_name(nm), fname_len(nm))) in dbg_check_name()
219 struct fscrypt_name nm; in ubifs_lookup() local
223 err = fscrypt_prepare_lookup(dir, dentry, &nm); in ubifs_lookup()
229 if (fname_len(&nm) > UBIFS_MAX_NLEN) { in ubifs_lookup()
240 if (nm.hash) { in ubifs_lookup()
241 ubifs_assert(c, fname_len(&nm) == 0); in ubifs_lookup()
242 ubifs_assert(c, fname_name(&nm) == NULL); in ubifs_lookup()
243 if (nm.hash & ~UBIFS_S_KEY_HASH_MASK) in ubifs_lookup()
[all …]
Dxattr.c100 const struct fscrypt_name *nm, const void *value, int size) in create_xattr() argument
120 names_len = host_ui->xattr_names + host_ui->xattr_cnt + fname_len(nm) + 1; in create_xattr()
157 host_ui->xattr_size += CALC_DENT_SIZE(fname_len(nm)); in create_xattr()
159 host_ui->xattr_names += fname_len(nm); in create_xattr()
167 if (strcmp(fname_name(nm), UBIFS_XATTR_NAME_ENCRYPTION_CONTEXT) == 0) in create_xattr()
170 err = ubifs_jnl_update(c, host, nm, inode, 0, 1); in create_xattr()
183 host_ui->xattr_size -= CALC_DENT_SIZE(fname_len(nm)); in create_xattr()
185 host_ui->xattr_names -= fname_len(nm); in create_xattr()
288 struct fscrypt_name nm = { .disk_name = FSTR_INIT((char *)name, strlen(name))}; in ubifs_xattr_set() local
299 if (fname_len(&nm) > UBIFS_MAX_NLEN) in ubifs_xattr_set()
[all …]
Dkey.h160 const struct fscrypt_name *nm) in dent_key_init() argument
162 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in dent_key_init()
165 ubifs_assert(c, !nm->hash && !nm->minor_hash); in dent_key_init()
196 const struct fscrypt_name *nm) in dent_key_init_flash() argument
199 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in dent_key_init_flash()
230 const struct fscrypt_name *nm) in xent_key_init() argument
232 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in xent_key_init()
247 ino_t inum, const struct fscrypt_name *nm) in xent_key_init_flash() argument
250 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in xent_key_init_flash()
Dtnc.c576 const struct fscrypt_name *nm) in matches_name() argument
599 err = memcmp(dent->name, fname_name(nm), min_t(int, nlen, fname_len(nm))); in matches_name()
601 if (nlen == fname_len(nm)) in matches_name()
603 else if (nlen < fname_len(nm)) in matches_name()
746 const struct fscrypt_name *nm) in resolve_collision() argument
750 err = matches_name(c, &(*zn)->zbranch[*n], nm); in resolve_collision()
811 err = matches_name(c, &(*zn)->zbranch[*n], nm); in resolve_collision()
833 err = matches_name(c, &znode->zbranch[nn], nm); in resolve_collision()
864 const struct fscrypt_name *nm) in fallible_matches_name() argument
892 err = memcmp(dent->name, fname_name(nm), min_t(int, nlen, fname_len(nm))); in fallible_matches_name()
[all …]
Djournal.c540 const struct fscrypt_name *nm, const struct inode *inode, in ubifs_jnl_update() argument
554 dlen = UBIFS_DENT_NODE_SZ + fname_len(nm) + 1; in ubifs_jnl_update()
586 if (nm->hash) in ubifs_jnl_update()
587 dent_key_init_hash(c, &dent_key, dir->i_ino, nm->hash); in ubifs_jnl_update()
589 dent_key_init(c, &dent_key, dir->i_ino, nm); in ubifs_jnl_update()
592 xent_key_init(c, &dent_key, dir->i_ino, nm); in ubifs_jnl_update()
598 dent->nlen = cpu_to_le16(fname_len(nm)); in ubifs_jnl_update()
599 memcpy(dent->name, fname_name(nm), fname_len(nm)); in ubifs_jnl_update()
600 dent->name[fname_len(nm)] = '\0'; in ubifs_jnl_update()
633 if (nm->hash) in ubifs_jnl_update()
[all …]
Dreplay.c64 struct fscrypt_name nm; member
261 err = ubifs_tnc_remove_nm(c, &r->key, &r->nm); in apply_replay_entry()
264 r->len, &r->nm); in apply_replay_entry()
366 kfree(fname_name(&r->nm)); in destroy_replay_list()
469 fname_len(&r->nm) = nlen; in insert_dent()
472 fname_name(&r->nm) = nbuf; in insert_dent()
Dubifs.h1532 const struct fscrypt_name *nm, const struct inode *inode,
1554 const struct inode *inode, const struct fscrypt_name *nm);
1589 void *node, const struct fscrypt_name *nm);
1599 int lnum, int offs, int len, const struct fscrypt_name *nm);
1602 const struct fscrypt_name *nm);
1610 const struct fscrypt_name *nm);
Ddebug.c237 struct fscrypt_name nm = {0}; in ubifs_dump_inode() local
283 dent = ubifs_tnc_next_ent(c, &key, &nm); in ubifs_dump_inode()
295 fname_name(&nm) = dent->name; in ubifs_dump_inode()
296 fname_len(&nm) = le16_to_cpu(dent->nlen); in ubifs_dump_inode()
1114 struct fscrypt_name nm = {0}; in dbg_check_dir() local
1127 dent = ubifs_tnc_next_ent(c, &key, &nm); in dbg_check_dir()
1136 fname_name(&nm) = dent->name; in dbg_check_dir()
1137 fname_len(&nm) = le16_to_cpu(dent->nlen); in dbg_check_dir()
1138 size += CALC_DENT_SIZE(fname_len(&nm)); in dbg_check_dir()
/linux-4.19.296/include/linux/
Dtransport_class.h28 #define DECLARE_TRANSPORT_CLASS(cls, nm, su, rm, cfg) \ argument
31 .name = nm, \
/linux-4.19.296/drivers/memory/
Datmel-ebi.c69 #define ATMEL_SMC_SETUP_XLATE(nm, pos) \ argument
70 { .name = nm, .converter = atmel_smc_cs_conf_set_setup, .shift = pos}
72 #define ATMEL_SMC_PULSE_XLATE(nm, pos) \ argument
73 { .name = nm, .converter = atmel_smc_cs_conf_set_pulse, .shift = pos}
75 #define ATMEL_SMC_CYCLE_XLATE(nm, pos) \ argument
76 { .name = nm, .converter = atmel_smc_cs_conf_set_cycle, .shift = pos}
/linux-4.19.296/include/drm/
Ddrm_modes.h134 #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \ argument
135 .name = nm, .status = 0, .type = (t), .clock = (c), \
/linux-4.19.296/block/
Dblk-sysfs.c312 unsigned long nm; in queue_nomerges_store() local
313 ssize_t ret = queue_var_store(&nm, page, count); in queue_nomerges_store()
321 if (nm == 2) in queue_nomerges_store()
323 else if (nm) in queue_nomerges_store()
/linux-4.19.296/include/linux/mtd/
Drawnand.h1449 #define LEGACY_ID_NAND(nm, devid, chipsz, erasesz, opts) \ argument
1450 { .name = (nm), {{ .dev_id = (devid) }}, .pagesize = 512, \
1463 #define EXTENDED_ID_NAND(nm, devid, chipsz, opts) \ argument
1464 { .name = (nm), {{ .dev_id = (devid) }}, .chipsize = (chipsz), \
/linux-4.19.296/
DMAINTAINERS2137 M: Nishanth Menon <nm@ti.com>
4598 M: Nishanth Menon <nm@ti.com>
10853 M: Nishanth Menon <nm@ti.com>
14432 M: Nishanth Menon <nm@ti.com>