Home
last modified time | relevance | path

Searched refs:cast (Results 1 – 25 of 46) sorted by relevance

12

/linux/drivers/ata/
A Dpata_cs5536.c167 u32 cast; in cs5536_set_piomode() local
174 cs5536_read(pdev, CAST, &cast); in cs5536_set_piomode()
176 cast &= ~(IDE_CAST_DRV_MASK << cshift); in cs5536_set_piomode()
177 cast |= addr_timings[mode] << cshift; in cs5536_set_piomode()
179 cast &= ~(IDE_CAST_CMD_MASK << IDE_CAST_CMD_SHIFT); in cs5536_set_piomode()
180 cast |= cmd_timings[cmdmode] << IDE_CAST_CMD_SHIFT; in cs5536_set_piomode()
182 cs5536_write(pdev, CAST, cast); in cs5536_set_piomode()
A Dlibata-transport.c204 #define ata_port_show_simple(field, name, format_string, cast) \ argument
211 return scnprintf(buf, 20, format_string, cast ap->field); \
475 #define ata_dev_show_simple(field, format_string, cast) \ argument
482 return scnprintf(buf, 20, format_string, cast ata_dev->field); \
/linux/scripts/gdb/linux/
A Drbtree.py15 node = root.address.cast(rb_root_type.get_type().pointer())
31 node = root.address.cast(rb_root_type.get_type().pointer())
47 return parent.cast(rb_node_type.get_type().pointer())
56 node = node.address.cast(rb_node_type.get_type().pointer())
79 node = node.address.cast(rb_node_type.get_type().pointer())
A Dcpus.py52 pointer = var_ptr.cast(utils.get_long_type()) + offset
53 return pointer.cast(var_ptr.type).dereference()
171 current_task = current_task_addr.cast(task_ptr_type)
A Dutils.py46 element = gdb.Value(0).cast(typeobj)
51 return (ptr.cast(get_long_type()) -
52 offset_of(typeobj, member)).cast(typeobj)
A Dtasks.py99 thread_info = thread_info_addr.cast(thread_info_ptr_type)
103 thread_info = task['stack'].cast(thread_info_ptr_type)
A Dtimerlist.py47 curr = curr.address.cast(rbtree.rb_node_type.get_type().pointer())
/linux/drivers/scsi/fcoe/
A Dfcoe_sysfs.c136 #define fcoe_ctlr_show_function(field, format_string, sz, cast) \ argument
145 cast fcoe_ctlr_##field(ctlr)); \
148 #define fcoe_fcf_show_function(field, format_string, sz, cast) \ argument
158 cast fcoe_fcf_##field(fcf)); \
161 #define fcoe_ctlr_private_show_function(field, format_string, sz, cast) \ argument
170 #define fcoe_fcf_private_show_function(field, format_string, sz, cast) \ argument
176 return snprintf(buf, sz, format_string, cast fcoe_fcf_##field(fcf)); \
199 #define fcoe_ctlr_private_rd_attr_cast(field, format_string, sz, cast) \ argument
200 fcoe_ctlr_private_show_function(field, format_string, sz, (cast)) \
204 #define fcoe_fcf_private_rd_attr_cast(field, format_string, sz, cast) \ argument
[all …]
/linux/scripts/atomic/
A Dgen-atomic-long.sh27 local cast="$(gen_cast "$1" "${int}" "${atomic}")"
29 printf "${cast}${arg}"
/linux/tools/perf/util/
A Dprobe-finder.c311 const char *cast, bool user_access) in convert_variable_type() argument
322 if (cast && strcmp(cast, "string") != 0 && strcmp(cast, "ustring") && in convert_variable_type()
323 strcmp(cast, "x") != 0 && in convert_variable_type()
324 strcmp(cast, "s") != 0 && strcmp(cast, "u") != 0) { in convert_variable_type()
327 tvar->type = strdup(cast); in convert_variable_type()
352 if (cast && (!strcmp(cast, "string") || !strcmp(cast, "ustring"))) { in convert_variable_type()
385 tvar->type = strdup(cast); in convert_variable_type()
389 if (cast && (strcmp(cast, "u") == 0)) in convert_variable_type()
391 else if (cast && (strcmp(cast, "s") == 0)) in convert_variable_type()
393 else if (cast && (strcmp(cast, "x") == 0) && in convert_variable_type()
/linux/scripts/
A DMakefile.extrawarn52 KBUILD_CFLAGS += $(call cc-disable-warning, pointer-to-enum-cast)
80 KBUILD_CFLAGS += -Wbad-function-cast
A Dcheckpatch.pl6680 my $cast = $1;
6685 $suffix .= 'U' if ($cast =~ /\bunsigned\b/);
6686 if ($cast =~ /\blong\s+long\b/) {
6688 } elsif ($cast =~ /\blong\b/) {
6692 …"Unnecessary typecast of c90 int constant - '$cast$const' could be '$const$suffix'\n" . $herecurr)…
6694 $fixed[$fixlinenr] =~ s/\Q$cast\E$const\b/$newconst$suffix/;
6860 my $cast;
6863 $cast = "$cast1 or $cast2";
6865 $cast = $cast1;
6867 $cast = $cast2;
[all …]
/linux/drivers/scsi/
A Dscsi_transport_fc.c1001 return snprintf(buf, sz, format_string, cast rport->field); \
1031 #define fc_rport_rd_attr_cast(field, format_string, sz, cast) \ argument
1032 fc_rport_show_function(field, format_string, sz, (cast)) \
1050 return snprintf(buf, sz, format_string, cast rport->field); \
1430 cast fc_starget_##field(starget)); \
1439 fc_starget_show_function(field, format_string, sz, (cast)) \
1482 return snprintf(buf, sz, format_string, cast vport->field); \
1532 fc_vport_show_function(field, format_string, sz, (cast)) \
1549 return snprintf(buf, sz, format_string, cast vport->field); \
1795 #define fc_host_rd_attr_cast(field, format_string, sz, cast) \ argument
[all …]
A Dscsi_transport_sas.c418 #define sas_phy_show_simple(field, name, format_string, cast) \ argument
425 return snprintf(buf, 20, format_string, cast phy->field); \
784 #define sas_port_show_simple(field, name, format_string, cast) \ argument
791 return snprintf(buf, 20, format_string, cast port->field); \
1131 #define sas_rphy_show_simple(field, name, format_string, cast) \ argument
1138 return snprintf(buf, 20, format_string, cast rphy->field); \
1265 #define sas_end_dev_show_simple(field, name, format_string, cast) \ argument
1273 return snprintf(buf, 20, format_string, cast rdev->field); \
1294 #define sas_expander_show_simple(field, name, format_string, cast) \ argument
1302 return snprintf(buf, 20, format_string, cast edev->field); \
/linux/fs/ntfs3/
A DMakefile7 ccflags-y += -Wint-to-pointer-cast \
/linux/Documentation/networking/
A D6lowpan.rst15 To access the LL_PRIV_6LOWPAN_DATA structure you can cast::
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
A Dfs_tracepoint.c57 #define PRINT_MASKED_VALP(name, cast, p, format) { \ argument
60 (cast)&name.v);\
/linux/Documentation/scsi/
A DChangeLog.arcmsr22 ** 1.20.00.06 3/12/2005 Erich Chen fix with arcmsr_pci_unmap_dma "unsigned long" cast,
41 ** cast off sizeof(dma_addr_t) condition for 64bit pci_set_dma_mask
/linux/Documentation/RCU/
A Drcu_dereference.rst25 In addition, the volatile cast in rcu_dereference() prevents the
41 cast the pointer to uintptr_t in order to:
51 It is important to cast the value back to pointer before
179 pointer. Note that the volatile cast in rcu_dereference()
318 guarantees that RCU depends on. And the volatile cast in rcu_dereference()
/linux/tools/scripts/
A DMakefile.include23 EXTRA_WARNINGS := -Wbad-function-cast
/linux/scripts/coccinelle/misc/
A Dminmax.cocci4 /// Generated patches sometimes require adding a cast to fix compile warning.
/linux/lib/raid6/
A Daltivec.uc63 /* vec_cmpgt returns a vector bool char; thus the need for the cast */
/linux/arch/arm64/kernel/vdso32/
A DMakefile89 VDSO_CFLAGS += -Wno-int-to-pointer-cast
/linux/Documentation/userspace-api/
A Dfutex2.rst42 If userspace has 32-bit pointers, it should do a explicit cast to make sure
/linux/arch/arm/nwfpe/
A DChangeLog46 as a struct user_fp (see user.h). This pointer was cast to a

Completed in 53 milliseconds

12