Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 88) sorted by relevance

1234

/include/linux/
Dmii.h117 u32 result = 0; in ethtool_adv_to_mii_adv_t() local
120 result |= ADVERTISE_10HALF; in ethtool_adv_to_mii_adv_t()
122 result |= ADVERTISE_10FULL; in ethtool_adv_to_mii_adv_t()
124 result |= ADVERTISE_100HALF; in ethtool_adv_to_mii_adv_t()
126 result |= ADVERTISE_100FULL; in ethtool_adv_to_mii_adv_t()
128 result |= ADVERTISE_PAUSE_CAP; in ethtool_adv_to_mii_adv_t()
130 result |= ADVERTISE_PAUSE_ASYM; in ethtool_adv_to_mii_adv_t()
132 return result; in ethtool_adv_to_mii_adv_t()
145 u32 result = 0; in linkmode_adv_to_mii_adv_t() local
148 result |= ADVERTISE_10HALF; in linkmode_adv_to_mii_adv_t()
[all …]
Dadfs_fs.h14 unsigned int result = 0; in adfs_checkbblk() local
18 result = (result & 0xff) + (result >> 8); in adfs_checkbblk()
19 result = result + *--p; in adfs_checkbblk()
22 return (result & 0xff) != ptr[511]; in adfs_checkbblk()
Dcompaction.h109 static inline bool compaction_made_progress(enum compact_result result) in compaction_made_progress() argument
116 if (result == COMPACT_SUCCESS) in compaction_made_progress()
123 static inline bool compaction_failed(enum compact_result result) in compaction_failed() argument
126 if (result == COMPACT_COMPLETE) in compaction_failed()
133 static inline bool compaction_needs_reclaim(enum compact_result result) in compaction_needs_reclaim() argument
139 if (result == COMPACT_SKIPPED) in compaction_needs_reclaim()
150 static inline bool compaction_withdrawn(enum compact_result result) in compaction_withdrawn() argument
159 if (result == COMPACT_DEFERRED) in compaction_withdrawn()
166 if (result == COMPACT_CONTENDED) in compaction_withdrawn()
173 if (result == COMPACT_PARTIAL_SKIPPED) in compaction_withdrawn()
[all …]
Dparser.h30 int match_int(substring_t *, int *result);
31 int match_u64(substring_t *, u64 *result);
32 int match_octal(substring_t *, int *result);
33 int match_hex(substring_t *, int *result);
Dslub_def.h179 void *result = (unlikely(object > last_object)) ? last_object : object; in nearest_obj() local
181 result = fixup_red_left(cache, result); in nearest_obj()
182 return result; in nearest_obj()
Dbsg-lib.h55 int result; member
65 void bsg_job_done(struct bsg_job *job, int result,
Dmdio.h283 u32 result = 0; in linkmode_adv_to_mii_10gbt_adv_t() local
287 result |= MDIO_AN_10GBT_CTRL_ADV2_5G; in linkmode_adv_to_mii_10gbt_adv_t()
290 result |= MDIO_AN_10GBT_CTRL_ADV5G; in linkmode_adv_to_mii_10gbt_adv_t()
293 result |= MDIO_AN_10GBT_CTRL_ADV10G; in linkmode_adv_to_mii_10gbt_adv_t()
295 return result; in linkmode_adv_to_mii_10gbt_adv_t()
/include/scsi/
Dscsi.h210 #define status_byte(result) (((result) >> 1) & 0x7f) argument
211 #define msg_byte(result) (((result) >> 8) & 0xff) argument
212 #define host_byte(result) (((result) >> 16) & 0xff) argument
213 #define driver_byte(result) (((result) >> 24) & 0xff) argument
Dscsi_dbg.h68 scsi_mlreturn_string(int result) in scsi_mlreturn_string() argument
74 scsi_hostbyte_string(int result) in scsi_hostbyte_string() argument
80 scsi_driverbyte_string(int result) in scsi_driverbyte_string() argument
Dscsi_cmnd.h139 int result; /* Status code from lower level driver */ member
312 cmd->result = (cmd->result & 0xffff00ff) | (status << 8); in set_msg_byte()
317 cmd->result = (cmd->result & 0xff00ffff) | (status << 16); in set_host_byte()
322 cmd->result = (cmd->result & 0x00ffffff) | (status << 24); in set_driver_byte()
Dscsi_bsg_iscsi.h85 uint32_t result; member
Dscsi_request.h13 int result; member
/include/trace/events/
Dscsi.h107 #define scsi_hostbyte_name(result) { result, #result } argument
127 #define scsi_driverbyte_name(result) { result, #result } argument
140 #define scsi_msgbyte_name(result) { result, #result } argument
171 #define scsi_statusbyte_name(result) { result, #result } argument
186 #define scsi_prot_op_name(result) { result, #result } argument
298 __field( int, result )
312 __entry->result = cmd->result;
330 show_driverbyte_name(((__entry->result) >> 24) & 0xff),
331 show_hostbyte_name(((__entry->result) >> 16) & 0xff),
332 show_msgbyte_name(((__entry->result) >> 8) & 0xff),
[all …]
Dsignal.h53 int group, int result),
55 TP_ARGS(sig, info, task, group, result),
64 __field( int, result )
73 __entry->result = result;
79 __entry->result)
Dfs_dax.h12 pgoff_t max_pgoff, int result),
13 TP_ARGS(inode, vmf, max_pgoff, result),
24 __field(int, result)
36 __entry->result = result;
50 __print_flags(__entry->result, "|", VM_FAULT_RESULT_TRACE)
57 pgoff_t max_pgoff, int result), \
58 TP_ARGS(inode, vmf, max_pgoff, result))
154 TP_PROTO(struct inode *inode, struct vm_fault *vmf, int result),
155 TP_ARGS(inode, vmf, result),
163 __field(int, result)
[all …]
Doom.h159 enum compact_result result,
164 TP_ARGS(order, priority, result, retries, max_retries, ret),
169 __field( int, result)
178 __entry->result = compact_result_to_feedback(result);
187 __print_symbolic(__entry->result, COMPACTION_FEEDBACK),
Drpcgss.h268 int result
271 TP_ARGS(uid, result),
275 __field(int, result)
281 __entry->result = result;
284 TP_printk("for uid %u, result=%d", __entry->uid, __entry->result)
/include/drm/
Ddrm_fixed.h111 s64 result; in drm_fixp_mul() local
120 result = a * b; in drm_fixp_mul()
123 return result << (shift - DRM_FIXED_POINT); in drm_fixp_mul()
126 return result >> (DRM_FIXED_POINT - shift); in drm_fixp_mul()
128 return result; in drm_fixp_mul()
134 s64 result; in drm_fixp_div() local
141 result = div64_s64(a, b); in drm_fixp_div()
144 return result >> (shift - DRM_FIXED_POINT); in drm_fixp_div()
146 return result; in drm_fixp_div()
/include/linux/mfd/
Dsi476x-core.h188 u16 result; in hz_to_si476x() local
193 result = freq / 10000; in hz_to_si476x()
196 result = freq / 1000; in hz_to_si476x()
200 return result; in hz_to_si476x()
205 int result; in si476x_to_hz() local
210 result = freq * 10000; in si476x_to_hz()
213 result = freq * 1000; in si476x_to_hz()
217 return result; in si476x_to_hz()
/include/media/i2c/
Dsaa6588.h19 int result; member
/include/uapi/linux/
Dnvme_ioctl.h45 __u32 result; member
67 __u64 result; member
Datm_tcp.h41 int result; /* to kernel only */ member
Dkd.h121 unsigned char diacr, base, result; member
131 unsigned int diacr, base, result; member
/include/linux/crush/
Dmapper.h16 int ruleno, int x, int *result, int result_max,
/include/soc/fsl/
Dqman.h819 u8 result; member
1086 int qman_alloc_fqid_range(u32 *result, u32 count);
1087 #define qman_alloc_fqid(result) qman_alloc_fqid_range(result, 1) argument
1114 int qman_alloc_pool_range(u32 *result, u32 count);
1115 #define qman_alloc_pool(result) qman_alloc_pool_range(result, 1) argument
1167 int qman_query_cgr_congested(struct qman_cgr *cgr, bool *result);
1176 int qman_alloc_cgrid_range(u32 *result, u32 count);
1177 #define qman_alloc_cgrid(result) qman_alloc_cgrid_range(result, 1) argument

1234