Home
last modified time | relevance | path

Searched refs:datum (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v5.15/arch/parisc/lib/
Diomap.c87 static void ioport_write8(u8 datum, void __iomem *addr) in ioport_write8() argument
89 outb(datum, ADDR2PORT(addr)); in ioport_write8()
92 static void ioport_write16(u16 datum, void __iomem *addr) in ioport_write16() argument
94 outw(datum, ADDR2PORT(addr)); in ioport_write16()
97 static void ioport_write32(u32 datum, void __iomem *addr) in ioport_write32() argument
99 outl(datum, ADDR2PORT(addr)); in ioport_write32()
188 static void iomem_write8(u8 datum, void __iomem *addr) in iomem_write8() argument
190 writeb(datum, addr); in iomem_write8()
193 static void iomem_write16(u16 datum, void __iomem *addr) in iomem_write16() argument
195 writew(datum, addr); in iomem_write16()
[all …]
/Linux-v5.15/security/selinux/ss/
Dpolicydb.c184 static int perm_destroy(void *key, void *datum, void *p) in perm_destroy() argument
187 kfree(datum); in perm_destroy()
191 static int common_destroy(void *key, void *datum, void *p) in common_destroy() argument
196 if (datum) { in common_destroy()
197 comdatum = datum; in common_destroy()
201 kfree(datum); in common_destroy()
218 static int cls_destroy(void *key, void *datum, void *p) in cls_destroy() argument
225 if (datum) { in cls_destroy()
226 cladatum = datum; in cls_destroy()
256 kfree(datum); in cls_destroy()
[all …]
Davtab.c71 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, cur, key, datum); in avtab_insert()
153 const struct avtab_datum *datum) in avtab_insert_nonunique() argument
180 return avtab_insert_node(h, hvalue, prev, cur, key, datum); in avtab_insert_nonunique()
199 return &cur->datum; in avtab_search()
294 temp->datum.u.xperms); in avtab_destroy()
[all …]
Dconditional.c175 int cond_destroy_bool(void *key, void *datum, void *p) in cond_destroy_bool() argument
178 kfree(datum); in cond_destroy_bool()
182 int cond_index_bool(void *key, void *datum, void *datap) in cond_index_bool() argument
187 booldatum = datum; in cond_index_bool()
448 int cond_write_bool(void *vkey, void *datum, void *ptr) in cond_write_bool() argument
451 struct cond_bool_datum *booldatum = datum; in cond_write_bool()
587 avd->allowed |= node->datum.u.data; in cond_compute_av()
595 avd->auditdeny &= node->datum.u.data; in cond_compute_av()
598 avd->auditallow |= node->datum.u.data; in cond_compute_av()
620 &orig->nodes[i]->datum); in cond_dup_av_list()
[all …]
Dhashtab.h28 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()
Dhashtab.c43 void *key, void *datum) in __hashtab_insert() argument
51 newnode->datum = datum; in __hashtab_insert()
89 ret = apply(cur->key, cur->datum, args); in hashtab_map()
170 destroy(cur->key, cur->datum, args); in hashtab_duplicate()
Dconditional.h68 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);
Dsymtab.c46 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()
Davtab.h79 struct avtab_datum datum; member
109 const struct avtab_datum *datum);
Dservices.c602 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { in services_compute_xperms_drivers()
605 xperms->drivers.p[i] |= node->datum.u.xperms->perms.p[i]; in services_compute_xperms_drivers()
606 } else if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { in services_compute_xperms_drivers()
609 node->datum.u.xperms->driver); in services_compute_xperms_drivers()
668 avd->allowed |= node->datum.u.data; in context_struct_compute_av()
670 avd->auditallow |= node->datum.u.data; in context_struct_compute_av()
672 avd->auditdeny &= node->datum.u.data; in context_struct_compute_av()
966 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { in services_compute_xperms_decision()
967 if (xpermd->driver != node->datum.u.xperms->driver) in services_compute_xperms_decision()
969 } else if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { in services_compute_xperms_decision()
[all …]
Dsymtab.h22 int symtab_insert(struct symtab *s, char *name, void *datum);
/Linux-v5.15/drivers/net/wireless/marvell/libertas/
Dmesh.c188 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-v5.15/drivers/gpu/drm/i915/gt/
Dst_shmem_utils.c10 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-v5.15/include/linux/mtd/
Dmap.h411 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
Dpfow.h102 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-v5.15/drivers/mtd/maps/
Dmap_funcs.c18 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()
Dphysmap-gemini.c94 const map_word datum, in gemini_flash_map_write() argument
98 inline_map_write(map, datum, ofs); in gemini_flash_map_write()
/Linux-v5.15/drivers/mtd/chips/
Dcfi_cmdset_0002.c1391 unsigned long adr, map_word datum,
1402 map_word datum = map_word_ff(map); in do_otp_write() local
1407 datum = map_read(map, bus_ofs); in do_otp_write()
1411 datum = map_word_load_partial(map, datum, buf, gap, n); in do_otp_write()
1412 ret = do_write_oneword(map, chip, bus_ofs, datum, FL_OTP_WRITE); in do_otp_write()
1654 unsigned long adr, map_word datum, in do_write_oneword_once() argument
1673 map_write(map, datum, adr); in do_write_oneword_once()
1702 !chip_good(map, chip, adr, datum)) { in do_write_oneword_once()
1710 if (chip_good(map, chip, adr, datum)) { in do_write_oneword_once()
1759 unsigned long adr, map_word datum, in do_write_oneword_retry() argument
[all …]
Dcfi_cmdset_0001.c1553 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-v5.15/include/net/
Ddn_fib.h56 __le16 datum; member
60 __le16 datum; member
64 __u16 datum; member
/Linux-v5.15/arch/mips/cavium-octeon/
Dflash_setup.c41 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-v5.15/drivers/media/pci/cobalt/
Dcobalt-flash.c38 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-v5.15/net/decnet/
Ddn_table.c62 #define dz_key_0(key) ((key).datum = 0)
89 u16 h = le16_to_cpu(key.datum)>>(16 - dz->dz_order); in dn_hash()
99 k.datum = dst & DZ_MASK(dz); in dz_key()
105 return &dz->dz_hash[dn_hash(key, dz).datum]; in dn_chain_p()
110 return dz->dz_hash[dn_hash(key, dz).datum]; in dz_chain()
115 return a.datum == b.datum; in dn_key_eq()
120 return a.datum <= b.datum; in dn_key_leq()
/Linux-v5.15/drivers/mtd/lpddr/
Dlpddr_cmds.c408 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-v5.15/drivers/comedi/drivers/
Damplc_pci230.c555 unsigned short datum) in pci230_ao_mangle_datum() argument
564 datum <<= (16 - board->ao_bits); in pci230_ao_mangle_datum()
570 datum ^= 0x8000; in pci230_ao_mangle_datum()
571 return datum; in pci230_ao_mangle_datum()
575 unsigned short datum, unsigned int chan) in pci230_ao_write_nofifo() argument
580 outw(pci230_ao_mangle_datum(dev, datum), in pci230_ao_write_nofifo()
585 unsigned short datum, unsigned int chan) in pci230_ao_write_fifo() argument
590 outw(pci230_ao_mangle_datum(dev, datum), in pci230_ao_write_fifo()
1146 unsigned short datum; in pci230_handle_ao_fifo() local
1148 comedi_buf_read_samples(s, &datum, 1); in pci230_handle_ao_fifo()
[all …]

12