• Home
  • Raw
  • Download

Lines Matching refs:grp

949 	struct bufferevent_rate_limit_group *grp)  in bufferevent_rate_limit_group_get_read_limit()  argument
952 LOCK_GROUP(grp); in bufferevent_rate_limit_group_get_read_limit()
953 r = grp->rate_limit.read_limit; in bufferevent_rate_limit_group_get_read_limit()
954 UNLOCK_GROUP(grp); in bufferevent_rate_limit_group_get_read_limit()
962 struct bufferevent_rate_limit_group *grp) in bufferevent_rate_limit_group_get_write_limit() argument
965 LOCK_GROUP(grp); in bufferevent_rate_limit_group_get_write_limit()
966 r = grp->rate_limit.write_limit; in bufferevent_rate_limit_group_get_write_limit()
967 UNLOCK_GROUP(grp); in bufferevent_rate_limit_group_get_write_limit()
1029 struct bufferevent_rate_limit_group *grp, ev_ssize_t decr) in bufferevent_rate_limit_group_decrement_read() argument
1033 LOCK_GROUP(grp); in bufferevent_rate_limit_group_decrement_read()
1034 old_limit = grp->rate_limit.read_limit; in bufferevent_rate_limit_group_decrement_read()
1035 new_limit = (grp->rate_limit.read_limit -= decr); in bufferevent_rate_limit_group_decrement_read()
1038 bev_group_suspend_reading_(grp); in bufferevent_rate_limit_group_decrement_read()
1040 bev_group_unsuspend_reading_(grp); in bufferevent_rate_limit_group_decrement_read()
1043 UNLOCK_GROUP(grp); in bufferevent_rate_limit_group_decrement_read()
1049 struct bufferevent_rate_limit_group *grp, ev_ssize_t decr) in bufferevent_rate_limit_group_decrement_write() argument
1053 LOCK_GROUP(grp); in bufferevent_rate_limit_group_decrement_write()
1054 old_limit = grp->rate_limit.write_limit; in bufferevent_rate_limit_group_decrement_write()
1055 new_limit = (grp->rate_limit.write_limit -= decr); in bufferevent_rate_limit_group_decrement_write()
1058 bev_group_suspend_writing_(grp); in bufferevent_rate_limit_group_decrement_write()
1060 bev_group_unsuspend_writing_(grp); in bufferevent_rate_limit_group_decrement_write()
1063 UNLOCK_GROUP(grp); in bufferevent_rate_limit_group_decrement_write()
1068 bufferevent_rate_limit_group_get_totals(struct bufferevent_rate_limit_group *grp, in bufferevent_rate_limit_group_get_totals() argument
1071 EVUTIL_ASSERT(grp != NULL); in bufferevent_rate_limit_group_get_totals()
1073 *total_read_out = grp->total_read; in bufferevent_rate_limit_group_get_totals()
1075 *total_written_out = grp->total_written; in bufferevent_rate_limit_group_get_totals()
1079 bufferevent_rate_limit_group_reset_totals(struct bufferevent_rate_limit_group *grp) in bufferevent_rate_limit_group_reset_totals() argument
1081 grp->total_read = grp->total_written = 0; in bufferevent_rate_limit_group_reset_totals()