Home
last modified time | relevance | path

Searched refs:_s (Results 1 – 25 of 62) sorted by relevance

123

/linux/fs/bcachefs/
H A Dvstructs.h11 #define __vstruct_u64s(_s) \ argument
13 ( type_is((_s)->u64s, u64) ? le64_to_cpu((__force __le64) (_s)->u64s) \
14 : type_is((_s)->u64s, u32) ? le32_to_cpu((__force __le32) (_s)->u64s) \
15 : type_is((_s)->u64s, u16) ? le16_to_cpu((__force __le16) (_s)->u64s) \
16 : ((__force u8) ((_s)->u64s))); \
26 #define vstruct_bytes(_s) \ argument
27 __vstruct_bytes(typeof(*(_s)), __vstruct_u64s(_s))
33 #define vstruct_blocks(_s, _sector_block_bits) \ argument
34 __vstruct_blocks(typeof(*(_s)), _sector_block_bits, __vstruct_u64s(_s))
36 #define vstruct_blocks_plus(_s, _sector_block_bits, _u64s) \ argument
[all …]
/linux/include/math-emu/
H A Dop-common.h28 _FP_I_TYPE X##_c=0, X##_s=0, X##_e=0; \
113 if (!X##_s) X##_c = FP_CLS_INF; \
116 if (X##_s) X##_c = FP_CLS_INF; \
198 X##_s = _FP_NANSIGN_##fs; \
261 if (X##_s == Y##_s) \
263 R##_s = X##_s; \
273 R##_s = X##_s; \
279 R##_s |= Y##_s; \
281 R##_s &= Y##_s; \
289 R##_s = Y##_s; \
[all …]
H A Dop-8.h83 _FP_W_TYPE _s; \
87 for (_s = _i = 0; _i < _skip; ++_i) \
88 _s |= X##_f[_i]; \
89 _s |= X##_f[_i] << _up; \
104 X##_f[0] |= (_s != 0); \
H A Dop-1.h81 X##_s = _flo.bits.sign; \
91 X##_s = _flo->bits.sign; \
104 _flo.bits.sign = X##_s; \
116 _flo->bits.sign = X##_s; \
H A Dsoft-fp.h145 if (!X##_s && (_FP_FRAC_LOW_##wc(X) & 7)) \
151 if (X##_s && (_FP_FRAC_LOW_##wc(X) & 7)) \
/linux/drivers/clk/samsung/
H A Dclk-pll.h48 #define PLL_RATE(_fin, _m, _p, _s, _k, _ks) \ argument
49 ((u64)(_fin) * (BIT(_ks) * (_m) + (_k)) / BIT(_ks) / ((_p) << (_s)))
50 #define PLL_VALID_RATE(_fin, _fout, _m, _p, _s, _k, _ks) ((_fout) + \ argument
51 BUILD_BUG_ON_ZERO(PLL_RATE(_fin, _m, _p, _s, _k, _ks) != (_fout)))
53 #define PLL_35XX_RATE(_fin, _rate, _m, _p, _s) \ argument
56 _m, _p, _s, 0, 16), \
59 .sdiv = (_s), \
62 #define PLL_36XX_RATE(_fin, _rate, _m, _p, _s, _k) \ argument
65 _m, _p, _s, _k, 16), \
68 .sdiv = (_s), \
[all …]
/linux/include/xen/interface/io/
H A Dring.h45 #define __CONST_RING_SIZE(_s, _sz) \ argument
46 (__RD32(((_sz) - offsetof(struct _s##_sring, ring)) / \
47 sizeof(((struct _s##_sring *)0)->ring[0])))
51 #define __RING_SIZE(_s, _sz) \ argument
52 (__RD32(((_sz) - (long)(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0])))
133 #define SHARED_RING_INIT(_s) do { \ argument
134 (_s)->req_prod = (_s)->rsp_prod = 0; \
135 (_s)->req_event = (_s)->rsp_event = 1; \
136 (void)memset((_s)->__pad, 0, sizeof((_s)->__pad)); \
139 #define FRONT_RING_ATTACH(_r, _s, _i, __size) do { \ argument
[all …]
/linux/net/mac80211/
H A Dairtime.c115 #define __MCS_GROUP(_streams, _sgi, _ht40, _s) \ argument
117 .shift = _s, \
119 MCS_DURATION_S(_s, _streams, _sgi, _ht40 ? 54 : 26), \
120 MCS_DURATION_S(_s, _streams, _sgi, _ht40 ? 108 : 52), \
121 MCS_DURATION_S(_s, _streams, _sgi, _ht40 ? 162 : 78), \
122 MCS_DURATION_S(_s, _streams, _sgi, _ht40 ? 216 : 104), \
123 MCS_DURATION_S(_s, _streams, _sgi, _ht40 ? 324 : 156), \
124 MCS_DURATION_S(_s, _streams, _sgi, _ht40 ? 432 : 208), \
125 MCS_DURATION_S(_s, _streams, _sgi, _ht40 ? 486 : 234), \
126 MCS_DURATION_S(_s, _streams, _sgi, _ht40 ? 540 : 260) \
[all …]
H A Drc80211_minstrel_ht.c58 #define __MCS_GROUP(_streams, _sgi, _ht40, _s) \ argument
61 .shift = _s, \
68 MCS_DURATION(_streams, _sgi, _ht40 ? 54 : 26) >> _s, \
69 MCS_DURATION(_streams, _sgi, _ht40 ? 108 : 52) >> _s, \
70 MCS_DURATION(_streams, _sgi, _ht40 ? 162 : 78) >> _s, \
71 MCS_DURATION(_streams, _sgi, _ht40 ? 216 : 104) >> _s, \
72 MCS_DURATION(_streams, _sgi, _ht40 ? 324 : 156) >> _s, \
73 MCS_DURATION(_streams, _sgi, _ht40 ? 432 : 208) >> _s, \
74 MCS_DURATION(_streams, _sgi, _ht40 ? 486 : 234) >> _s, \
75 MCS_DURATION(_streams, _sgi, _ht40 ? 540 : 260) >> _s \
[all …]
/linux/drivers/scsi/qla2xxx/
H A Dqla_edif.h135 #define EDIF_SESSION_DOWN(_s) \ argument
136 (qla_ini_mode_enabled(_s->vha) && (_s->disc_state == DSC_DELETE_PEND || \
137 _s->disc_state == DSC_DELETED || \
138 !_s->edif.app_sess_online))
144 #define EDIF_SESS_DELETE(_s) \ argument
145 (qla_ini_mode_enabled(_s->vha) && (_s->disc_state == DSC_DELETE_PEND || \
146 _s->disc_state == DSC_DELETED))
/linux/fs/ocfs2/cluster/
H A Dnetdebug.c262 # define sc_send_count(_s) ((_s)->sc_send_count) argument
263 # define sc_recv_count(_s) ((_s)->sc_recv_count) argument
264 # define sc_tv_acquiry_total_ns(_s) (ktime_to_ns((_s)->sc_tv_acquiry_total)) argument
265 # define sc_tv_send_total_ns(_s) (ktime_to_ns((_s)->sc_tv_send_total)) argument
266 # define sc_tv_status_total_ns(_s) (ktime_to_ns((_s)->sc_tv_status_total)) argument
267 # define sc_tv_process_total_ns(_s) (ktime_to_ns((_s)->sc_tv_process_total)) argument
269 # define sc_send_count(_s) (0U) argument
270 # define sc_recv_count(_s) (0U) argument
271 # define sc_tv_acquiry_total_ns(_s) (0LL) argument
272 # define sc_tv_send_total_ns(_s) (0LL) argument
[all …]
/linux/arch/sparc/include/asm/
H A Dsfp-machine_64.h64 R##_s = X##_s; \
69 R##_s = Y##_s; \
H A Dsfp-machine_32.h66 R##_s = X##_s; \
71 R##_s = Y##_s; \
/linux/arch/sh/include/asm/
H A Dsfp-machine.h58 R##_s = Y##_s; \
63 R##_s = X##_s; \
/linux/include/linux/
H A Dnospec.h58 typeof(size) _s = (size); \
59 unsigned long _mask = array_index_mask_nospec(_i, _s); \
62 BUILD_BUG_ON(sizeof(_s) > sizeof(long)); \
H A Doverflow.h200 typeof(s) _s = s; \
204 is_non_negative(_s) && _s < 8 * sizeof(*d) ? _s : 0; \
206 (_to_shift != _s || is_negative(*_d) || is_negative(_a) || \
/linux/lib/
H A Dref_tracker.c72 struct ostream *_s = (stream); \
74 if (!_s->buf) { \
77 int ret, len = _s->size - _s->used; \
78 ret = snprintf(_s->buf + _s->used, len, pr_fmt(fmt), ##args); \
79 _s->used += min(ret, len); \
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dfirmware.h47 struct nvkm_subdev *_s = (s); \
54 _ver = nvkm_longopt(_s->device->cfgopt, _option, -2); \
66 _ver = nvkm_longopt(_s->device->cfgopt, _option, _fwv); \
/linux/tools/perf/util/
H A Dperf_event_attr_fprintf.c172 #define PRINT_ID(_s, _f) \
174 const char *__s = _s; \
180 #define print_id_unsigned(_s) PRINT_ID(_s, "%"PRIu64) in __p_type_id()
181 #define print_id_hex(_s) PRINT_ID(_s, "%#"PRIx64) in __p_type_id()
167 PRINT_ID(_s,_f) global() argument
175 print_id_unsigned(_s) global() argument
176 print_id_hex(_s) global() argument
/linux/arch/powerpc/include/asm/
H A Dsfp-machine.h149 R##_s = X##_s; \
154 R##_s = Y##_s; \
/linux/arch/alpha/include/asm/
H A Dsfp-machine.h57 R##_s = Y##_s; \
/linux/arch/x86/math-emu/
H A Dfpu_proto.h130 extern int FPU_load_int64(long long __user *_s);
131 extern int FPU_load_int32(long __user *_s, FPU_REG *loaded_data);
132 extern int FPU_load_int16(short __user *_s, FPU_REG *loaded_data);
H A Dreg_ld_str.c210 int FPU_load_int64(long long __user *_s) in FPU_load_int64() argument
217 FPU_access_ok(_s, 8); in FPU_load_int64()
218 if (copy_from_user(&s, _s, 8)) in FPU_load_int64()
240 int FPU_load_int32(long __user *_s, FPU_REG *loaded_data) in FPU_load_int32() argument
246 FPU_access_ok(_s, 4); in FPU_load_int32()
247 FPU_get_user(s, _s); in FPU_load_int32()
269 int FPU_load_int16(short __user *_s, FPU_REG *loaded_data) in FPU_load_int16() argument
274 FPU_access_ok(_s, 2); in FPU_load_int16()
276 FPU_get_user(s, _s); in FPU_load_int16()
/linux/drivers/iio/adc/
H A Dad7793.c615 #define DECLARE_AD7793_CHANNELS(_name, _b, _sb, _s) \ argument
617 AD7793_DIFF_CHANNEL(0, 0, 0, AD7793_CH_AIN1P_AIN1M, (_b), (_sb), (_s)), \
618 AD7793_DIFF_CHANNEL(1, 1, 1, AD7793_CH_AIN2P_AIN2M, (_b), (_sb), (_s)), \
619 AD7793_DIFF_CHANNEL(2, 2, 2, AD7793_CH_AIN3P_AIN3M, (_b), (_sb), (_s)), \
620 AD7793_SHORTED_CHANNEL(3, 0, AD7793_CH_AIN1M_AIN1M, (_b), (_sb), (_s)), \
621 AD7793_TEMP_CHANNEL(4, AD7793_CH_TEMP, (_b), (_sb), (_s)), \
622 AD7793_SUPPLY_CHANNEL(5, 3, AD7793_CH_AVDD_MONITOR, (_b), (_sb), (_s)), \
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dpush.h106 u32 _s = (s), _i = (i?PUSH_##o##_INC); \
107 if (_s--) { \
109 while (_s--) { \
118 u32 _s = (s); \
119 PUSH_ASSERT(_p->cur + _s <= _p->seg, "segment overrun"); \
120 PUSH_ASSERT(_p->cur + _s <= _p->end, "pushbuf overrun"); \
121 memcpy(_p->cur, (d), _s << 2); \
122 _p->cur += _s; \

123