/Linux-v4.19/drivers/ata/ |
D | pata_cs5536.c | 179 u32 cast; in cs5536_set_piomode() local 186 cs5536_read(pdev, CAST, &cast); in cs5536_set_piomode() 188 cast &= ~(IDE_CAST_DRV_MASK << cshift); in cs5536_set_piomode() 189 cast |= addr_timings[mode] << cshift; in cs5536_set_piomode() 191 cast &= ~(IDE_CAST_CMD_MASK << IDE_CAST_CMD_SHIFT); in cs5536_set_piomode() 192 cast |= cmd_timings[cmdmode] << IDE_CAST_CMD_SHIFT; in cs5536_set_piomode() 194 cs5536_write(pdev, CAST, cast); in cs5536_set_piomode()
|
D | libata-transport.c | 204 #define ata_port_show_simple(field, name, format_string, cast) \ argument 211 return snprintf(buf, 20, format_string, cast ap->field); \ 475 #define ata_dev_show_simple(field, format_string, cast) \ argument 482 return snprintf(buf, 20, format_string, cast ata_dev->field); \
|
/Linux-v4.19/drivers/ide/ |
D | cs5536.c | 150 u32 cast; in cs5536_set_pio_mode() local 163 cs5536_read(pdev, CAST, &cast); in cs5536_set_pio_mode() 165 cast &= ~(IDE_CAST_DRV_MASK << cshift); in cs5536_set_pio_mode() 166 cast |= addr_timings[pio] << cshift; in cs5536_set_pio_mode() 168 cast &= ~(IDE_CAST_CMD_MASK << IDE_CAST_CMD_SHIFT); in cs5536_set_pio_mode() 169 cast |= cmd_timings[cmd_pio] << IDE_CAST_CMD_SHIFT; in cs5536_set_pio_mode() 171 cs5536_write(pdev, CAST, cast); in cs5536_set_pio_mode()
|
/Linux-v4.19/drivers/scsi/fcoe/ |
D | fcoe_sysfs.c | 148 #define fcoe_ctlr_show_function(field, format_string, sz, cast) \ argument 157 cast fcoe_ctlr_##field(ctlr)); \ 160 #define fcoe_fcf_show_function(field, format_string, sz, cast) \ argument 170 cast fcoe_fcf_##field(fcf)); \ 173 #define fcoe_ctlr_private_show_function(field, format_string, sz, cast) \ argument 179 return snprintf(buf, sz, format_string, cast fcoe_ctlr_##field(ctlr)); \ 182 #define fcoe_fcf_private_show_function(field, format_string, sz, cast) \ argument 188 return snprintf(buf, sz, format_string, cast fcoe_fcf_##field(fcf)); \ 211 #define fcoe_ctlr_private_rd_attr_cast(field, format_string, sz, cast) \ argument 212 fcoe_ctlr_private_show_function(field, format_string, sz, (cast)) \ [all …]
|
/Linux-v4.19/scripts/gdb/linux/ |
D | utils.py | 46 element = gdb.Value(0).cast(typeobj) 51 return (ptr.cast(get_long_type()) - 52 offset_of(typeobj, member)).cast(typeobj)
|
D | tasks.py | 97 thread_info = thread_info_addr.cast(thread_info_ptr_type) 101 thread_info = task['stack'].cast(thread_info_ptr_type)
|
D | cpus.py | 49 pointer = var_ptr.cast(utils.get_long_type()) + offset 50 return pointer.cast(var_ptr.type).dereference()
|
/Linux-v4.19/fs/coda/ |
D | coda_linux.h | 66 #define CODA_ALLOC(ptr, cast, size) do { \ argument 70 ptr = (cast)vzalloc((unsigned long) size); \
|
/Linux-v4.19/tools/perf/util/ |
D | probe-finder.c | 297 const char *cast) in convert_variable_type() argument 308 if (cast && strcmp(cast, "string") != 0 && strcmp(cast, "x") != 0 && in convert_variable_type() 309 strcmp(cast, "s") != 0 && strcmp(cast, "u") != 0) { in convert_variable_type() 312 tvar->type = strdup(cast); in convert_variable_type() 337 if (cast && strcmp(cast, "string") == 0) { /* String type */ in convert_variable_type() 368 tvar->type = strdup(cast); in convert_variable_type() 372 if (cast && (strcmp(cast, "u") == 0)) in convert_variable_type() 374 else if (cast && (strcmp(cast, "s") == 0)) in convert_variable_type() 376 else if (cast && (strcmp(cast, "x") == 0) && in convert_variable_type()
|
/Linux-v4.19/drivers/scsi/ |
D | scsi_transport_fc.c | 703 #define fc_rport_show_function(field, format_string, sz, cast) \ argument 716 return snprintf(buf, sz, format_string, cast rport->field); \ 746 #define fc_rport_rd_attr_cast(field, format_string, sz, cast) \ argument 747 fc_rport_show_function(field, format_string, sz, (cast)) \ 759 #define fc_private_rport_show_function(field, format_string, sz, cast) \ argument 765 return snprintf(buf, sz, format_string, cast rport->field); \ 773 #define fc_private_rport_rd_attr_cast(field, format_string, sz, cast) \ argument 774 fc_private_rport_show_function(field, format_string, sz, (cast)) \ 1018 #define fc_starget_show_function(field, format_string, sz, cast) \ argument 1032 cast fc_starget_##field(starget)); \ [all …]
|
D | scsi_transport_sas.c | 422 #define sas_phy_show_simple(field, name, format_string, cast) \ argument 429 return snprintf(buf, 20, format_string, cast phy->field); \ 789 #define sas_port_show_simple(field, name, format_string, cast) \ argument 796 return snprintf(buf, 20, format_string, cast port->field); \ 1136 #define sas_rphy_show_simple(field, name, format_string, cast) \ argument 1143 return snprintf(buf, 20, format_string, cast rphy->field); \ 1271 #define sas_end_dev_show_simple(field, name, format_string, cast) \ argument 1279 return snprintf(buf, 20, format_string, cast rdev->field); \ 1300 #define sas_expander_show_simple(field, name, format_string, cast) \ argument 1308 return snprintf(buf, 20, format_string, cast edev->field); \
|
/Linux-v4.19/Documentation/networking/ |
D | 6lowpan.txt | 12 To access the LL_PRIV_6LOWPAN_DATA structure you can cast:
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fs_tracepoint.c | 57 #define PRINT_MASKED_VALP(name, cast, p, format) { \ argument 60 (cast)&name.v);\
|
/Linux-v4.19/Documentation/RCU/ |
D | rcu_dereference.txt | 22 In addition, the volatile cast in rcu_dereference() prevents the 32 cast the pointer to uintptr_t in order to: 42 It is important to cast the value back to pointer before 170 pointer. Note that the volatile cast in rcu_dereference() 307 guarantees that RCU depends on. And the volatile cast in rcu_dereference()
|
/Linux-v4.19/scripts/ |
D | Makefile.extrawarn | 46 warning-3 := -Wbad-function-cast
|
D | checkpatch.pl | 5861 my $cast = $1; 5869 $suffix .= 'U' if ($cast =~ /\bunsigned\b/); 5870 if ($cast =~ /\blong\s+long\b/) { 5872 } elsif ($cast =~ /\blong\b/) { 5875 $fixed[$fixlinenr] =~ s/\Q$cast\E$const\b/$newconst$suffix/; 6030 my $cast; 6033 $cast = "$cast1 or $cast2"; 6035 $cast = $cast1; 6037 $cast = $cast2; 6040 "$call() should probably be ${call}_t($cast, $arg1, $arg2)\n" . "$here\n$stat\n");
|
/Linux-v4.19/Documentation/scsi/ |
D | ChangeLog.arcmsr | 22 ** 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
|
D | ChangeLog.lpfc | 258 unneeded cast of kmalloc's return. 727 typed pointer lots of the cast mess can go away, and while at it 1423 * Move dma_addr_t cast inside of getPaddr macro as everywhere 1424 getPaddr is used, the return is cast to dma_addr_t. 1515 * Since everywhere IOCB_ENTRY is used, the return value is cast, 1516 move the cast into the macro.
|
/Linux-v4.19/tools/scripts/ |
D | Makefile.include | 23 EXTRA_WARNINGS := -Wbad-function-cast
|
/Linux-v4.19/lib/raid6/ |
D | altivec.uc | 63 /* vec_cmpgt returns a vector bool char; thus the need for the cast */
|
/Linux-v4.19/arch/arm/nwfpe/ |
D | ChangeLog | 46 as a struct user_fp (see user.h). This pointer was cast to a
|
/Linux-v4.19/Documentation/core-api/ |
D | local_ops.rst | 57 ``atomic_long_t`` inside a structure. This is made so a cast from this type to
|
D | printk-formats.rst | 32 format specifier of its largest possible type and explicitly cast to it.
|
/Linux-v4.19/Documentation/arm/ |
D | vlocks.txt | 18 cast identifies the winner.
|
/Linux-v4.19/Documentation/ |
D | unaligned-memory-access.txt | 104 you do not cast the field to a type of different length).
|