Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ksmbd/
Dsmb_common.c103 int offt = ARRAY_SIZE(smb1_protos) - 1; in ksmbd_lookup_protocol_idx() local
106 while (offt >= 0) { in ksmbd_lookup_protocol_idx()
107 if (!strncmp(str, smb1_protos[offt].prot, len)) { in ksmbd_lookup_protocol_idx()
109 smb1_protos[offt].prot, offt); in ksmbd_lookup_protocol_idx()
110 return smb1_protos[offt].index; in ksmbd_lookup_protocol_idx()
112 offt--; in ksmbd_lookup_protocol_idx()
115 offt = ARRAY_SIZE(smb2_protos) - 1; in ksmbd_lookup_protocol_idx()
116 while (offt >= 0) { in ksmbd_lookup_protocol_idx()
117 if (!strncmp(str, smb2_protos[offt].prot, len)) { in ksmbd_lookup_protocol_idx()
119 smb2_protos[offt].prot, offt); in ksmbd_lookup_protocol_idx()
[all …]
/linux-6.1.9/arch/mips/loongson64/
Dreset.c92 int offt; in loongson_kexec_prepare() local
100 offt = (int)(ptr - str + 1); in loongson_kexec_prepare()
101 argv[argc] = KEXEC_ARGV_ADDR + KEXEC_ARGV_SIZE/2 + offt; in loongson_kexec_prepare()
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-ingenic.c3576 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in ingenic_config_pin() local
3580 regmap_write(jzpc->map, offt * jzpc->info->reg_offset + in ingenic_config_pin()
3583 regmap_set_bits(jzpc->map, offt * jzpc->info->reg_offset + in ingenic_config_pin()
3587 regmap_write(jzpc->map, offt * jzpc->info->reg_offset + in ingenic_config_pin()
3590 regmap_clear_bits(jzpc->map, offt * jzpc->info->reg_offset + in ingenic_config_pin()
3620 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in jz4730_config_pin_function() local
3623 regmap_update_bits(jzpc->map, offt * jzpc->info->reg_offset + reg, in jz4730_config_pin_function()
3631 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in ingenic_get_pin_config() local
3634 regmap_read(jzpc->map, offt * jzpc->info->reg_offset + reg, &val); in ingenic_get_pin_config()
3719 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in ingenic_pinmux_set_pin_fn() local
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/net/ipv4/
Daf_inet.c1678 unsigned long snmp_fold_field(void __percpu *mib, int offt) in snmp_fold_field() argument
1684 res += snmp_get_cpu_field(mib, i, offt); in snmp_fold_field()
1691 u64 snmp_get_cpu_field64(void __percpu *mib, int cpu, int offt, in snmp_get_cpu_field64() argument
1703 v = *(((u64 *)bhptr) + offt); in snmp_get_cpu_field64()
1710 u64 snmp_fold_field64(void __percpu *mib, int offt, size_t syncp_offset) in snmp_fold_field64() argument
1716 res += snmp_get_cpu_field64(mib, cpu, offt, syncp_offset); in snmp_fold_field64()
/linux-6.1.9/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()