Home
last modified time | relevance | path

Searched refs:offt (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/fs/ksmbd/
Dsmb_common.c101 int offt = ARRAY_SIZE(smb1_protos) - 1; in ksmbd_lookup_protocol_idx() local
104 while (offt >= 0) { in ksmbd_lookup_protocol_idx()
105 if (!strncmp(str, smb1_protos[offt].prot, len)) { in ksmbd_lookup_protocol_idx()
107 smb1_protos[offt].prot, offt); in ksmbd_lookup_protocol_idx()
108 return smb1_protos[offt].index; in ksmbd_lookup_protocol_idx()
110 offt--; in ksmbd_lookup_protocol_idx()
113 offt = ARRAY_SIZE(smb2_protos) - 1; in ksmbd_lookup_protocol_idx()
114 while (offt >= 0) { in ksmbd_lookup_protocol_idx()
115 if (!strncmp(str, smb2_protos[offt].prot, len)) { in ksmbd_lookup_protocol_idx()
117 smb2_protos[offt].prot, offt); in ksmbd_lookup_protocol_idx()
[all …]
/linux-5.19.10/arch/mips/loongson64/
Dreset.c91 int offt; in loongson_kexec_prepare() local
99 offt = (int)(ptr - str + 1); in loongson_kexec_prepare()
100 argv[argc] = KEXEC_ARGV_ADDR + KEXEC_ARGV_SIZE/2 + offt; in loongson_kexec_prepare()
/linux-5.19.10/drivers/pinctrl/
Dpinctrl-ingenic.c3571 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in ingenic_config_pin() local
3575 regmap_write(jzpc->map, offt * jzpc->info->reg_offset + in ingenic_config_pin()
3578 regmap_set_bits(jzpc->map, offt * jzpc->info->reg_offset + in ingenic_config_pin()
3582 regmap_write(jzpc->map, offt * jzpc->info->reg_offset + in ingenic_config_pin()
3585 regmap_clear_bits(jzpc->map, offt * jzpc->info->reg_offset + in ingenic_config_pin()
3615 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in jz4730_config_pin_function() local
3618 regmap_update_bits(jzpc->map, offt * jzpc->info->reg_offset + reg, in jz4730_config_pin_function()
3626 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in ingenic_get_pin_config() local
3629 regmap_read(jzpc->map, offt * jzpc->info->reg_offset + reg, &val); in ingenic_get_pin_config()
3691 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in ingenic_pinmux_set_pin_fn() local
[all …]
/linux-5.19.10/include/net/
Dip.h296 static inline u64 snmp_get_cpu_field(void __percpu *mib, int cpu, int offt) in snmp_get_cpu_field() argument
298 return *(((unsigned long *)per_cpu_ptr(mib, cpu)) + offt); in snmp_get_cpu_field()
301 unsigned long snmp_fold_field(void __percpu *mib, int offt);
305 u64 snmp_fold_field64(void __percpu *mib, int offt, size_t sync_off);
314 static inline u64 snmp_fold_field64(void __percpu *mib, int offt, size_t syncp_off) in snmp_fold_field64() argument
316 return snmp_fold_field(mib, offt); in snmp_fold_field64()
/linux-5.19.10/arch/mips/cavium-octeon/
Dsetup.c169 int argc = 0, offt; in octeon_kexec_prepare() local
175 offt = (int)(ptr - str + 1); in octeon_kexec_prepare()
177 image->segment[i].mem + offt; in octeon_kexec_prepare()
/linux-5.19.10/net/ipv4/
Daf_inet.c1662 unsigned long snmp_fold_field(void __percpu *mib, int offt) in snmp_fold_field() argument
1668 res += snmp_get_cpu_field(mib, i, offt); in snmp_fold_field()
1675 u64 snmp_get_cpu_field64(void __percpu *mib, int cpu, int offt, in snmp_get_cpu_field64() argument
1687 v = *(((u64 *)bhptr) + offt); in snmp_get_cpu_field64()
1694 u64 snmp_fold_field64(void __percpu *mib, int offt, size_t syncp_offset) in snmp_fold_field64() argument
1700 res += snmp_get_cpu_field64(mib, cpu, offt, syncp_offset); in snmp_fold_field64()
/linux-5.19.10/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1590 int len, t_len, offt; in bnxt_qplib_put_inline() local
1611 offt = 0; in bnxt_qplib_put_inline()
1615 (sizeof(struct sq_sge) - offt)); in bnxt_qplib_put_inline()
1620 offt += cplen; in bnxt_qplib_put_inline()