/linux-6.1.9/arch/parisc/lib/ |
D | iomap.c | 91 static void ioport_write8(u8 datum, void __iomem *addr) in ioport_write8() argument 93 outb(datum, ADDR2PORT(addr)); in ioport_write8() 96 static void ioport_write16(u16 datum, void __iomem *addr) in ioport_write16() argument 98 outw(datum, ADDR2PORT(addr)); in ioport_write16() 101 static void ioport_write32(u32 datum, void __iomem *addr) in ioport_write32() argument 103 outl(datum, ADDR2PORT(addr)); in ioport_write32() 194 static void iomem_write8(u8 datum, void __iomem *addr) in iomem_write8() argument 196 writeb(datum, addr); in iomem_write8() 199 static void iomem_write16(u16 datum, void __iomem *addr) in iomem_write16() argument 201 writew(datum, addr); in iomem_write16() [all …]
|
/linux-6.1.9/security/selinux/ss/ |
D | policydb.c | 180 static int perm_destroy(void *key, void *datum, void *p) in perm_destroy() argument 183 kfree(datum); in perm_destroy() 187 static int common_destroy(void *key, void *datum, void *p) in common_destroy() argument 192 if (datum) { in common_destroy() 193 comdatum = datum; in common_destroy() 197 kfree(datum); in common_destroy() 214 static int cls_destroy(void *key, void *datum, void *p) in cls_destroy() argument 221 if (datum) { in cls_destroy() 222 cladatum = datum; in cls_destroy() 252 kfree(datum); in cls_destroy() [all …]
|
D | avtab.c | 71 const struct avtab_key *key, const struct avtab_datum *datum) in avtab_insert_node() argument 86 *xperms = *(datum->u.xperms); in avtab_insert_node() 87 newnode->datum.u.xperms = xperms; in avtab_insert_node() 89 newnode->datum.u.data = datum->u.data; in avtab_insert_node() 107 const struct avtab_datum *datum) in avtab_insert() argument 140 newnode = avtab_insert_node(h, hvalue, prev, key, datum); in avtab_insert() 153 const struct avtab_datum *datum) in avtab_insert_nonunique() argument 180 return avtab_insert_node(h, hvalue, prev, key, datum); in avtab_insert_nonunique() 199 return &cur->datum; in avtab_search() 294 temp->datum.u.xperms); in avtab_destroy() [all …]
|
D | conditional.c | 177 int cond_destroy_bool(void *key, void *datum, void *p) in cond_destroy_bool() argument 180 kfree(datum); in cond_destroy_bool() 184 int cond_index_bool(void *key, void *datum, void *datap) in cond_index_bool() argument 189 booldatum = datum; in cond_index_bool() 449 int cond_write_bool(void *vkey, void *datum, void *ptr) in cond_write_bool() argument 452 struct cond_bool_datum *booldatum = datum; in cond_write_bool() 586 avd->allowed |= node->datum.u.data; in cond_compute_av() 594 avd->auditdeny &= node->datum.u.data; in cond_compute_av() 597 avd->auditallow |= node->datum.u.data; in cond_compute_av() 619 &orig->nodes[i]->datum); in cond_dup_av_list() [all …]
|
D | hashtab.h | 28 void *datum; member 51 void *key, void *datum); 61 static inline int hashtab_insert(struct hashtab *h, void *key, void *datum, in hashtab_insert() argument 87 key, datum); in hashtab_insert() 111 return cur->datum; in hashtab_search()
|
D | hashtab.c | 51 void *key, void *datum) in __hashtab_insert() argument 59 newnode->datum = datum; in __hashtab_insert() 97 ret = apply(cur->key, cur->datum, args); in hashtab_map() 178 destroy(cur->key, cur->datum, args); in hashtab_duplicate()
|
D | conditional.h | 68 int cond_destroy_bool(void *key, void *datum, void *p); 70 int cond_index_bool(void *key, void *datum, void *datap); 74 int cond_write_bool(void *key, void *datum, void *ptr);
|
D | symtab.c | 46 int symtab_insert(struct symtab *s, char *name, void *datum) in symtab_insert() argument 48 return hashtab_insert(&s->table, name, datum, symtab_key_params); in symtab_insert()
|
D | avtab.h | 79 struct avtab_datum datum; member 109 const struct avtab_datum *datum);
|
D | services.c | 600 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { in services_compute_xperms_drivers() 603 xperms->drivers.p[i] |= node->datum.u.xperms->perms.p[i]; in services_compute_xperms_drivers() 604 } else if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { in services_compute_xperms_drivers() 607 node->datum.u.xperms->driver); in services_compute_xperms_drivers() 666 avd->allowed |= node->datum.u.data; in context_struct_compute_av() 668 avd->auditallow |= node->datum.u.data; in context_struct_compute_av() 670 avd->auditdeny &= node->datum.u.data; in context_struct_compute_av() 964 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { in services_compute_xperms_decision() 965 if (xpermd->driver != node->datum.u.xperms->driver) in services_compute_xperms_decision() 967 } else if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { in services_compute_xperms_decision() [all …]
|
D | symtab.h | 22 int symtab_insert(struct symtab *s, char *name, void *datum);
|
/linux-6.1.9/drivers/net/wireless/marvell/libertas/ |
D | mesh.c | 188 uint32_t datum; in anycast_mask_store() local 192 sscanf(buf, "%x", &datum); in anycast_mask_store() 193 mesh_access.data[0] = cpu_to_le32(datum); in anycast_mask_store() 387 uint32_t datum; in bootflag_store() local 391 ret = sscanf(buf, "%d", &datum); in bootflag_store() 392 if ((ret != 1) || (datum > 1)) in bootflag_store() 395 *((__le32 *)&cmd.data[0]) = cpu_to_le32(!!datum); in bootflag_store() 438 uint32_t datum; in boottime_store() local 442 ret = sscanf(buf, "%d", &datum); in boottime_store() 443 if ((ret != 1) || (datum > 255)) in boottime_store() [all …]
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | st_shmem_utils.c | 10 u32 datum = 0xdeadbeef, result; in igt_shmem_basic() local 15 file = shmem_create_from_data("mock", &datum, sizeof(datum)); in igt_shmem_basic() 24 if (result != datum) { in igt_shmem_basic() 26 result, datum); in igt_shmem_basic()
|
/linux-6.1.9/include/linux/mtd/ |
D | map.h | 411 static inline void inline_map_write(struct map_info *map, const map_word datum, unsigned long ofs) in inline_map_write() argument 414 __raw_writeb(datum.x[0], map->virt + ofs); in inline_map_write() 416 __raw_writew(datum.x[0], map->virt + ofs); in inline_map_write() 418 __raw_writel(datum.x[0], map->virt + ofs); in inline_map_write() 421 __raw_writeq(datum.x[0], map->virt + ofs); in inline_map_write() 424 memcpy_toio(map->virt+ofs, datum.x, map->bankwidth); in inline_map_write() 446 #define map_write(map, datum, ofs) (map)->write(map, datum, ofs) argument 455 #define map_write(map, datum, ofs) inline_map_write(map, datum, ofs) argument
|
D | pfow.h | 102 unsigned long len, map_word *datum) in send_pfow_command() argument 117 if (datum) in send_pfow_command() 118 map_write(map, *datum, map->pfow_base + PFOW_COMMAND_DATA); in send_pfow_command()
|
/linux-6.1.9/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 868 map_word *datum = expected; in chip_good() local 871 datum = NULL; in chip_good() 873 return chip_ready(map, chip, addr, datum); in chip_good() 1385 unsigned long adr, map_word datum, 1396 map_word datum = map_word_ff(map); in do_otp_write() local 1401 datum = map_read(map, bus_ofs); in do_otp_write() 1405 datum = map_word_load_partial(map, datum, buf, gap, n); in do_otp_write() 1406 ret = do_write_oneword(map, chip, bus_ofs, datum, FL_OTP_WRITE); in do_otp_write() 1648 unsigned long adr, map_word datum, in do_write_oneword_once() argument 1667 map_write(map, datum, adr); in do_write_oneword_once() [all …]
|
D | cfi_cmdset_0001.c | 1553 unsigned long adr, map_word datum, int mode) in do_write_oneword() argument 1583 map_write(map, datum, adr); in do_write_oneword() 1643 map_word datum; in cfi_intelext_write_words() local 1646 datum = map_word_ff(map); in cfi_intelext_write_words() 1647 datum = map_word_load_partial(map, datum, buf, gap, n); in cfi_intelext_write_words() 1650 bus_ofs, datum, FL_WRITING); in cfi_intelext_write_words() 1668 map_word datum = map_word_load(map, buf); in cfi_intelext_write_words() local 1671 ofs, datum, FL_WRITING); in cfi_intelext_write_words() 1689 map_word datum; in cfi_intelext_write_words() local 1691 datum = map_word_ff(map); in cfi_intelext_write_words() [all …]
|
/linux-6.1.9/drivers/mtd/maps/ |
D | map_funcs.c | 18 static void __xipram simple_map_write(struct map_info *map, const map_word datum, unsigned long ofs) in simple_map_write() argument 20 inline_map_write(map, datum, ofs); in simple_map_write()
|
D | physmap-gemini.c | 94 const map_word datum, in gemini_flash_map_write() argument 98 inline_map_write(map, datum, ofs); in gemini_flash_map_write()
|
/linux-6.1.9/drivers/media/pci/cobalt/ |
D | cobalt-flash.c | 38 static void flash_write16(struct map_info *map, const map_word datum, in flash_write16() argument 41 u16 data = (u16)datum.x[0]; in flash_write16()
|
/linux-6.1.9/arch/mips/cavium-octeon/ |
D | flash_setup.c | 41 static void octeon_flash_map_write(struct map_info *map, const map_word datum, in octeon_flash_map_write() argument 45 inline_map_write(map, datum, ofs); in octeon_flash_map_write()
|
/linux-6.1.9/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 408 map_word datum; in do_write_buffer() local 430 datum = map_word_ff(map); in do_write_buffer() 447 datum = map_word_ff(map); in do_write_buffer() 449 datum = map_word_load_partial(map, datum, in do_write_buffer() 455 map_write(map, datum, prog_buf_ofs); in do_write_buffer()
|
/linux-6.1.9/drivers/comedi/drivers/ |
D | amplc_pci230.c | 553 unsigned short datum) in pci230_ao_mangle_datum() argument 562 datum <<= (16 - board->ao_bits); in pci230_ao_mangle_datum() 568 datum ^= 0x8000; in pci230_ao_mangle_datum() 569 return datum; in pci230_ao_mangle_datum() 573 unsigned short datum, unsigned int chan) in pci230_ao_write_nofifo() argument 578 outw(pci230_ao_mangle_datum(dev, datum), in pci230_ao_write_nofifo() 583 unsigned short datum, unsigned int chan) in pci230_ao_write_fifo() argument 588 outw(pci230_ao_mangle_datum(dev, datum), in pci230_ao_write_fifo() 1144 unsigned short datum; in pci230_handle_ao_fifo() local 1146 comedi_buf_read_samples(s, &datum, 1); in pci230_handle_ao_fifo() [all …]
|
/linux-6.1.9/fs/jffs2/ |
D | erase.c | 380 unsigned long *datum = ebuf + i; in jffs2_block_check_erase() local 381 if (*datum + 1) { in jffs2_block_check_erase() 384 *datum, *bad_offset); in jffs2_block_check_erase()
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | diskonchip.c | 292 static void doc2000_write_byte(struct nand_chip *this, u_char datum) in doc2000_write_byte() argument 298 printk("write_byte %02x\n", datum); in doc2000_write_byte() 299 WriteDOC(datum, docptr, CDSNSlowIO); in doc2000_write_byte() 300 WriteDOC(datum, docptr, 2k_CDSN_IO); in doc2000_write_byte() 415 static void doc2001_write_byte(struct nand_chip *this, u_char datum) in doc2001_write_byte() argument 420 WriteDOC(datum, docptr, CDSNSlowIO); in doc2001_write_byte() 421 WriteDOC(datum, docptr, Mil_CDSN_IO); in doc2001_write_byte() 422 WriteDOC(datum, docptr, WritePipeTerm); in doc2001_write_byte()
|