Lines Matching refs:offset
67 unsigned long offset; member
75 int offset = optname - RDS_INFO_FIRST; in rds_info_register_func() local
80 BUG_ON(rds_info_funcs[offset]); in rds_info_register_func()
81 rds_info_funcs[offset] = func; in rds_info_register_func()
88 int offset = optname - RDS_INFO_FIRST; in rds_info_deregister_func() local
93 BUG_ON(rds_info_funcs[offset] != func); in rds_info_deregister_func()
94 rds_info_funcs[offset] = NULL; in rds_info_deregister_func()
124 this = min(bytes, PAGE_SIZE - iter->offset); in rds_info_copy()
128 iter->offset, this, data, bytes); in rds_info_copy()
130 memcpy(iter->addr + iter->offset, data, this); in rds_info_copy()
134 iter->offset += this; in rds_info_copy()
136 if (iter->offset == PAGE_SIZE) { in rds_info_copy()
139 iter->offset = 0; in rds_info_copy()
217 iter.offset = start & (PAGE_SIZE - 1); in rds_info_getsockopt()