Home
last modified time | relevance | path

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

/linux-6.6.21/fs/smb/server/
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.6.21/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.6.21/drivers/pinctrl/
Dpinctrl-ingenic.c3578 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in ingenic_config_pin() local
3582 regmap_write(jzpc->map, offt * jzpc->info->reg_offset + in ingenic_config_pin()
3585 regmap_set_bits(jzpc->map, offt * jzpc->info->reg_offset + in ingenic_config_pin()
3589 regmap_write(jzpc->map, offt * jzpc->info->reg_offset + in ingenic_config_pin()
3592 regmap_clear_bits(jzpc->map, offt * jzpc->info->reg_offset + in ingenic_config_pin()
3622 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in jz4730_config_pin_function() local
3625 regmap_update_bits(jzpc->map, offt * jzpc->info->reg_offset + reg, in jz4730_config_pin_function()
3633 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in ingenic_get_pin_config() local
3636 regmap_read(jzpc->map, offt * jzpc->info->reg_offset + reg, &val); in ingenic_get_pin_config()
3721 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in ingenic_pinmux_set_pin_fn() local
[all …]
/linux-6.6.21/include/net/
Dip.h305 static inline u64 snmp_get_cpu_field(void __percpu *mib, int cpu, int offt) in snmp_get_cpu_field() argument
307 return *(((unsigned long *)per_cpu_ptr(mib, cpu)) + offt); in snmp_get_cpu_field()
310 unsigned long snmp_fold_field(void __percpu *mib, int offt);
314 u64 snmp_fold_field64(void __percpu *mib, int offt, size_t sync_off);
323 static inline u64 snmp_fold_field64(void __percpu *mib, int offt, size_t syncp_off) in snmp_fold_field64() argument
325 return snmp_fold_field(mib, offt); in snmp_fold_field64()
/linux-6.6.21/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.6.21/net/ipv4/
Daf_inet.c1703 unsigned long snmp_fold_field(void __percpu *mib, int offt) in snmp_fold_field() argument
1709 res += snmp_get_cpu_field(mib, i, offt); in snmp_fold_field()
1716 u64 snmp_get_cpu_field64(void __percpu *mib, int cpu, int offt, in snmp_get_cpu_field64() argument
1728 v = *(((u64 *)bhptr) + offt); in snmp_get_cpu_field64()
1735 u64 snmp_fold_field64(void __percpu *mib, int offt, size_t syncp_offset) in snmp_fold_field64() argument
1741 res += snmp_get_cpu_field64(mib, cpu, offt, syncp_offset); in snmp_fold_field64()
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1630 int len, t_len, offt; in bnxt_qplib_put_inline() local
1651 offt = 0; in bnxt_qplib_put_inline()
1655 (sizeof(struct sq_sge) - offt)); in bnxt_qplib_put_inline()
1660 offt += cplen; in bnxt_qplib_put_inline()